mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-07 07:34:42 -04:00
add DisplayTitle to SubtitleStreamInfo
This commit is contained in:
parent
056b33714d
commit
dbf11dcbb3
@ -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)
|
||||||
|
@ -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; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user