summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
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 /DOCS/man/input.rst
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 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 80b4b253e9..8a6ac915ba 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -400,6 +400,21 @@ List of Input Commands
``audio_reload [<id>]``
Reload the given audio tracks. See ``sub_reload`` command.
+``rescan_external_files [<mode>]``
+ Rescan external files according to the current ``--sub-auto`` and
+ ``--audio-file-auto`` settings. This can be used to auto-load external
+ files *after* the file was loaded.
+
+ The ``mode`` argument is one of the following:
+
+ <keep-selection> (default)
+ Do not change current track selections.
+
+ <reselect>
+ Select the default audio and video streams, which typically selects
+ external files with highest preference. (The implementation is not
+ perfect, and could be improved on request.)
+
Input Commands that are Possibly Subject to Change
--------------------------------------------------