Update of /cvsroot/freevo/freevo/src/video/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv14957
Modified Files:
bmovl.py
Log Message:
add doc
Index: bmovl.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/bmovl.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bmovl.py 4 Nov 2003 17:53:23 -0000 1.1
--- bmovl.py 4 Nov 2003 17:57:50 -0000 1.2
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.2 2003/11/04 17:57:50 dischi
+ # add doc
+ #
# Revision 1.1 2003/11/04 17:53:23 dischi
# Removed the unstable bmovl part from mplayer.py and made it a plugin.
***************
*** 98,106 ****
--- 101,126 ----
class PluginInterface(plugin.Plugin):
+ """
+ bmovl plugin fro mplayer
+
+ This plugin makes the OSD look much better in mplayer. It uses bmovl to show
+ images from Freevo inside mplayer.
+
+ This plugin is in an early development and may crash mplayer.
+ To activate, you need to create a fifo /tmp/bmovl.
+ """
+
def __init__(self):
+ """
+ normal plugin init, but sets _type to 'mplayer_video'
+ """
plugin.Plugin.__init__(self)
self._type = 'mplayer_video'
+
def play(self, command, player):
+ """
+ called before playing is started to add some stuff to the command line
+ """
self.item = player.item
self.player = player
***************
*** 190,193 ****
--- 210,216 ----
def stop(self):
+ """
+ stop bmovl
+ """
if self.bmovl:
self.bmovl.close()
***************
*** 196,199 ****
--- 219,225 ----
def eventhandler(self, event):
+ """
+ eventhandler to do our own osd toggle
+ """
if event == TOGGLE_OSD and self.bmovl:
if self.osd_visible:
***************
*** 208,211 ****
--- 234,240 ----
def stdout(self, line):
+ """
+ get information from mplayer stdout
+ """
if self.bmovl:
return
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog