diff src/audacious/playlist.h @ 4227:206378f34610

update titles when formatter template changes even if tuples is up to date
author Eugene Zagidullin <e.asphyx@gmail.com>
date Wed, 30 Jan 2008 19:41:03 +0300
parents e9fd46b0893b
children 6a87d1c1da32
line wrap: on
line diff
--- a/src/audacious/playlist.h	Wed Jan 30 05:10:19 2008 +0300
+++ b/src/audacious/playlist.h	Wed Jan 30 19:41:03 2008 +0300
@@ -70,6 +70,7 @@
     gboolean selected;
     InputPlugin *decoder;
     Tuple *tuple;		/* cached entry tuple, if available */
+    gboolean title_is_valid;    /* set it to FALSE after title format changing to update title even if tuple is present --asphyx */
 };
 
 #define PLAYLIST(x)  ((Playlist *)(x))
@@ -165,6 +166,7 @@
 void playlist_start_get_info_thread(void);
 void playlist_stop_get_info_thread();
 void playlist_start_get_info_scan(void);
+void playlist_update_all_titles(void);
 
 void playlist_sort(Playlist *playlist, PlaylistSortType type);
 void playlist_sort_selected(Playlist *playlist, PlaylistSortType type);