sonixd
sonixd copied to clipboard
Add support for replaygain
Read replaygain tags from the track and apply a volume transformation based on it.
https://wiki.hydrogenaud.io/index.php?title=ReplayGain_2.0_specification#Gain_calculation
This should be easy to do with the new mpv player (at least for Subsonic servers) since mpv has replaygain options available https://mpv.io/manual/master/#options-replaygain and most Subsonic servers will preserve the replay gain tags if they are present in the source files (not sure about Jellyfin streams).