Author: duncan
Date: Mon Mar 19 20:34:58 2007
New Revision: 9362

Modified:
   branches/rel-1/freevo/src/event.py
   branches/rel-1/freevo/src/video/plugins/xine.py

Log:
[ 1683699 ] Add SEND_VIDEO_XINE_CMD event
Patch from Christian Lyra applied


Modified: branches/rel-1/freevo/src/event.py
==============================================================================
--- branches/rel-1/freevo/src/event.py  (original)
+++ branches/rel-1/freevo/src/event.py  Mon Mar 19 20:34:58 2007
@@ -160,6 +160,7 @@
 #
 
 VIDEO_SEND_MPLAYER_CMD = Event('VIDEO_SEND_MPLAYER_CMD')
+VIDEO_SEND_XINE_CMD    = Event('VIDEO_SEND_XINE_CMD')
 VIDEO_MANUAL_SEEK      = Event('VIDEO_MANUAL_SEEK')
 VIDEO_NEXT_AUDIOLANG   = Event('VIDEO_NEXT_AUDIOLANG')
 VIDEO_NEXT_SUBTITLE    = Event('VIDEO_NEXT_SUBTITLE')

Modified: branches/rel-1/freevo/src/video/plugins/xine.py
==============================================================================
--- branches/rel-1/freevo/src/video/plugins/xine.py     (original)
+++ branches/rel-1/freevo/src/video/plugins/xine.py     Mon Mar 19 20:34:58 2007
@@ -240,6 +240,10 @@
             self.app.write('EventPrior\n')
             return True
 
+        if event == VIDEO_SEND_XINE_CMD:
+            self.app.write('%s\n' % event.arg)
+            return True
+
         # DVD NAVIGATION
         if event == DVDNAV_LEFT:
             self.app.write('EventLeft\n')

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to