Pascal Schirrmann wrote: > Duncan Webb a écrit : >> I've just checked in makelogos.py, r9259. >> >> Can you please give it a test, I don't use xmltv any more so it's not so >> easy for me to test it. >> > Hi Duncan, > > Again, many thanks for your work ! > > With your new version, I didn't have any more error messages, but at > first run, I didn't also have logos for my TV channels. > Some digging further, I discovered a subdirectory in /tmp/freevo > (/tmp/freevo/xmltv/logos) who was owned by root. So my freevo user could > not update the icons. > Sadly, I didn't see any error messages about that.
Not surprised when looking at the code, I've applied this patch which should sort out this no message problem. Index: src/helpers/makelogos.py =================================================================== --- src/helpers/makelogos.py (revision 9266) +++ src/helpers/makelogos.py (working copy) @@ -62,6 +62,6 @@ output_file = config.TV_LOGOS + '/' + channel + '.png' try: img.save(output_file) - except IOError: - pass + except IOError, e: + print e > Now, after removing (as root !) the whole /tmp/freevo tree, I started > the makelogos again, and that's great ! Every logos are here. > I really don't like using /tmp for this type of data as it is really not temporary data, so what I do is make a directory /var/lib/freevo and set the following in local_config.py # Overlay data in internal format for CDs, DVDs, images, etc OVERLAY_DIR = '/var/lib/freevo/overlay' # Recording schedule and favourites TV_RECORD_SCHEDULE = '/var/lib/freevo/record_schedule.xml' # TV channel logos directory TV_LOGOS = '/var/lib/freevo/logos' # XMLTV EPG file. XMLTV_FILE = '/var/lib/freevo/TV.xml' Duncan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel