summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-07-04 13:11:52 +0200
committerwm4 <wm4@nowhere>2017-07-04 13:11:52 +0200
commit46dc15a220212326bf691fa142d7ffa5e7072de7 (patch)
treeda29e5127118af8ccd15451e01f9d9fd570bbfd1
parent5df3576856b4f985b9724d5b79b1c9ffdfb403ee (diff)
downloadmpv-46dc15a220212326bf691fa142d7ffa5e7072de7.tar.bz2
mpv-46dc15a220212326bf691fa142d7ffa5e7072de7.tar.xz
command: add missing change notification for playlist-shuffle
Fixes #4573.
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index bd870e69fd..c328d77ce8 100644
--- a/player/command.c
+++ b/player/command.c
@@ -5338,6 +5338,7 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re
case MP_CMD_PLAYLIST_SHUFFLE: {
playlist_shuffle(mpctx->playlist);
+ mp_notify(mpctx, MP_EVENT_CHANGE_PLAYLIST, NULL);
break;
}