Update of /cvsroot/freevo/freevo/src/audio
In directory sc8-pr-cvs1:/tmp/cvs-serv15301
Modified Files:
audioitem.py
Log Message:
handling for mp3 files without length information
Index: audioitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/audio/audioitem.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** audioitem.py 4 Jul 2003 16:11:02 -0000 1.30
--- audioitem.py 19 Jul 2003 19:40:47 -0000 1.31
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.31 2003/07/19 19:40:47 dischi
+ # handling for mp3 files without length information
+ #
# Revision 1.30 2003/07/04 16:11:02 dischi
# removed info again from AudioItem parameter at both places
***************
*** 222,226 ****
return the specific attribute as string or an empty string
"""
! if attr == 'length':
return '%d:%02d' % (int(self.length / 60), int(self.length % 60))
--- 225,229 ----
return the specific attribute as string or an empty string
"""
! if attr == 'length' and self.length:
return '%d:%02d' % (int(self.length / 60), int(self.length % 60))
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog