summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c1
-rw-r--r--input/cmd_list.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index e1c471a932..e7918f26d6 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -89,6 +89,7 @@ const struct mp_cmd_def mp_cmds[] = {
OARG_CHOICE(0, ({"weak", 0},
{"force", 1})),
}},
+ { MP_CMD_PLAYLIST_SHUFFLE, "playlist_shuffle", },
{ MP_CMD_SUB_STEP, "sub_step", { ARG_INT }, .allow_auto_repeat = true },
{ MP_CMD_SUB_SEEK, "sub_seek", { ARG_INT }, .allow_auto_repeat = true },
{ MP_CMD_OSD, "osd", { OARG_INT(-1) } },
diff --git a/input/cmd_list.h b/input/cmd_list.h
index e9418d4429..86f24f2edb 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -54,6 +54,7 @@ enum mp_command_type {
MP_CMD_PLAYLIST_CLEAR,
MP_CMD_PLAYLIST_REMOVE,
MP_CMD_PLAYLIST_MOVE,
+ MP_CMD_PLAYLIST_SHUFFLE,
MP_CMD_SUB_STEP,
MP_CMD_SUB_SEEK,
MP_CMD_TV_LAST_CHANNEL,