# HG changeset patch # User nenolod # Date 1160046199 25200 # Node ID d66712838e9f9eb7e209109e951e078125a32c36 # Parent 8b71a2b0577b6e4198dcc3b7be282849094513be [svn] - and finally special tuples are treated as they should be diff -r 8b71a2b0577b -r d66712838e9f ChangeLog --- a/ChangeLog Thu Oct 05 03:26:36 2006 -0700 +++ b/ChangeLog Thu Oct 05 04:03:19 2006 -0700 @@ -1,3 +1,12 @@ +2006-10-05 10:26:36 +0000 William Pitcock + revision [2607] + - results from more profiling + + trunk/audacious/playlist.c | 9 +++++---- + trunk/audacious/ui_playlist.c | 10 +--------- + 2 files changed, 6 insertions(+), 13 deletions(-) + + 2006-10-05 10:03:56 +0000 William Pitcock revision [2605] - more mtime = 0 checks diff -r 8b71a2b0577b -r d66712838e9f audacious/playlist.c --- a/audacious/playlist.c Thu Oct 05 03:26:36 2006 -0700 +++ b/audacious/playlist.c Thu Oct 05 04:03:19 2006 -0700 @@ -2184,7 +2184,7 @@ for (node = playlist_get(); node; node = g_list_next(node)) { entry = node->data; - if(entry->tuple && entry->tuple->mtime != 0) { + if(entry->tuple && (entry->tuple->length > -1)) { continue; } @@ -2194,7 +2194,7 @@ Restart. */ node = playlist_get(); } - else if (entry->title || entry->length != -1) { + else if (entry->title || (!entry->tuple && entry->length != -1)) { update_playlistwin = TRUE; if (entry == playlist_position) update_mainwin = TRUE; @@ -2228,7 +2228,7 @@ entry = node->data; - if(entry->tuple && entry->tuple->mtime != 0) { + if(entry->tuple && (entry->tuple->length > -1)) { continue; } @@ -2240,7 +2240,7 @@ g_list_nth(playlist_get(), playlistwin_get_toprow()); } - else if (entry->title || entry->length != -1) { + else if (entry->title || (!entry->tuple && entry->length != -1)) { update_playlistwin = TRUE; if (entry == playlist_position) update_mainwin = TRUE; @@ -2265,6 +2265,7 @@ } if (update_mainwin) { + mainwin_set_info_text(); update_mainwin = FALSE; }