stored_playlist: emit idle event on delete

The "rm" command did not send notifications to idle clients.  Add it.
This commit is contained in:
Max Kellermann 2008-10-23 09:54:39 +02:00
parent 93598e28f4
commit fdc9a4cc5a
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}