From 679de2b295dea63d1a6feb70d599673112eb4e1e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 16 May 2015 12:32:34 +0200 Subject: manpage: lua: clarify OSD differences between mp.command/mp.commandv Conflicts: player/audio.c player/video.c (cherry picked from commit f9ff4b59a266cfbbcf7dc633b2c31cf97c67abc4) --- DOCS/man/lua.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index ff70600a1d..d5c9b31808 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -73,6 +73,10 @@ The ``mp`` module is preloaded, although it can be loaded manually with Run the given command. This is similar to the commands used in input.conf. See `List of Input Commands`_. + By default, this will show something on the OSD (depending on the command), + as if it was used in ``input.conf``. See `Input Command Prefixes`_ how + to influence OSD usage per command. + Returns ``true`` on success, or ``nil, error`` on error. ``mp.commandv(arg1, arg2, ...)`` @@ -94,6 +98,9 @@ The ``mp`` module is preloaded, although it can be loaded manually with the ``expand-properties`` prefix, or the ``mp.get_property`` family of functions. + Unlike ``mp.command``, this will not use OSD by default either (except + for some OSd-specific commands). + ``mp.command_native(table [,def])`` Similar to ``mp.commandv``, but pass the argument list as table. This has the advantage that in at least some cases, arguments can be passed as -- cgit v1.2.3