Commit 57742785 authored by Warren Dukes's avatar Warren Dukes

forgetting to increment playlist version after reading the db

git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent b68417a6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment