summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-13 15:21:09 +0200
committerwm4 <wm4@nowhere>2016-08-13 15:21:09 +0200
commit4b5de33e89d54e6a53229035969790c0c8c76213 (patch)
tree3f6a1e62955569d3d50943a7d9e28eed44f19eb7 /DOCS/man/input.rst
parent9d2bcd2ef98788dd555e1cbe7ba170ad18adb98a (diff)
downloadmpv-4b5de33e89d54e6a53229035969790c0c8c76213.tar.bz2
mpv-4b5de33e89d54e6a53229035969790c0c8c76213.tar.xz
command: add replaygain information properties to track-list
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 10fd6e2b1c..2cc41bf5d5 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1813,6 +1813,16 @@ Property list
``track-list/N/audio-channels`` (deprecated)
Deprecated alias for ``track-list/N/demux-channel-count``.
+ ``track-list/N/replaygain-track-peak``, ``track-list/N/replaygain-track-gain``
+ Per-track replaygain values. Only available for audio tracks with
+ corresponding information stored in the source file.
+
+ ``track-list/N/replaygain-album-peak``, ``track-list/N/replaygain-album-gain``
+ Per-album replaygain values. If the file has per-track but no per-album
+ information, the per-album values will be copied from the per-track
+ values currently. It's possible that future mpv versions will make
+ these properties unavailable instead in this case.
+
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:
@@ -1842,6 +1852,10 @@ Property list
"demux-samplerate" MPV_FORMAT_INT64
"demux-fps" MPV_FORMAT_DOUBLE
"audio-channels" MPV_FORMAT_INT64
+ "replaygain-track-peak" MPV_FORMAT_DOUBLE
+ "replaygain-track-gain" MPV_FORMAT_DOUBLE
+ "replaygain-album-peak" MPV_FORMAT_DOUBLE
+ "replaygain-album-gain" MPV_FORMAT_DOUBLE
``chapter-list``
List of chapters, current entry marked. Currently, the raw property value