Merge remote-tracking branch 'upstream/master' into perf-rebased

This commit is contained in:
Shadowghost
2026-02-20 21:17:55 +01:00
25 changed files with 215 additions and 106 deletions

View File

@@ -449,7 +449,7 @@ namespace MediaBrowser.Controller.Entities.TV
if (!currentSeasonNumber.HasValue && !seasonNumber.HasValue && parentSeason.LocationType == LocationType.Virtual)
{
return true;
return episodeItem.Season is null or { LocationType: LocationType.Virtual };
}
var season = episodeItem.Season;