Author: rshortt
Date: Wed Mar  8 18:54:19 2006
New Revision: 8060

Modified:
   trunk/WIP/RobShortt/tvserver-epg2/src/server.py

Log:
-Use MISSED constant
-epg2 changes


Modified: trunk/WIP/RobShortt/tvserver-epg2/src/server.py
==============================================================================
--- trunk/WIP/RobShortt/tvserver-epg2/src/server.py     (original)
+++ trunk/WIP/RobShortt/tvserver-epg2/src/server.py     Wed Mar  8 18:54:19 2006
@@ -239,7 +239,7 @@
                     # Oops, we are in 'recording' status and this was saved.
                     # That means we are stopped while recording, set status to
                     # missed
-                    r.status = 'missed'
+                    r.status = MISSED
                 if r.status == SCHEDULED:
                     # everything is a conflict for now
                     r.status = CONFLICT
@@ -434,7 +434,7 @@
         parameter: channel
         """
         for c in self.epg.channels():
-            if c.id == channel:
+            if c.short_name == channel:
                 channel = c
                 break
         else:


-------------------------------------------------------
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

Reply via email to