summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/cmd_list.c')
-rw-r--r--input/cmd_list.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 28c89884e7..380e241b60 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -199,6 +199,11 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_AUDIO_REMOVE, "audio_remove", { OARG_INT(-1) } },
{ MP_CMD_AUDIO_RELOAD, "audio_reload", { OARG_INT(-1) } },
+ { MP_CMD_RESCAN_EXTERNAL_FILES, "rescan_external_files", {
+ OARG_CHOICE(0, ({"keep-selection", 0},
+ {"reselect", 1})),
+ }},
+
{0}
};