Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24444/src/www/htdocs
Modified Files:
guide.rpy
Log Message:
Change guide access a bit.
Index: guide.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/guide.rpy,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** guide.rpy 14 Aug 2004 01:23:30 -0000 1.29
--- guide.rpy 14 Aug 2004 01:30:21 -0000 1.30
***************
*** 12,15 ****
--- 12,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.30 2004/08/14 01:30:21 rshortt
+ # Change guide access a bit.
+ #
# Revision 1.29 2004/08/14 01:23:30 rshortt
# Use the chanlist/epg from cache.
***************
*** 104,108 ****
import config
import tv.record_client as ri
! import tv.channels
from twisted.web import static
--- 107,111 ----
import config
import tv.record_client as ri
! from tv.channels import get_channels
from twisted.web import static
***************
*** 202,206 ****
mfrprevguide = 0
- guide = tv.channels.get_channels()
(got_schedule, schedule) = ri.getScheduledRecordings()
if got_schedule:
--- 205,208 ----
***************
*** 220,224 ****
fv.tableRowOpen('class="chanrow"')
fv.tableCell('<form>'+_('Time')+': ' + self.maketimejumpboxday(now) +
self.maketimejumpboxoffset(now) + '<input type=submit value="'+_('View')+'"></form>',
'class="utilhead"')
! categorybox = self.makecategorybox(guide.get_all())
if categorybox:
fv.tableCell('<form
action="genre.rpy">'+_('Show')+' '+_('Category')+': '+categorybox+'<input
type=submit value="'+_('Change')+'"></form>', 'class="utilhead"')
--- 222,226 ----
fv.tableRowOpen('class="chanrow"')
fv.tableCell('<form>'+_('Time')+': ' + self.maketimejumpboxday(now) +
self.maketimejumpboxoffset(now) + '<input type=submit value="'+_('View')+'"></form>',
'class="utilhead"')
! categorybox = self.makecategorybox(get_channels().get_all())
if categorybox:
fv.tableCell('<form
action="genre.rpy">'+_('Show')+' '+_('Category')+': '+categorybox+'<input
type=submit value="'+_('Change')+'"></form>', 'class="utilhead"')
***************
*** 229,233 ****
( n_cols*cpb + 1 ) )
showheader = 0
! for chan in guide.get_all():
chan = chan.epg
#put guidehead every X rows
--- 231,235 ----
( n_cols*cpb + 1 ) )
showheader = 0
! for chan in get_channels().get_all():
chan = chan.epg
#put guidehead every X rows
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog