diff options
author | wm4 <wm4@nowhere> | 2016-08-13 15:21:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-08-13 15:21:09 +0200 |
commit | 4b5de33e89d54e6a53229035969790c0c8c76213 (patch) | |
tree | 3f6a1e62955569d3d50943a7d9e28eed44f19eb7 /DOCS/man | |
parent | 9d2bcd2ef98788dd555e1cbe7ba170ad18adb98a (diff) | |
download | mpv-4b5de33e89d54e6a53229035969790c0c8c76213.tar.bz2 mpv-4b5de33e89d54e6a53229035969790c0c8c76213.tar.xz |
command: add replaygain information properties to track-list
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/input.rst | 14 |
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 |