aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 34da9f9af..137475afb 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -54,6 +54,11 @@ typedef struct _Playlist {
bool repeat;
bool random;
uint32_t version;
+
+ /** used by syncCurrentPlayerDecodeMetadata() to detect tag changes */
+ const struct song *prev_song;
+ /** used by syncCurrentPlayerDecodeMetadata() to detect tag changes */
+ const struct tag *prev_tag;
} Playlist;
extern bool playlist_saveAbsolutePaths;