diff options
| author | Bond_009 <bond.009@outlook.com> | 2024-04-28 15:18:53 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2024-04-28 15:18:53 +0200 |
| commit | 88a38a61b59c20b64b5d993364dea2e1d7160d9f (patch) | |
| tree | a49fd877fa56f7502dcaecf4d3b56866bbaf5de7 /MediaBrowser.Controller/Entities/BaseItem.cs | |
| parent | 5612cb81780aaaae581b87062445d1829e71a4a9 (diff) | |
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
Diffstat (limited to 'MediaBrowser.Controller/Entities/BaseItem.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/BaseItem.cs | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -138,6 +138,13 @@ namespace MediaBrowser.Controller.Entities public float? LUFS { get; set; } /// <summary> + /// Gets or sets the gain required for audio normalization. + /// </summary> + /// <value>The gain required for audio normalization..</value> + [JsonIgnore] + public float? NormalizationGain { get; set; } + + /// <summary> /// Gets or sets the channel identifier. /// </summary> /// <value>The channel identifier.</value> |
