Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv2633
Modified Files:
channels.py
Log Message:
Bugfixes.
Index: channels.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/channels.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** channels.py 24 Nov 2003 04:41:14 -0000 1.7
--- channels.py 24 Nov 2003 17:16:40 -0000 1.8
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.8 2003/11/24 17:16:40 rshortt
+ # Bugfixes.
+ #
# Revision 1.7 2003/11/24 04:41:14 krister
# Commented out a part that crashes the TV viewer plugin. Please fix!
***************
*** 133,137 ****
Using this method will not support custom frequencies.
"""
! self.chanSet(self.getNextChannel(), app, app_cmd)
--- 136,140 ----
Using this method will not support custom frequencies.
"""
! return self.chanSet(self.getNextChannel(), app, app_cmd)
***************
*** 140,144 ****
Using this method will not support custom frequencies.
"""
! self.setChannel(self.getPrevChannel(), app, app_cmd)
--- 143,147 ----
Using this method will not support custom frequencies.
"""
! return self.chanSet(self.getPrevChannel(), app, app_cmd)
***************
*** 202,206 ****
return freq
else:
! # Letf set the freq ourselves using the V4L device.
try:
vd = tv.v4l2.Videodev(vg.vdev)
--- 205,209 ----
return freq
else:
! # Lets set the freq ourselves using the V4L device.
try:
vd = tv.v4l2.Videodev(vg.vdev)
***************
*** 225,229 ****
def getPrevChannel(self):
! return (self.chan_index-1) % len(config.TV_CHANNELS)
--- 228,232 ----
def getPrevChannel(self):
! return config.TV_CHANNELS[(self.chan_index-1) % len(config.TV_CHANNELS)][2]
-------------------------------------------------------
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