Author: duncan
Date: Mon Dec 25 20:03:44 2006
New Revision: 8798
Modified:
branches/rel-1-6/freevo/ChangeLog
branches/rel-1-6/freevo/src/tv/plugins/manual_record.py
Log:
[ 1621615 ] Time error on "Manual Record"
Patch from Frank Naude applied
Modified: branches/rel-1-6/freevo/ChangeLog
==============================================================================
--- branches/rel-1-6/freevo/ChangeLog (original)
+++ branches/rel-1-6/freevo/ChangeLog Mon Dec 25 20:03:44 2006
@@ -14,6 +14,7 @@
== Release 1.6.3 (200?-??-??) ==
--------------------------------
+ * Fixed manual record when month is December (B#1621615)
* Fixed shopping cart for items with two or more subitems (B#1620425)
* Fixed video thumbnails not being shown with subitems (B#1620452)
Modified: branches/rel-1-6/freevo/src/tv/plugins/manual_record.py
==============================================================================
--- branches/rel-1-6/freevo/src/tv/plugins/manual_record.py (original)
+++ branches/rel-1-6/freevo/src/tv/plugins/manual_record.py Mon Dec 25
20:03:44 2006
@@ -157,8 +157,9 @@
iter=1
while iter < 13:
- items.append(menu.MenuItem(self.months[(iter + self.starttime[1] -
1) % 12 - 1], action=self.alter_prop,
- arg=('startmonth', (self.months[(iter +
self.starttime[1] - 1) % 12 - 1], (iter + self.starttime[1] - 1) % 12))))
+ month_name = self.months[(iter + self.starttime[1] - 1) % 12 - 1];
+ month_num = self.months.index(month_name) + 1;
+ items.append(menu.MenuItem(month_name, action=self.alter_prop,
arg=('startmonth', (month_name, month_num))))
iter = iter + 1
manualrecord_menu = menu.Menu(_('Modify Day'), items,
-------------------------------------------------------------------------
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-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog