mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
add DisplayTitle to SubtitleStreamInfo
This commit is contained in:
parent
056b33714d
commit
dbf11dcbb3
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue