diff options
| author | theguymadmax <theguymadmax@proton.me> | 2026-02-13 11:52:10 -0500 |
|---|---|---|
| committer | theguymadmax <theguymadmax@proton.me> | 2026-02-13 11:52:10 -0500 |
| commit | 2757c18312943cbc17ce01b100f73b411f596a98 (patch) | |
| tree | 1d337eed04744ec3fd4bb148409753b8d4958f58 /MediaBrowser.Controller | |
| parent | 8b5914001d63de809122997a9bb6d9253bfef850 (diff) | |
Fix episodes appearing in Season Unknown incorrectly and prevent unnecessary virtual season creation
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Entities/TV/Series.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Series.cs b/MediaBrowser.Controller/Entities/TV/Series.cs index 6396631f9..b3956c823 100644 --- a/MediaBrowser.Controller/Entities/TV/Series.cs +++ b/MediaBrowser.Controller/Entities/TV/Series.cs @@ -451,7 +451,8 @@ namespace MediaBrowser.Controller.Entities.TV if (!currentSeasonNumber.HasValue && !seasonNumber.HasValue && parentSeason.LocationType == LocationType.Virtual) { - return true; + var episodeSeason = episodeItem.Season; + return episodeSeason is null || episodeSeason.LocationType == LocationType.Virtual; } var season = episodeItem.Season; |
