aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;