Mercurial > audlegacy
changeset 4087:776c30747439
avoid unnecessary serial increment.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sun, 16 Dec 2007 20:54:53 +0900 |
parents | 96d8114f0b89 |
children | 2b1bba93f726 |
files | src/audacious/playlist.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/playlist.c Sun Dec 16 19:03:05 2007 +0900 +++ b/src/audacious/playlist.c Sun Dec 16 20:54:53 2007 +0900 @@ -2604,10 +2604,13 @@ if(playlist->attribute & PLAYLIST_STATIC || (entry->tuple && tuple_get_int(entry->tuple, FIELD_LENGTH, NULL) > -1 && tuple_get_int(entry->tuple, FIELD_MTIME, NULL) != -1)) { - update_playlistwin = TRUE; continue; } + AUDDBG("len=%d mtime=%d\n", + tuple_get_int(entry->tuple, FIELD_LENGTH, NULL), + tuple_get_int(entry->tuple, FIELD_MTIME, NULL)); + if (!playlist_entry_get_info(entry)) { if (g_list_index(playlist->entries, entry) == -1) /* Entry disapeared while we @@ -2622,6 +2625,7 @@ } } } // on_demand + else if (cfg.get_info_on_demand && (!cfg.playlist_visible || cfg.playlist_shaded || !cfg.use_pl_metadata)) { @@ -2629,6 +2633,7 @@ playlist_get_info_scan_active = FALSE; g_mutex_unlock(mutex_scan); } + else /* not on_demand and not on_load... NOTE: this shouldn't happen anymore, sanity check in bmp_config_load now */ {