BigNoid / Aeon-Nox

A skin for XBMC/Kodi
Other
254 stars 187 forks source link

Added Dolby Atmos and DTS-X media flags based on the file name #691

Closed midgetspy closed 8 years ago

midgetspy commented 8 years ago

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:

atmos-list atmos-osd dts-x-list dts-x-osd

midgetspy commented 8 years ago

Also I didn't update the ExtendedInfo or globalsearch files because I wasn't sure how to test them.