From 4b5de33e89d54e6a53229035969790c0c8c76213 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 13 Aug 2016 15:21:09 +0200 Subject: command: add replaygain information properties to track-list --- DOCS/man/input.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'DOCS') 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 -- cgit v1.2.3