summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-22 20:43:33 +0200
committerwm4 <wm4@nowhere>2016-09-22 20:57:06 +0200
commit2ac74977c5f6561e33ad37c68b9da47739c7fd6c (patch)
tree9c1ec9fc83be8ca0583d06692a36fa170232ae61 /DOCS/man
parent01e95468f96ac14fead2ffe2d53ed11acfbe8a39 (diff)
downloadmpv-2ac74977c5f6561e33ad37c68b9da47739c7fd6c.tar.bz2
mpv-2ac74977c5f6561e33ad37c68b9da47739c7fd6c.tar.xz
command: add a load-script command
The intention is to give libmpv users as much flexibility to load scripts as using mpv from CLI, but without restricting libmpv users from having to decide everything on creation time, or having to go through hacks like recreating the libmpv context to update state.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/input.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 50832ccd30..8e61c22daa 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -699,6 +699,9 @@ Input Commands that are Possibly Subject to Change
There is no such thing as "unapplying" a profile - applying a profile
merely sets all option values listed within the profile.
+``load-script "<path>"``
+ Load a script, similar to the ``--script`` option.
+
Undocumented commands: ``tv-last-channel`` (TV/DVB only),
``ao-reload`` (experimental/internal).