Update of /cvsroot/freevo/freevo/src/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2990/src/config

Modified Files:
        channels.py 
Log Message:
use kaa.epg instead of pyepg

Index: channels.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config/channels.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** channels.py 1 Apr 2005 17:56:49 -0000       1.12
--- channels.py 26 Jun 2005 10:52:59 -0000      1.13
***************
*** 34,38 ****
  
  import logging
! import pyepg
  
  import sysconfig
--- 34,38 ----
  
  import logging
! import kaa.epg
  
  import sysconfig
***************
*** 119,126 ****
      log.info('Detecting TV channels.')
  
!     pyepg.connect('sqlite', sysconfig.datafile('epgdb'))
!     pyepg.load(config.TV_CHANNELS, config.TV_CHANNELS_EXCLUDE)
      
!     for c in pyepg.channels:
          c.uri = []
          c.get_uri = get_uri
--- 119,126 ----
      log.info('Detecting TV channels.')
  
!     kaa.epg.connect('sqlite', sysconfig.datafile('epgdb'))
!     kaa.epg.load(config.TV_CHANNELS, config.TV_CHANNELS_EXCLUDE)
      
!     for c in kaa.epg.channels:
          c.uri = []
          c.get_uri = get_uri
***************
*** 145,149 ****
      for card in config.TV_CARDS:
          channels = {}
!         for chan in pyepg.channels:
              for u in chan.uri:
                  if u.find(':') == -1:
--- 145,149 ----
      for card in config.TV_CARDS:
          channels = {}
!         for chan in kaa.epg.channels:
              for u in chan.uri:
                  if u.find(':') == -1:



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to