changeset 1598:2b3dd287f1c1 trunk

[svn] - Tracks with unknown lengths shouldn't be considered 0 seconds long! :P
author nhjm449
date Sat, 26 Aug 2006 21:21:35 -0700
parents 2685ac3bd8f6
children 825be2235f8c
files ChangeLog Plugins/Container/xspf/xspf.c
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Aug 26 12:00:05 2006 -0700
+++ b/ChangeLog	Sat Aug 26 21:21:35 2006 -0700
@@ -1,3 +1,13 @@
+2006-08-26 19:00:05 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [2125]
+  CXXFLAGS fixes by Mike Frysinger (Gentoo).
+
+  Changes:        Modified:
+  +2 -2           trunk/Plugins/Input/modplug/gui/Makefile.in  
+  +2 -3           trunk/Plugins/Input/mpg123/Makefile.in  
+  +1 -1           trunk/Plugins/Input/sid/Makefile.in  
+
+
 2006-08-26 15:09:42 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2123]
   - now xspf writes formatted xml.
--- a/Plugins/Container/xspf/xspf.c	Sat Aug 26 12:00:05 2006 -0700
+++ b/Plugins/Container/xspf/xspf.c	Sat Aug 26 21:21:35 2006 -0700
@@ -140,6 +140,9 @@
 		}
 
 	}
+	if (tuple->length == NULL) {
+		tuple->length = -1;
+	}
 	// add file to playlist
 	playlist_load_ins_file_tuple(locale_uri, filename, pos, tuple);
 	pos++;