Update of /cvsroot/freevo/freevo/src/video/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv28136
Modified Files: bookmarker.py mplayer.py Log Message: Added onscreen notification of bookmark being added via mplayer's osd_show_text... older versions of mplayer will ignore the command so it should be a non-issue to add this in without checking the version. Index: bookmarker.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/video/plugins/bookmarker.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** bookmarker.py 4 Oct 2003 18:37:29 -0000 1.5 --- bookmarker.py 15 Dec 2003 03:45:29 -0000 1.6 *************** *** 21,24 **** --- 21,29 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.6 2003/12/15 03:45:29 outlyer + # Added onscreen notification of bookmark being added via mplayer's + # osd_show_text... older versions of mplayer will ignore the command so + # it should be a non-issue to add this in without checking the version. + # # Revision 1.5 2003/10/04 18:37:29 dischi # i18n changes and True/False usage *************** *** 66,69 **** --- 71,75 ---- import util import menu + import rc from event import * *************** *** 176,179 **** --- 182,186 ---- handle.write('\n') handle.close() + rc.post_event(Event(OSD_MESSAGE, arg='Added Bookmark')) return True Index: mplayer.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** mplayer.py 10 Dec 2003 19:47:49 -0000 1.50 --- mplayer.py 15 Dec 2003 03:45:29 -0000 1.51 *************** *** 10,13 **** --- 10,18 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.51 2003/12/15 03:45:29 outlyer + # Added onscreen notification of bookmark being added via mplayer's + # osd_show_text... older versions of mplayer will ignore the command so + # it should be a non-issue to add this in without checking the version. + # # Revision 1.50 2003/12/10 19:47:49 dischi # make it possible to bypass version checking *************** *** 398,401 **** --- 403,411 ---- self.app.write('seek %s\n' % event.arg) return True + + if event == OSD_MESSAGE: + self.app.write('osd_show_text "%s"\n' % event.arg); + return TRUE + except: print 'Exception while sending command to mplayer:' ------------------------------------------------------- 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