From 9795216d8a07bea3c2492c1ec236f863cc1d2d9b Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 28 Apr 2015 22:05:07 +0200 Subject: command: change the default action for rescan_external_files Now the rescan_external_files command will by default reselect the audio and subtitle streams. This should be more intuitive. Client API users and Lua scripts might break, but can be fixed in a backward-compatible way by setting the mode explicitly. --- input/cmd_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input') diff --git a/input/cmd_list.c b/input/cmd_list.c index acd8ae72a1..e1c471a932 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -210,7 +210,7 @@ const struct mp_cmd_def mp_cmds[] = { { MP_CMD_AUDIO_RELOAD, "audio_reload", { OARG_INT(-1) } }, { MP_CMD_RESCAN_EXTERNAL_FILES, "rescan_external_files", { - OARG_CHOICE(0, ({"keep-selection", 0}, + OARG_CHOICE(1, ({"keep-selection", 0}, {"reselect", 1})), }}, -- cgit v1.2.3