Explorar o código

Upper first on subtitle language

Eric Reed %!s(int64=9) %!d(string=hai) anos
pai
achega
214364cd0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Model/Entities/MediaStream.cs

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

@@ -89,7 +89,7 @@ namespace MediaBrowser.Model.Entities
 
                     if (!string.IsNullOrEmpty(Language))
                     {
-                        attributes.Add(Language);
+                        attributes.Add(StringHelper.FirstToUpper(Language));
                     }
                     if (!string.IsNullOrEmpty(Codec))
                     {