summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-10 21:22:35 +0200
committerwm4 <wm4@nowhere>2015-07-10 21:22:35 +0200
commit8e82a64f5665dfeec2b0ae34b52f1870720f049e (patch)
tree2d7cc09097e15f260b6a594f72276299f1b25d9f /DOCS/man
parentc2b61876c4e880f4f95413debb74b5435241f2d1 (diff)
downloadmpv-8e82a64f5665dfeec2b0ae34b52f1870720f049e.tar.bz2
mpv-8e82a64f5665dfeec2b0ae34b52f1870720f049e.tar.xz
player: parse and expose m3u playlist titles
Requested. Closes #2100.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/input.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 46aa590bc6..775b45d9e9 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1530,6 +1530,11 @@ Property list
been unloaded yet; in this case, ``current`` refers to the new
selection. (Since mpv 0.7.0.)
+ ``playlist/N/title``
+ Name of the Nth entry. Only available if the playlist file contains
+ such fields, and only if mpv's parser supports it for the given
+ playlist format.
+
When querying the property with the client API using ``MPV_FORMAT_NODE``,
or with Lua ``mp.get_property_native``, this will return a mpv_node with
the following contents:
@@ -1541,6 +1546,7 @@ Property list
"filename" MPV_FORMAT_STRING
"current" MPV_FORMAT_FLAG (might be missing; since mpv 0.7.0)
"playing" MPV_FORMAT_FLAG (same)
+ "title" MPV_FORMAT_STRING (optional)
``track-list``
List of audio/video/sub tracks, current entry marked. Currently, the raw