forgetting to increment playlist version after reading the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
b68417a643
commit
57742785b4
|
@ -128,6 +128,7 @@ void readDirectoryDBIfUpdateIsFinished() {
|
|||
if(directory_reReadDB && 0==directory_updatePid) {
|
||||
DEBUG("readDirectoryDB since update finished successfully\n");
|
||||
readDirectoryDB();
|
||||
incrPlaylistVersion();
|
||||
directory_reReadDB = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@ int handlePendingSignals() {
|
|||
DEBUG("got SIGHUP, rereading DB\n");
|
||||
signal_clear(SIGHUP);
|
||||
readDirectoryDB();
|
||||
incrPlaylistVersion();
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue