Author: duncan
Date: Sat Oct 14 20:49:21 2006
New Revision: 8373
Modified:
branches/rel-1-5/freevo/src/plugins/upsoon.py
Log:
Commentted out debug statements that crash with non-ascii strings
Modified: branches/rel-1-5/freevo/src/plugins/upsoon.py
==============================================================================
--- branches/rel-1-5/freevo/src/plugins/upsoon.py (original)
+++ branches/rel-1-5/freevo/src/plugins/upsoon.py Sat Oct 14 20:49:21 2006
@@ -29,7 +29,7 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# ----------------------------------------------------------------------- */
+# -----------------------------------------------------------------------
import plugin
@@ -90,7 +90,10 @@
self.serverup = None
self.next_program = self.findNextProgram()
- _debug_('up=%s %s' % (self.serverup, self.next_program), dbglvl)
+ # strange, doesn't work with non-ascii characters
+ #_debug_('%s:%s chan=%s %s->%s' %
(self.next_program.title.encode('utf-8'), \
+ # self.next_program.sub_title.encode('utf-8'),
self.next_program.channel_id, \
+ # time.localtime(self.next_program.start),
time.localtime(self.next_program.stop)), dbglvl+1)
self.fc = FreevoChannels()
self.seconds_before_start = 60
@@ -185,7 +188,7 @@
_debug_('poll(self)', dbglvl+1)
self.next_program = self.findNextProgram()
- _debug_('now=%s next_program=%s ' % (time.strftime('%T',
time.localtime(now)), self.next_program), dbglvl)
+ #_debug_('now=%s next_program=%s ' % (time.strftime('%T',
time.localtime(now)), self.next_program), dbglvl)
if self.next_program == None:
return None
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog