diff audacious/playlist.c @ 1823:043143e4578e trunk

[svn] - ditto for playlist_get_songtime().
author nenolod
date Thu, 05 Oct 2006 02:43:17 -0700
parents 7e324a23be67
children 2a5621bfc610
line wrap: on
line diff
--- a/audacious/playlist.c	Thu Oct 05 02:41:57 2006 -0700
+++ b/audacious/playlist.c	Thu Oct 05 02:43:17 2006 -0700
@@ -1623,8 +1623,7 @@
 
     entry = node->data;
 
-//    if (!entry->title && entry->length == -1) {
-    if (!entry->tuple || (entry->tuple->mtime != playlist_get_mtime(entry->filename))){
+    if (!entry->tuple || (entry->tuple->mtime > 0 && entry->tuple->mtime != playlist_get_mtime(entry->filename))){
 
         if (playlist_entry_get_info(entry))
             song_time = entry->length;