Explorar o código

add DisplayTitle to SubtitleStreamInfo

Luke Pulverenti %!s(int64=9) %!d(string=hai) anos
pai
achega
dbf11dcbb3

+ 2 - 1
MediaBrowser.Model/Dlna/StreamInfo.cs

@@ -335,7 +335,8 @@ namespace MediaBrowser.Model.Dlna
                 Name = stream.Language ?? "Unknown",
                 Name = stream.Language ?? "Unknown",
                 Format = subtitleProfile.Format,
                 Format = subtitleProfile.Format,
                 Index = stream.Index,
                 Index = stream.Index,
-                DeliveryMethod = subtitleProfile.Method
+                DeliveryMethod = subtitleProfile.Method,
+                DisplayTitle = stream.DisplayTitle
             };
             };
 
 
             if (info.DeliveryMethod == SubtitleDeliveryMethod.External)
             if (info.DeliveryMethod == SubtitleDeliveryMethod.External)

+ 1 - 0
MediaBrowser.Model/Dlna/SubtitleStreamInfo.cs

@@ -7,6 +7,7 @@ namespace MediaBrowser.Model.Dlna
         public string Name { get; set; }
         public string Name { get; set; }
         public bool IsForced { get; set; }
         public bool IsForced { get; set; }
         public string Format { get; set; }
         public string Format { get; set; }
+        public string DisplayTitle { get; set; }
         public int Index { get; set; }
         public int Index { get; set; }
         public SubtitleDeliveryMethod DeliveryMethod { get; set; }
         public SubtitleDeliveryMethod DeliveryMethod { get; set; }
         public bool IsExternalUrl { get; set; }
         public bool IsExternalUrl { get; set; }