Since Kodi can't detect Atmos/DTS-X audio from the media info yet this commit adds support for detecting them from the filename and showing the appropriate media flags.
If the file is Dolby TrueHD audio AND contains ".Atmos." in the filename then the Dolby Atmos flag is displayed. If the file is DTSHD-MA audio and contains ".DTS-X.", ".DTSX.", or ".DTS.X." in the filename then the DTS-X flag is displayed.
If I were being really thorough the AudioChannels icon should also be changed to represent object based rather than 7.1 for Atmos/DTS-X but I have no idea what such an icon should look like so I left it alone.
Since Kodi can't detect Atmos/DTS-X audio from the media info yet this commit adds support for detecting them from the filename and showing the appropriate media flags.
If the file is Dolby TrueHD audio AND contains ".Atmos." in the filename then the Dolby Atmos flag is displayed. If the file is DTSHD-MA audio and contains ".DTS-X.", ".DTSX.", or ".DTS.X." in the filename then the DTS-X flag is displayed.
If I were being really thorough the AudioChannels icon should also be changed to represent object based rather than 7.1 for Atmos/DTS-X but I have no idea what such an icon should look like so I left it alone.
Screenshots below: