Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv24535
Modified Files: epg_xmltv.py Log Message: Remove rating for now. System is optional, need code to store ratings in tuple Index: epg_xmltv.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/tv/epg_xmltv.py,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** epg_xmltv.py 6 Sep 2003 11:19:45 -0000 1.32 --- epg_xmltv.py 7 Sep 2003 13:03:12 -0000 1.33 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.33 2003/09/07 13:03:12 mikeruelle + # Remove rating for now. System is optional, need code to store ratings in tuple + # # Revision 1.32 2003/09/06 11:19:45 dischi # o use str.encode() with 'replace' and not our own function *************** *** 319,328 **** prog.channel_id = p['channel'].encode('Latin-1', 'replace') prog.title = p['title'][0][0].encode('Latin-1', 'replace') - if p.has_key('rating'): - try: - for darating in p['rating']: - prog.ratings[darating['system'].encode('Latin-1', 'replace')] = darating['value'].encode('Latin-1', 'replace') - except KeyError: - pass if p.has_key('category'): prog.categories = [ cat[0].encode('Latin-1', 'replace') for cat in p['category'] ] --- 322,325 ---- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog