Added Dolby Digital Plus with Atmos (#3902)

* Added Dolby Digital Plus with Atmos

Added Dolby Digital Plus with Atmos by checking the codec additional features for JOC, which stands for Joint Object Coding and is the technique used for adding Atmos metadata to Dolby Digital Plus audio streams. This is similar to the 16-ch additional feature used to distinguish Atmos in a TrueHD audio stream.

* Corrected positioning of EAC3 Atmos

* Changed the formatting from aphrodite to dapper

"splitAdditionalFeatures.ContainsIgnoreCase" was changed to "audioAdditionalFeatures =="

* Removed White Space at the end of line 176
pull/4544/head
DavidSpek 5 years ago committed by GitHub
parent 09fe1bfc96
commit 802e5ac151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,6 +57,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
if (audioFormat.EqualsIgnoreCase("E-AC-3"))
{
if (audioAdditionalFeatures == "JOC")
{
return "EAC3 Atmos";
}
return "EAC3";
}

Loading…
Cancel
Save