From 99ad0e2aea8fdc5d2e5b627525a1d78f89e677d4 Mon Sep 17 00:00:00 2001 From: LJQ Date: Sun, 3 Dec 2023 15:42:26 +0800 Subject: [PATCH] Removed maxSeasonNumber in TvdbSeriesProvider --- Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesProvider.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesProvider.cs b/Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesProvider.cs index 41c2a9b..0e1fbdb 100644 --- a/Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesProvider.cs +++ b/Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesProvider.cs @@ -525,7 +525,6 @@ private static void MapSeriesToResult(MetadataResult result, SeriesExten { if (tvdbSeries.Seasons.Count != 0) { - var maxSeasonNumber = tvdbSeries.Seasons.Max(s => Convert.ToInt32(s.Number, CultureInfo.InvariantCulture)); result.Item.EndDate = DateTime.ParseExact(tvdbSeries.LastAired, "yyyy-mm-dd", CultureInfo.InvariantCulture); } }