{ aco.replace('Dolby TrueHD with Dolby Atmos', 'TrueHD.Atmos').replace('Dolby TrueHD', 'TrueHD').replace('DTS-HD Master Audio', 'DTS-HD').replace('Dolby Digital Plus with Dolby Atmos', 'DD+.Atmos')
.replace('Dolby Digital Plus', 'DD+').replace('Dolby Digital', 'DD') }
When the file contains Dolby Digital Plus the output returns a Blu-ray Disc ? I do not understand this at all.
I couldn't figure out how to send a screenshot so I copied and pasted this info. I am guessing this is where the error is coming from on the 1st Audio tab.
Format AC-3
Format/String E-AC-3 JOC
Format/Info Enhanced AC-3 with Joint Object Coding
Format/Url https://en.wikipedia.org/wiki/AC3
Format_Commercial Dolby Digital Plus with Dolby Atmos
Format_Commercial_IfAny Dolby Digital Plus with Dolby Atmos
Format_Profile Blu-ray Disc
Format_Settings_Endianness Big
Format_AdditionalFeatures Dep JOC
InternetMediaType audio/eac3
{aco} is based on "Codec_Profile", "Format_Profile", "Format_Commercial" in that order. You are getting the value of the "Format_Profile" property, which has a bit of an unusual value: