diff options
author | wm4 <wm4@nowhere> | 2014-02-19 16:29:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-19 16:29:04 +0100 |
commit | bda0e7da1376d5d190e972af794dd76bf83e56fe (patch) | |
tree | 1c371befe5a98f1876d788e99415a5293e464aca /DOCS/man | |
parent | 844efa54313b395750d139abcea9425e9f4ee6f9 (diff) | |
download | mpv-bda0e7da1376d5d190e972af794dd76bf83e56fe.tar.bz2 mpv-bda0e7da1376d5d190e972af794dd76bf83e56fe.tar.xz |
command: allow accessing metadata entries as list
Not sure about these deep path-names. Maybe "metadata/0" should work
instead of "metadata/list/0". I'm so unsure about it, that I'm leaving
it open.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/en/input.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index 4077d22e83..a004333a58 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -654,10 +654,22 @@ an option at runtime. ``metadata/by-key/<key>`` Value of metadata entry ``<key>``. + ``metadata/list/count`` + Number of metadata entries. + + ``metadata/list/N/name`` + Key name of the Nth metadata entry. (The first entry is ``0``). + + ``metadata/list/N/value`` + Value of the Nth metadata entry. + ``metadata/<key>`` Old version of ``metadata/by-key/<key>``. Use is discouraged, because the metadata key string could conflict with other sub-properties. + The layout of this property might be subject to change. Suggestions are + welcome how exactly this property should work. + ``chapter-metadata`` Metadata of current chapter. Works similar to ``metadata`` property. This also allows referring to a key directly. |