[player] Add missing notification of playlist changes after removing an

item from the playlist
This commit is contained in:
chme 2015-11-21 10:08:54 +01:00
parent 10fceb6d3f
commit 8fc8d08b42

View File

@ -3483,6 +3483,10 @@ playerqueue_remove_bypos(struct player_command *cmd)
DPRINTF(E_DBG, L_PLAYER, "Removing item from position %d\n", pos);
queue_remove_bypos(queue, ps_playing->item_id, pos, shuffle);
cur_plversion++;
listener_notify(LISTENER_PLAYLIST);
return 0;
}
@ -3501,6 +3505,10 @@ playerqueue_remove_byitemid(struct player_command *cmd)
DPRINTF(E_DBG, L_PLAYER, "Removing item with id %d\n", id);
queue_remove_byitemid(queue, id);
cur_plversion++;
listener_notify(LISTENER_PLAYLIST);
return 0;
}