Author: dmeyer
Date: Sat Mar 18 12:28:44 2006
New Revision: 1297
Modified:
trunk/WIP/epg2/src/server.py
Log:
fix name handling
Modified: trunk/WIP/epg2/src/server.py
==============================================================================
--- trunk/WIP/epg2/src/server.py (original)
+++ trunk/WIP/epg2/src/server.py Sat Mar 18 12:28:44 2006
@@ -125,6 +125,7 @@
def update(self, backend, *args, **kwargs):
+ log.error('update')
try:
exec('import source_%s as backend' % backend)
except ImportError:
@@ -152,7 +153,7 @@
self._load()
self.signals["updated"].emit()
self.signals["update_progress"].disconnect(self._update_progress)
- print "\nProcessed in %.02f seconds." %
(time.time()-update_start_time)
+ log.info("Processed in %.02f seconds." %
(time.time()-update_start_time))
def _wipe(self):
@@ -180,7 +181,8 @@
match real channels and EPG data.
"""
- if type(tuner_id) != ListType:
+ log.info('add channel %s %s %s', tuner_id, name, long_name)
+ if type(tuner_id) != ListType and tuner_id:
tuner_id = [ tuner_id ]
# require at least one field
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog