Author: duncan
Date: Sun May 13 10:18:29 2007
New Revision: 9570
Modified:
branches/rel-1/freevo/ChangeLog
branches/rel-1/freevo/src/util/fxdimdb.py
Log:
[ 1716131 ] Correct Episode number format in imdb plugin
Patch from Christian Lyra applied
Modified: branches/rel-1/freevo/ChangeLog
==============================================================================
--- branches/rel-1/freevo/ChangeLog (original)
+++ branches/rel-1/freevo/ChangeLog Sun May 13 10:18:29 2007
@@ -20,6 +20,7 @@
* Updated mplayer to allow multiple crop points (F#1712397)
* Fixed alsamixer choose mute control (B#1717659)
* Fixed freevused mute mixer event name has changed (B#1717661)
+ * Fixed imdb plug-in to correct episode number format (B#1716131)
* Fixed recordserver failing to record consecutive shows (B#1715260)
* Fixed rss feed not correctly writing the fxd file (B#1710553)
* Fixed weather plug-in for changed URLs (B#1717788,B#1717660)
Modified: branches/rel-1/freevo/src/util/fxdimdb.py
==============================================================================
--- branches/rel-1/freevo/src/util/fxdimdb.py (original)
+++ branches/rel-1/freevo/src/util/fxdimdb.py Sun May 13 10:18:29 2007
@@ -706,8 +706,8 @@
#is this a serie? series pages a little different
if self.newid:
- self.title = self.title + " - %sx%s - %s" % (self.season, \
- self.episode, title.find('em').string.strip() )
+ self.title = self.title + " - %sx%.2d - %s" % (self.season, \
+ int(self.episode), title.find('em').string.strip() )
self.info['title'] = self.title
y = title.find('em').next.next.string.strip()
self.info['year'] = y[1:-1]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog