Author: duncan
Date: Sun Feb 4 20:33:15 2007
New Revision: 9161
Modified:
branches/rel-1/freevo/src/video/videoitem.py
Log:
The calculation of length is incorrect
Modified: branches/rel-1/freevo/src/video/videoitem.py
==============================================================================
--- branches/rel-1/freevo/src/video/videoitem.py (original)
+++ branches/rel-1/freevo/src/video/videoitem.py Sun Feb 4 20:33:15 2007
@@ -249,14 +249,14 @@
total += length
except ValueError, TypeError:
pass
- total = "%s min" % str(int(total / 60))
+ total = "%s min" % str(int(total) / 60)
else:
if self.info['length']:
total = self.info['length']
elif hasattr(self, 'length'):
total = self.length
- total = "%s min" % str(int(total / 60))
+ total = "%s min" % str(int(total) / 60)
return total
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog