ReplayGain support + audio normalization (web player) (#1988)

* ReplayGain support

- extract ReplayGain tags from files, expose via native api
- use metadata to normalize audio in web player

* make pre-push happy

* remove unnecessary prints

* remove another unnecessary print

* add tooltips, see metadata

* address comments, use settings instead

* remove console.log

* use better language for gain modes
This commit is contained in:
Kendall Garner
2023-01-17 20:52:00 +00:00
committed by Deluan
parent 9ae156dd82
commit 1324a16fc5
24 changed files with 411 additions and 56 deletions
+10 -2
View File
@@ -363,7 +363,14 @@
"defaultView": "Default View",
"desktop_notifications": "Desktop Notifications",
"lastfmScrobbling": "Scrobble to Last.fm",
"listenBrainzScrobbling": "Scrobble to ListenBrainz"
"listenBrainzScrobbling": "Scrobble to ListenBrainz",
"replaygain": "ReplayGain Mode",
"preAmp": "ReplayGain PreAmp (dB)",
"gain": {
"none": "Disabled",
"album": "Use Album Gain",
"track": "Use Track Gain"
}
}
},
"albumList": "Albums",
@@ -395,6 +402,7 @@
"singleLoop": "Repeat One",
"shufflePlay": "Shuffle"
}
},
"about": {
"links": {
@@ -425,4 +433,4 @@
"toggle_love": "Add this track to favourites"
}
}
}
}