summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-12 14:19:06 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-12 14:19:06 +0000
commit57742785b4ebd756ea4c7b05aeed873a103bb9e3 (patch)
treee11607d107f75226db178ea4bc6773a114376713 /src
parentb68417a643ac97834dea518ee79dc2c4a697a93f (diff)
forgetting to increment playlist version after reading the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/directory.c1
-rw-r--r--src/sig_handlers.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 41dc9a013..a93c84fb2 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -128,6 +128,7 @@ void readDirectoryDBIfUpdateIsFinished() {
if(directory_reReadDB && 0==directory_updatePid) {
DEBUG("readDirectoryDB since update finished successfully\n");
readDirectoryDB();
+ incrPlaylistVersion();
directory_reReadDB = 0;
}
}
diff --git a/src/sig_handlers.c b/src/sig_handlers.c
index 1dc1f428b..9ec23df4b 100644
--- a/src/sig_handlers.c
+++ b/src/sig_handlers.c
@@ -41,6 +41,7 @@ int handlePendingSignals() {
DEBUG("got SIGHUP, rereading DB\n");
signal_clear(SIGHUP);
readDirectoryDB();
+ incrPlaylistVersion();
}
return 0;