Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv22015
Modified Files:
tvtime.py
Log Message:
Added OSD toggle; uses the standard 'display' button on the remote; also
removed the stuff that is being done by tvtime internally now.
Index: tvtime.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/tvtime.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tvtime.py 9 Jun 2003 17:04:28 -0000 1.7
--- tvtime.py 11 Jun 2003 05:04:31 -0000 1.8
***************
*** 10,13 ****
--- 10,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.8 2003/06/11 05:04:31 outlyer
+ # Added OSD toggle; uses the standard 'display' button on the remote; also
+ # removed the stuff that is being done by tvtime internally now.
+ #
# Revision 1.7 2003/06/09 17:04:28 outlyer
# Looks I did in fact break x11 output, but it was only for a few seconds,
***************
*** 306,331 ****
new_channel = self.TunerGetChannel()
self.thread.app.setchannel(new_channel)
-
- # Display a channel changed message
- # XXX Experimental, disabled for now
- #tuner_id, chan_name, prog_info = self.TunerGetChannelInfo()
- #now = time.strftime('%H:%M')
- #msg = '%s %s (%s): %s' % (now, chan_name, tuner_id, prog_info)
- #cmd = 'show_osd_msg "%s" 4000\n' % msg
- #self.thread.app.write(cmd)
return TRUE
elif event == em.TOGGLE_OSD:
! return FALSE
- # Display the channel info message
- # XXX Experimental, disabled for now
- tuner_id, chan_name, prog_info = self.TunerGetChannelInfo()
- now = time.strftime('%H:%M')
- msg = '%s %s (%s): %s' % (now, chan_name, tuner_id, prog_info)
- cmd = 'show_osd_msg "%s" 4000\n' % msg
- print 'msg = "%s" %s chars' % (msg, len(msg))
- self.thread.app.write(cmd)
-
return FALSE
--- 310,319 ----
new_channel = self.TunerGetChannel()
self.thread.app.setchannel(new_channel)
return TRUE
elif event == em.TOGGLE_OSD:
! self.thread.app.write('DISPLAY_INFO\n')
! return TRUE
return FALSE
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog