diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2013-04-10 16:17:10 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2013-04-10 16:17:10 +0200 |
commit | 54a1822db2bfa77f24d48c6456fc24aa0af215a7 (patch) | |
tree | 5365d3666fa30f55d2eac18a6f6cef2d03092dfa /src/playlist.h | |
parent | 425836630e2791ce612db290a8a68d4ec6b01c63 (diff) |
fix problem with status update (#3740)
Diffstat (limited to 'src/playlist.h')
-rw-r--r-- | src/playlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.h b/src/playlist.h index 55c7a2c5..0563bef2 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -79,7 +79,7 @@ struct Playlist: Screen<NC::Menu<MPD::Song>>, Filterable, HasSongs, Searchable, void SetSelectedItemsPriority(int prio); void setStatus(MPD::Status status); - unsigned version() const; + unsigned oldVersion() const; int currentSongPosition() const; unsigned currentSongLength() const; @@ -87,7 +87,6 @@ struct Playlist: Screen<NC::Menu<MPD::Song>>, Filterable, HasSongs, Searchable, void registerHash(size_t hash); void unregisterHash(size_t hash); - static unsigned Version; static bool ReloadTotalLength; static bool ReloadRemaining; @@ -107,6 +106,7 @@ private: time_t itsTimer; MPD::Status m_status; + unsigned m_old_playlist_version; }; extern Playlist *myPlaylist; |