summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-16 22:06:41 +0100
committerwm4 <wm4@nowhere>2015-02-16 22:08:16 +0100
commitd26ba961d05a2de165fa87c41d705ed3db00231b (patch)
treeeb3dfc217322ca600decad7a6bf7a051c6d521f5 /input/cmd_list.h
parent37183532ae2b3b919540a31f56d0089cd16652d9 (diff)
downloadmpv-d26ba961d05a2de165fa87c41d705ed3db00231b.tar.bz2
mpv-d26ba961d05a2de165fa87c41d705ed3db00231b.tar.xz
command: add rescan_external_files
Requested. Hopefully will be useful for things that download and add external subtitles on demand. Or something. Closes #1586.
Diffstat (limited to 'input/cmd_list.h')
-rw-r--r--input/cmd_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_list.h b/input/cmd_list.h
index c761be98ee..d57da46d06 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -111,6 +111,8 @@ enum mp_command_type {
MP_CMD_HOOK_ADD,
MP_CMD_HOOK_ACK,
+ MP_CMD_RESCAN_EXTERNAL_FILES,
+
// Internal
MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p
};