command: add missing change notification for playlist-shuffle

Fixes #4573.
This commit is contained in:
wm4 2017-07-04 13:11:52 +02:00
parent 5df3576856
commit 46dc15a220
1 changed files with 1 additions and 0 deletions

View File

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