mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4221] [MERGED] Fix InvalidOperationException in TvdbSeriesProvider.MapSeriesToResult #9954
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4221
Author: @Spacetech
Created: 9/28/2020
Status: ✅ Merged
Merged: 10/10/2020
Merged by: @dkanada
Base:
master← Head:tvdb_series_provider_InvalidOperationException📝 Commits (3)
303eccaFix InvalidOperationException in TvdbSeriesProvider881a7faupdate based on suggestionsfd7a369simplify EndDate query📊 Changes
1 file changed (+16 additions, -14 deletions)
View changed files
📝
MediaBrowser.Providers/Plugins/TheTvdb/TvdbSeriesProvider.cs(+16 -14)📄 Description
Fixes the following error:
This happens when determining the end date for a series. Specifically, if
episodesPageorAiredSeasonscontain no elements (likely due to incomplete / bad data in TVDB).Changes
Max()ing them.MapSeriesToResultto be async. Since the caller is async and this method was using.Resultfor tasks, it should be an async method.Issues
None that I saw
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.