Bugs item #1563359, was opened at 2006-09-22 10:07 Message generated for change (Comment added) made by duncanwebb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1563359&group_id=46652
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: tv Group: 1.5.4 >Status: Pending >Resolution: Works For Me Priority: 5 Submitted By: Duncan Webb (duncanwebb) Assigned to: Nobody/Anonymous (nobody) Summary: Fix for favorite item Initial Comment: Fix for favorites where gmtime(float(fav.mod * 60)) return a very small number. Changing this to gmtime(float(int(fav.mod) * 60)) fixed this. Also changed tabs to spaces. Original posting was: Duncan Webb wrote: 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. Should have said that this failure was after a few calls to the FavoriteItem and the data looked fine, which is what made the error weird. ---------------------------------------------------------------------- >Comment By: Duncan Webb (duncanwebb) Date: 2006-09-22 10:09 Message: Logged In: YES user_id=104395 This needs further testing. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1563359&group_id=46652 ------------------------------------------------------------------------- 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