From 7e27663b7bdd92125dd221bf3dbb8f760681c9d7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 23 Oct 2014 13:11:41 +0200 Subject: command: add a "cached" mode to sub_add This avoids reloading a subtitle if it was already added. In all cases, the subtitle is selected. --- DOCS/man/input.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 05cc9da562..9dc1cf0ea6 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -275,6 +275,13 @@ List of Input Commands Don't select the subtitle. (Or in some special situations, let the default stream selection mechanism decide.) + + + Select the subtitle. If a subtitle with the same filename was already + added, that one is selected, instead of loading a duplicate entry. + (In this case, title/language are ignored, and if the was changed since + it was loaded, these changes won't be reflected.) + The ``title`` argument sets the track title in the UI. The ``lang`` argument sets the track language, and can also influence -- cgit v1.2.3