Browse Source

Merge pull request #7410 from MinecraftPlaye/show-diff-dts-versions

Cody Robibero 3 năm trước cách đây
mục cha
commit
a397cec981

+ 1 - 0
CONTRIBUTORS.md

@@ -155,6 +155,7 @@
  - [MBR-0001](https://github.com/MBR-0001)
  - [MBR-0001](https://github.com/MBR-0001)
  - [jonas-resch](https://github.com/jonas-resch)
  - [jonas-resch](https://github.com/jonas-resch)
  - [vgambier](https://github.com/vgambier)
  - [vgambier](https://github.com/vgambier)
+ - [MinecraftPlaye](https://github.com/MinecraftPlaye)
 
 
 # Emby Contributors
 # Emby Contributors
 
 

+ 1 - 1
MediaBrowser.Model/Entities/MediaStream.cs

@@ -161,7 +161,7 @@ namespace MediaBrowser.Model.Entities
                             attributes.Add(StringHelper.FirstToUpper(fullLanguage ?? Language));
                             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));
                             attributes.Add(AudioCodec.GetFriendlyName(Codec));
                         }
                         }