Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv5922
Modified Files:
item.py
Log Message:
return nothing if there is no length (e.g. webradio)
Index: item.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/item.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** item.py 30 Nov 2003 14:34:29 -0000 1.34
--- item.py 6 Dec 2003 13:46:47 -0000 1.35
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.35 2003/12/06 13:46:47 dischi
+ # return nothing if there is no length (e.g. webradio)
+ #
# Revision 1.34 2003/11/30 14:34:29 dischi
# but the skin parsing (e.g. outicon) in Item to avoid duplicate code
***************
*** 244,247 ****
--- 247,252 ----
except:
return ''
+ if length == 0:
+ return ''
if length / 3600:
return '%d:%02d:%02d' % ( length / 3600, (length % 3600) / 60,
length % 60)
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog