mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #2655] [MERGED] Fix FormatException when mapping TVDB series #9181
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/2655
Author: @lfoust
Created: 3/23/2020
Status: ✅ Merged
Merged: 3/25/2020
Merged by: @Bond-009
Base:
master← Head:tvdbruntimefix📝 Commits (4)
dcd0d93Merge pull request #1 from jellyfin/masterf3213d3Merge pull request #2 from jellyfin/mastera7e7098Merge pull request #3 from jellyfin/master128b187Prevent FormatException when mapping TV series📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
MediaBrowser.Providers/Plugins/TheTvdb/TvdbSeriesProvider.cs(+5 -1)📄 Description
Changes
If a TVDB series comes back with no runtime or a string that is not a number, it will throw a
FormatExceptionwhen trying to parse the runtime. This change just adds some checks to avoid trying to parse bad data.Issues
#2510
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.