Hi all there something quite weird with FavouriteItem in is
program_display.py (At least when running on an AMD64). Attached is a
small patch that fixes this problem for me.
It was crashing in the call:
gmtime(float(fav.mod * 60))
for some reason fav.mod was being set to 570 and float(fav.mod * 60)
gave a very small number.
Cheers,
Duncan
--- program_display.py.orig 2005-10-16 11:18:50.000000000 +0200
+++ program_display.py 2005-12-28 21:47:15.000000000 +0100
@@ -245,7 +245,10 @@
if fav.mod == 'ANY':
self.mod = _('ANY TIME')
else:
- self.mod = strftime(config.TV_TIMEFORMAT, gmtime(float(fav.mod *
60)))
+ try:
+ self.mod = strftime(config.TV_TIMEFORMAT,
gmtime(float(int(fav.mod) * 60)))
+ except:
+ print 'Cannot add "%s" to favorites' % fav.name
# needed by the inputbox handler
self.menuw = None