Author: rshortt
Date: Wed Mar  8 16:22:32 2006
New Revision: 1253

Modified:
   trunk/WIP/epg2/src/channel.py
   trunk/WIP/epg2/src/program.py

Log:
Add some missing attributes.


Modified: trunk/WIP/epg2/src/channel.py
==============================================================================
--- trunk/WIP/epg2/src/channel.py       (original)
+++ trunk/WIP/epg2/src/channel.py       Wed Mar  8 16:22:32 2006
@@ -8,6 +8,9 @@
         self.short_name = short_name
         self.long_name  = long_name
 
+        # kludge - remove
+        self.id = short_name
+
         self._epg = weakref.ref(epg)
 
     def get_epg(self):

Modified: trunk/WIP/epg2/src/program.py
==============================================================================
--- trunk/WIP/epg2/src/program.py       (original)
+++ trunk/WIP/epg2/src/program.py       Wed Mar  8 16:22:32 2006
@@ -2,10 +2,12 @@
 from channel import *
 
 class Program(object):
-    def __init__(self, channel, start, stop, title, desc):
+    def __init__(self, channel, start, stop, title, description):
         assert(type(channel) == Channel)
         self.channel = channel
         self.start = start
         self.stop = stop
         self.title = title
-        self.desc = desc
+        self.subtitle = u''
+        self.episode = u''
+        self.description = description


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