[PR #2655] [MERGED] Fix FormatException when mapping TVDB series #9181

Closed
opened 2026-02-07 05:57:37 +03:00 by OVERLORD · 0 comments
Owner

📋 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: masterHead: tvdbruntimefix


📝 Commits (4)

  • dcd0d93 Merge pull request #1 from jellyfin/master
  • f3213d3 Merge pull request #2 from jellyfin/master
  • a7e7098 Merge pull request #3 from jellyfin/master
  • 128b187 Prevent 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 FormatException when 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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/2655 **Author:** [@lfoust](https://github.com/lfoust) **Created:** 3/23/2020 **Status:** ✅ Merged **Merged:** 3/25/2020 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `tvdbruntimefix` --- ### 📝 Commits (4) - [`dcd0d93`](https://github.com/jellyfin/jellyfin/commit/dcd0d93f44bf1befea5e61993bc868b5846102a0) Merge pull request #1 from jellyfin/master - [`f3213d3`](https://github.com/jellyfin/jellyfin/commit/f3213d3bef8a49a5e91cafaba2eaefb5592438c6) Merge pull request #2 from jellyfin/master - [`a7e7098`](https://github.com/jellyfin/jellyfin/commit/a7e7098da68311eb2adac67500abae0d2bd4d69f) Merge pull request #3 from jellyfin/master - [`128b187`](https://github.com/jellyfin/jellyfin/commit/128b18750f04649df7f7374ba8b08168dd49a591) Prevent FormatException when mapping TV series ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Providers/Plugins/TheTvdb/TvdbSeriesProvider.cs` (+5 -1) </details> ### 📄 Description **Changes** If a TVDB series comes back with no runtime or a string that is not a number, it will throw a `FormatException` when trying to parse the runtime. This change just adds some checks to avoid trying to parse bad data. **Issues** #2510 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 05:57:37 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9181