diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-08-23 23:59:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 23:59:13 +0200 |
| commit | 80bdfd1d98bbc5b70231eff6bef218e572d08d9e (patch) | |
| tree | a5645475989bb1cfee432b159b89c4cfb1c52bdf | |
| parent | f090071db2b1bf75b74025d31e8b0fad81b4f1f5 (diff) | |
| parent | bfec33654931cf062a06ed7291a95cc90dec701f (diff) | |
Merge pull request #12498 from scampower3/pass-seriesdisplayorder-seasoninfo
Pass Series Display Order information to SeasonInfo
| -rw-r--r-- | MediaBrowser.Controller/Entities/TV/Season.cs | 1 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Providers/SeasonInfo.cs | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Season.cs b/MediaBrowser.Controller/Entities/TV/Season.cs index 083f12746..181b9be2b 100644 --- a/MediaBrowser.Controller/Entities/TV/Season.cs +++ b/MediaBrowser.Controller/Entities/TV/Season.cs @@ -238,6 +238,7 @@ namespace MediaBrowser.Controller.Entities.TV if (series is not null) { id.SeriesProviderIds = series.ProviderIds; + id.SeriesDisplayOrder = series.DisplayOrder; } return id; diff --git a/MediaBrowser.Controller/Providers/SeasonInfo.cs b/MediaBrowser.Controller/Providers/SeasonInfo.cs index 1edceb0e4..3af5ec2a3 100644 --- a/MediaBrowser.Controller/Providers/SeasonInfo.cs +++ b/MediaBrowser.Controller/Providers/SeasonInfo.cs @@ -1,4 +1,5 @@ #pragma warning disable CA2227, CS1591 +#nullable disable using System; using System.Collections.Generic; @@ -13,5 +14,7 @@ namespace MediaBrowser.Controller.Providers } public Dictionary<string, string> SeriesProviderIds { get; set; } + + public string SeriesDisplayOrder { get; set; } } } |
