Author: duncan
Date: Thu Jan 3 16:32:04 2008
New Revision: 10259
Log:
[ 1861772 ] Add OSDWriteText support to tv/plugins/xine.py
Patch from Michael Beal applied
Modified:
branches/rel-1-7/freevo/ChangeLog
branches/rel-1-7/freevo/src/tv/plugins/xine.py
branches/rel-1/freevo/ChangeLog
branches/rel-1/freevo/src/tv/plugins/xine.py
Modified: branches/rel-1-7/freevo/ChangeLog
==============================================================================
--- branches/rel-1-7/freevo/ChangeLog (original)
+++ branches/rel-1-7/freevo/ChangeLog Thu Jan 3 16:32:04 2008
@@ -22,6 +22,7 @@
* Updated recordserver to default watched/keep status (F#1857395)
* Updated shut down to allow single key confirmation (F#1857456)
* Updated web server fileinfo module to display watched/keep status
(F#1857392)
+ * Updated xine tv plug-in to show OSD messages (F#1861772)
* Updated xine video plug-in to show OSD messages (F#1861770)
* Fixed apple trailers plug-in crashing (B#1861463)
* Fixed manual record tv plug-in to work in December (B#1858008)
Modified: branches/rel-1-7/freevo/src/tv/plugins/xine.py
==============================================================================
--- branches/rel-1-7/freevo/src/tv/plugins/xine.py (original)
+++ branches/rel-1-7/freevo/src/tv/plugins/xine.py Thu Jan 3 16:32:04 2008
@@ -114,6 +114,14 @@
config.XINE_ARGS_DEF.split(' ')
+ def ShowMessage(self, msg):
+ """
+ Show a message on the OSD
+ """
+ _debug_("XINE: Show OSD Message: '%s'" % msg)
+ self.app.write("OSDWriteText$ %s\n" % msg)
+
+
def Play(self, mode, tuner_channel=None):
"""
play with xine
@@ -186,5 +194,9 @@
self.app.write('ToggleInterleave\n')
return True
+ if event == OSD_MESSAGE:
+ self.ShowMessage(event.arg)
+ return True
+
# nothing found
return False
Modified: branches/rel-1/freevo/ChangeLog
==============================================================================
--- branches/rel-1/freevo/ChangeLog (original)
+++ branches/rel-1/freevo/ChangeLog Thu Jan 3 16:32:04 2008
@@ -25,6 +25,7 @@
* Updated recordserver to default watched/keep status (F#1857395)
* Updated shut down to allow single key confirmation (F#1857456)
* Updated web server fileinfo module to display watched/keep status
(F#1857392)
+ * Updated xine tv plug-in to show OSD messages (F#1861772)
* Updated xine video plug-in to show OSD messages (F#1861770)
* Fixed apple trailers plug-in crashing (B#1861463)
* Fixed manual record tv plug-in to work in December (B#1858008)
Modified: branches/rel-1/freevo/src/tv/plugins/xine.py
==============================================================================
--- branches/rel-1/freevo/src/tv/plugins/xine.py (original)
+++ branches/rel-1/freevo/src/tv/plugins/xine.py Thu Jan 3 16:32:04 2008
@@ -114,6 +114,14 @@
config.XINE_ARGS_DEF.split(' ')
+ def ShowMessage(self, msg):
+ """
+ Show a message on the OSD
+ """
+ _debug_("XINE: Show OSD Message: '%s'" % msg)
+ self.app.write("OSDWriteText$ %s\n" % msg)
+
+
def Play(self, mode, tuner_channel=None):
"""
play with xine
@@ -186,5 +194,9 @@
self.app.write('ToggleInterleave\n')
return True
+ if event == OSD_MESSAGE:
+ self.ShowMessage(event.arg)
+ return True
+
# nothing found
return False
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog