summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--playlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/playlist.c b/playlist.c
index b4ebda08..f83cc480 100644
--- a/playlist.c
+++ b/playlist.c
@@ -1753,10 +1753,9 @@ plt_remove_item (playlist_t *playlist, playItem_t *it) {
if (!no_remove_notify) {
streamer_song_removed_notify (it);
+ pl_playqueue_remove (it);
}
- pl_playqueue_remove (it);
-
// remove from both lists
LOCK;
for (int iter = PL_MAIN; iter <= PL_SEARCH; iter++) {