diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/input.rst | 17 | ||||
-rw-r--r-- | DOCS/man/mpv.rst | 3 |
2 files changed, 20 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 1a9c07e19d..188858d86d 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -732,6 +732,23 @@ Input Commands that are Possibly Subject to Change ``load-script "<path>"`` Load a script, similar to the ``--script`` option. +``change-list "<option>" "<operation>" "<value>"`` + This command changes list options as described in `List Options`_. The + ``<option>`` parameter is the normal option name, while ``<operation>`` is + the suffix or action used on the option. + + Some operations take no value, but the command still requires the value + parameter. In these cases, the value must be an empty string. + + .. admonition:: Example + + ``change-list glsl-shaders append file.glsl`` + + Add a filename to the ``glsl-shaders`` list. The command line + equivalent is ``--glsl-shaders-append=file.glsl`` or alternatively + ``--glsl-shader=file.glsl``. + + Undocumented commands: ``tv-last-channel`` (TV/DVB only), ``ao-reload`` (experimental/internal). diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index d7564c3b57..1919485069 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -448,6 +448,9 @@ aliases for the proper option with ``-append`` action. For example, Some options only support a subset of the above. +Options of this type can be changed at runtime using the ``change-list`` +command, which takes the suffix as separate operation parameter. + Playing DVDs ------------ |