mirror of https://github.com/mpv-player/mpv
command: add missing change notification for playlist-shuffle
Fixes #4573.
This commit is contained in:
parent
5df3576856
commit
46dc15a220
|
@ -5338,6 +5338,7 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re
|
||||||
|
|
||||||
case MP_CMD_PLAYLIST_SHUFFLE: {
|
case MP_CMD_PLAYLIST_SHUFFLE: {
|
||||||
playlist_shuffle(mpctx->playlist);
|
playlist_shuffle(mpctx->playlist);
|
||||||
|
mp_notify(mpctx, MP_EVENT_CHANGE_PLAYLIST, NULL);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue