From 451f6788cea2f7a90badcf2fb7e1e3679fa513cb Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 2 Jul 2013 13:17:50 +0200 Subject: command: add some playlist manipulation commands playlist_remove and playlist_move. --- core/input/input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/input/input.c') 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 } }, -- cgit v1.2.3