Update of /cvsroot/freevo/freevo/src/gui/areas
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26861/gui/areas
Modified Files:
tvlisting_area.py
Log Message:
Merged tv/channels into pyepg. It returns now nice channel and program
items. Much cleanup is needed were pyepg is used. I also removed
config.TV_CHANNELLIST, you can use pyepg.channels or pyepg.guide to
access the channel listing / guide
Index: tvlisting_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/areas/tvlisting_area.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** tvlisting_area.py 5 Dec 2004 13:01:10 -0000 1.17
--- tvlisting_area.py 9 Dec 2004 20:26:32 -0000 1.18
***************
*** 41,44 ****
--- 41,45 ----
import copy
import os
+ import pyepg
import time
***************
*** 318,322 ****
# selected program:
selected_prog = menu.selected
! all_channels = config.TV_CHANNELLIST.get_all()
start_channel = all_channels.index(menu.channel) / num_rows * num_rows
--- 319,323 ----
# selected program:
selected_prog = menu.selected
! all_channels = pyepg.channels
start_channel = all_channels.index(menu.channel) / num_rows * num_rows
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog