summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}