Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv12037/src/tv
Modified Files:
channels.py epg_xmltv.py
Log Message:
Use a fifth field in TV_CHANNELS to specify an optional VideoGroup
(VIDEO_GROUPS index). Also fix a frequency bug in channels.py.
Index: channels.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/channels.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** channels.py 25 Nov 2003 16:32:33 -0000 1.10
--- channels.py 31 Dec 2003 16:08:08 -0000 1.11
***************
*** 10,13 ****
--- 10,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.11 2003/12/31 16:08:08 rshortt
+ # Use a fifth field in TV_CHANNELS to specify an optional VideoGroup
+ # (VIDEO_GROUPS index). Also fix a frequency bug in channels.py.
+ #
# Revision 1.10 2003/11/25 16:32:33 rshortt
# Make plugin_external_tuner work again.
***************
*** 123,127 ****
if chan_info[2] == chan:
try:
! group = chan_info[3]
except:
# XXX: put a better exception here
--- 127,131 ----
if chan_info[2] == chan:
try:
! group = int(chan_info[4])
except:
# XXX: put a better exception here
***************
*** 161,171 ****
if vg.tuner_type == 'external':
- if vg.input_type == 'tuner' and vg.tuner_chan:
- freq = self.tunerSetFreq(vg.tuner_chan, app, app_cmd)
-
tuner = plugin.getbyname('EXTERNAL_TUNER')
tuner.setChannel(new_chan)
! return freq
else:
--- 165,176 ----
if vg.tuner_type == 'external':
tuner = plugin.getbyname('EXTERNAL_TUNER')
tuner.setChannel(new_chan)
! if vg.input_type == 'tuner' and vg.tuner_chan:
! freq = self.tunerSetFreq(vg.tuner_chan, app, app_cmd)
! return freq
!
! return 0
else:
Index: epg_xmltv.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/epg_xmltv.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** epg_xmltv.py 16 Nov 2003 17:38:48 -0000 1.39
--- epg_xmltv.py 31 Dec 2003 16:08:08 -0000 1.40
***************
*** 10,13 ****
--- 10,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.40 2003/12/31 16:08:08 rshortt
+ # Use a fifth field in TV_CHANNELS to specify an optional VideoGroup
+ # (VIDEO_GROUPS index). Also fix a frequency bug in channels.py.
+ #
# Revision 1.39 2003/11/16 17:38:48 dischi
# i18n patch from David Sagnol
***************
*** 288,293 ****
# Handle the optional time-dependent station info
c.times = []
! if len(data) > 3:
! for (days, start_time, stop_time) in data[3:]:
c.times.append((days, int(start_time), int(stop_time)))
guide.AddChannel(c)
--- 292,297 ----
# Handle the optional time-dependent station info
c.times = []
! if len(data) > 3 and len(data[3:4]) == 3:
! for (days, start_time, stop_time) in data[3:4]:
c.times.append((days, int(start_time), int(stop_time)))
guide.AddChannel(c)
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog