summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-28 19:42:03 +0200
committerwm4 <wm4@nowhere>2016-08-28 19:46:54 +0200
commitf42e4374d55a3b68b0c4fcb342d9cdcd5d15c9c7 (patch)
treed5fd210634c38901cb5eaf97b8313647520a53b6 /DOCS/man
parenta9a55ea7f28894d9e72be5e8b2d5a9331f1e7be4 (diff)
downloadmpv-f42e4374d55a3b68b0c4fcb342d9cdcd5d15c9c7.tar.bz2
mpv-f42e4374d55a3b68b0c4fcb342d9cdcd5d15c9c7.tar.xz
command: export profile list as a property
Targeted at scripts, which can do whatever they want with it. This comes with the promise that they could get randomly broken any time. See #977.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/input.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index d720961226..5892649fe5 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -2211,6 +2211,14 @@ Property list
``property-list``
Return the list of top-level properties.
+``profile-list``
+ Return the list of profiles and their contents. This is highly
+ implementation-specific, and may change any time. Currently, it returns
+ an array of options for each profile. Each option has a name and a value,
+ with the value currently always being a string. Note that the options array
+ is not a map, as order matters and duplicate entries are possible. Recursive
+ profiles are not expanded, and show up as special ``profile`` options.
+
Property Expansion
------------------