Skip to content

Commit

Permalink
Removed maxSeasonNumber in TvdbSeriesProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
scampower3 committed Dec 3, 2023
1 parent 647ba15 commit 99ad0e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Jellyfin.Plugin.Tvdb/Providers/TvdbSeriesProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ private static void MapSeriesToResult(MetadataResult<Series> 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);
}
}
Expand Down

0 comments on commit 99ad0e2

Please sign in to comment.