diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/input.rst | 2 | ||||
-rw-r--r-- | DOCS/man/javascript.rst | 8 | ||||
-rw-r--r-- | DOCS/man/lua.rst | 28 |
3 files changed, 0 insertions, 38 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 3613fb7dac..65058d45ac 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -3269,8 +3269,6 @@ Property list The top-level object itself cannot be written directly; write to sub-paths instead. - Lua scripting has helpers starting with ``utils.user_data_``. - Converting this property or its sub-properties to strings will give a JSON representation. If converting a leaf-level object (i.e. not a map or array) and not using raw mode, the underlying content will be given (e.g. strings will be diff --git a/DOCS/man/javascript.rst b/DOCS/man/javascript.rst index df13d27d06..bdbb04b198 100644 --- a/DOCS/man/javascript.rst +++ b/DOCS/man/javascript.rst @@ -186,14 +186,6 @@ meta-paths like ``~~/foo`` (other JS file functions do expand meta paths). ``mp.utils.subprocess_detached(t)`` -``mp.utils.user_data_set(path, val)`` - -``mp.utils.user_data_get(path)`` - -``mp.utils.user_data_del(path)`` - -``mp.utils.user_data_observe(path, type, fn)`` - ``mp.utils.get_env_list()`` ``mp.utils.getpid()`` (LE) diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index c8a30bce9f..ae9c14f55f 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -824,34 +824,6 @@ strictly part of the guaranteed API. This is a legacy wrapper around calling the ``run`` command with ``mp.commandv`` and other functions. -``utils.user_data_set(path, val)`` - Sets a user-data value. - - ``path`` is a path within the ``user-data`` property. - - This is a convenience wrapper around ``mp.set_property_native``. - -``utils.user_data_get(path)`` - Gets a user-data value. - - ``path`` is a path within the ``user-data`` property. - - This is a convenience wrapper around ``mp.get_property_native``. - -``utils.user_data_del(path)`` - Deletes a user-data value. - - ``path`` is a path within the ``user-data`` property. - - This is a convenience wrapper around ``mp.del_property_native``. - -``utils.user_data_observe(path, type, fn)`` - Observes a user-data value. - - ``path`` is a path within the ``user-data`` property. - - See ``mp.observe_property`` for further details. - ``utils.getpid()`` Returns the process ID of the running mpv process. This can be used to identify the calling mpv when launching (detached) subprocesses. |