diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-06-10 07:27:54 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-10 07:27:54 -0600 |
| commit | 81cf798430a3d8c5504bc30b2d59af26fe5e2b9f (patch) | |
| tree | 27f53b5593621cd3b686aa7e0a95507c5e37e3e4 /MediaBrowser.Controller | |
| parent | 898bb955641e9ddfe5347d4406960f363b100eac (diff) | |
| parent | 198b9aa5300236d2eb02310702b2333085d0b796 (diff) | |
Merge pull request #8203 from Shadowghost/nfo-season-names
Implement NFO named season parsing
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/TV/Series.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Series.cs b/MediaBrowser.Controller/Entities/TV/Series.cs index e7a8a773e..a49c1609d 100644 --- a/MediaBrowser.Controller/Entities/TV/Series.cs +++ b/MediaBrowser.Controller/Entities/TV/Series.cs @@ -28,6 +28,7 @@ namespace MediaBrowser.Controller.Entities.TV public Series() { AirDays = Array.Empty<DayOfWeek>(); + SeasonNames = new Dictionary<int, string>(); } public DayOfWeek[] AirDays { get; set; } @@ -35,6 +36,9 @@ namespace MediaBrowser.Controller.Entities.TV public string AirTime { get; set; } [JsonIgnore] + public Dictionary<int, string> SeasonNames { get; set; } + + [JsonIgnore] public override bool SupportsAddingToPlaylist => true; [JsonIgnore] |
