Add SeasonProviderIds to EpisodeInfo (#9407)
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
54cd3e6d55
commit
e58bf6b2be
|
@ -308,6 +308,11 @@ namespace MediaBrowser.Controller.Entities.TV
|
|||
id.SeriesDisplayOrder = series.DisplayOrder;
|
||||
}
|
||||
|
||||
if (Season is not null)
|
||||
{
|
||||
id.SeasonProviderIds = Season.ProviderIds;
|
||||
}
|
||||
|
||||
id.IsMissingEpisode = IsMissingEpisode;
|
||||
id.IndexNumberEnd = IndexNumberEnd;
|
||||
|
||||
|
|
|
@ -12,10 +12,13 @@ namespace MediaBrowser.Controller.Providers
|
|||
public EpisodeInfo()
|
||||
{
|
||||
SeriesProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
||||
SeasonProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
public Dictionary<string, string> SeriesProviderIds { get; set; }
|
||||
|
||||
public Dictionary<string, string> SeasonProviderIds { get; set; }
|
||||
|
||||
public int? IndexNumberEnd { get; set; }
|
||||
|
||||
public bool IsMissingEpisode { get; set; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user