summaryrefslogtreecommitdiffstats
path: root/core/input
diff options
context:
space:
mode:
Diffstat (limited to 'core/input')
-rw-r--r--core/input/input.c2
-rw-r--r--core/input/input.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/input/input.c b/core/input/input.c
index d7aaf54dec..9f63114530 100644
--- a/core/input/input.c
+++ b/core/input/input.c
@@ -183,6 +183,8 @@ static const mp_cmd_t mp_cmds[] = {
{"append", 1}, {"1", 1})),
}},
{ MP_CMD_PLAYLIST_CLEAR, "playlist_clear", },
+ { MP_CMD_PLAYLIST_REMOVE, "playlist_remove", { ARG_INT } },
+ { MP_CMD_PLAYLIST_MOVE, "playlist_move", { ARG_INT, ARG_INT } },
{ MP_CMD_RUN, "run", { ARG_STRING } },
{ MP_CMD_KEYDOWN_EVENTS, "key_down_event", { ARG_INT } },
diff --git a/core/input/input.h b/core/input/input.h
index 071efe5def..5b6170c7ae 100644
--- a/core/input/input.h
+++ b/core/input/input.h
@@ -39,6 +39,8 @@ enum mp_command_type {
MP_CMD_LOADFILE,
MP_CMD_LOADLIST,
MP_CMD_PLAYLIST_CLEAR,
+ MP_CMD_PLAYLIST_REMOVE,
+ MP_CMD_PLAYLIST_MOVE,
MP_CMD_SUB_STEP,
MP_CMD_TV_SET_CHANNEL,
MP_CMD_TV_LAST_CHANNEL,