Author: rshortt
Date: Tue Mar 14 13:08:54 2006
New Revision: 1288

Modified:
   trunk/WIP/epg2/src/client.py

Log:
Add db_id to program object.  We may not need this (I hope we don't) but until
I figure that out, here it is.


Modified: trunk/WIP/epg2/src/client.py
==============================================================================
--- trunk/WIP/epg2/src/client.py        (original)
+++ trunk/WIP/epg2/src/client.py        Tue Mar 14 13:08:54 2006
@@ -62,13 +62,14 @@
 
 
     def _program_rows_to_objects(self, query_data):
-        cols = "parent_id", "start", "stop", "title", "desc"#, "ratings"
+        cols = "parent_id", "start", "stop", "title", "desc", "id"#, "ratings"
         results = []
         for row in db.iter_raw_data(query_data, cols):
             if row[0] not in self._channels_by_db_id:
                 continue
             channel = self._channels_by_db_id[row[0]]
             program = Program(channel, row[1], row[2], row[3], row[4])
+            program.db_id = row[5]
             results.append(program)
         return results
 


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