diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/command.c | 1 | ||||
-rw-r--r-- | src/playlist.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index 4e1d80dad..ae571a401 100644 --- a/src/command.c +++ b/src/command.c @@ -317,6 +317,7 @@ int handleSearch(FILE * fp, unsigned int * permission, int argArrayLength, int handleUpdate(FILE * fp, unsigned int * permission, int argArrayLength, char ** argArray) { + incrPlaylistVersion(); return updateMp3Directory(fp); } diff --git a/src/playlist.h b/src/playlist.h index 963cf6e35..8fdca8aed 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -93,4 +93,6 @@ void playPlaylistIfPlayerStopped(); int seekSongInPlaylist(FILE * fp, int song, float time); +void incrPlaylistVersion(); + #endif |