Let the UI show which DTS profile is in use
There are different profiles for DTS. For example, both DTS and DTS-HD MA use the same codec, but provide a different profile. Some files may provide both a DTS and DTS-HD MA audio track. With this change, the UI shows which track is using which profile to allow the user to choose between them.
This commit is contained in:
parent
1dcd537ea2
commit
27b81a535c
|
@ -155,6 +155,7 @@
|
|||
- [MBR-0001](https://github.com/MBR-0001)
|
||||
- [jonas-resch](https://github.com/jonas-resch)
|
||||
- [vgambier](https://github.com/vgambier)
|
||||
- [MinecraftPlaye](https://github.com/MinecraftPlaye)
|
||||
|
||||
# Emby Contributors
|
||||
|
||||
|
|
|
@ -161,7 +161,7 @@ namespace MediaBrowser.Model.Entities
|
|||
attributes.Add(StringHelper.FirstToUpper(fullLanguage ?? Language));
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(Codec) && !string.Equals(Codec, "dca", StringComparison.OrdinalIgnoreCase))
|
||||
if (!string.IsNullOrEmpty(Codec) && !string.Equals(Codec, "dca", StringComparison.OrdinalIgnoreCase) && !string.Equals(Codec, "dts", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
attributes.Add(AudioCodec.GetFriendlyName(Codec));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user