From 88a38a61b59c20b64b5d993364dea2e1d7160d9f Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sun, 28 Apr 2024 15:18:53 +0200 Subject: Improve audio normalization * Move calculation of LUFS to a scheduled task as it's pretty slow * Correctly calculate album LUFS * Don't try to convert replaygain tags to LUFS values --- MediaBrowser.Controller/Entities/BaseItem.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MediaBrowser.Controller/Entities/BaseItem.cs') diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 474b093d5..3dd4d1e39 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -137,6 +137,13 @@ namespace MediaBrowser.Controller.Entities [JsonIgnore] public float? LUFS { get; set; } + /// + /// Gets or sets the gain required for audio normalization. + /// + /// The gain required for audio normalization.. + [JsonIgnore] + public float? NormalizationGain { get; set; } + /// /// Gets or sets the channel identifier. /// -- cgit v1.2.3