mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 00:05:03 -05:00
[player] Add missing notification of playlist changes after removing an
item from the playlist
This commit is contained in:
parent
10fceb6d3f
commit
8fc8d08b42
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user