summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-17 20:23:30 +0100
committerwm4 <wm4@nowhere>2014-02-17 20:30:44 +0100
commit0f973cc8c644862b7a3f68da27016c9a2e952f07 (patch)
tree950a7a2bb1255cbcc9b7550e8fb8f6ab7e7b22dc
parentb1328418ee30ba0230b7fb87eaff0658479eed43 (diff)
downloadmpv-0f973cc8c644862b7a3f68da27016c9a2e952f07.tar.bz2
mpv-0f973cc8c644862b7a3f68da27016c9a2e952f07.tar.xz
manpage: input: document script_message command
-rw-r--r--DOCS/man/en/input.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index 43cea2fcd9..f9ce7b5082 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -443,6 +443,14 @@ Input Commands that are Possibly Subject to Change
Remove an overlay added with ``overlay_add`` and the same ID. Does nothing
if no overlay with this ID exists.
+``script_message "<target>" "<arg1>" "<arg2>" ...``
+ Send a message to the client named ``<target>``, and pass it the following
+ list of arguments. The target can be for example a script (Lua scripts
+ can get their name via ``mp.get_script_name()``). What this message means,
+ how many arguments it takes, and what the arguments mean is fully up to
+ the target and the sender. Lua scripts use it to add key bindings via
+ input.conf.
+
Undocumented commands: ``tv_start_scan``, ``tv_step_channel``, ``tv_step_norm``,
``tv_step_chanlist``, ``tv_set_channel``, ``tv_last_channel``, ``tv_set_freq``,
``tv_step_freq``, ``tv_set_norm``, ``dvb_set_channel`` (all of these