aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-23 09:54:39 +0200
committerMax Kellermann <max@duempel.org>2008-10-23 09:54:39 +0200
commitfdc9a4cc5a464c0ede0c3de7978b9662f5d9136a (patch)
tree33436c39d14ba91d52e1ebb0ac8b6f076cd07245 /src
parent93598e28f48a6a2da332287a3b8c0966a99e66d9 (diff)
downloadmpd-fdc9a4cc5a464c0ede0c3de7978b9662f5d9136a.tar.gz
mpd-fdc9a4cc5a464c0ede0c3de7978b9662f5d9136a.tar.xz
mpd-fdc9a4cc5a464c0ede0c3de7978b9662f5d9136a.zip
stored_playlist: emit idle event on delete
The "rm" command did not send notifications to idle clients. Add it.
Diffstat (limited to '')
-rw-r--r--src/stored_playlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stored_playlist.c b/src/stored_playlist.c
index 61d4d8cc3..18cd84305 100644
--- a/src/stored_playlist.c
+++ b/src/stored_playlist.c
@@ -277,6 +277,7 @@ spl_delete(const char *name_utf8)
? PLAYLIST_RESULT_NO_SUCH_LIST
: PLAYLIST_RESULT_ERRNO;
+ idle_add(IDLE_STORED_PLAYLIST);
return PLAYLIST_RESULT_SUCCESS;
}