[PR #12891] [MERGED] Fix TMDB import failing when no IMDB ID is set for a movie #13228

Closed
opened 2025-12-22 09:44:40 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12891
Author: @benedikt257
Created: 10/27/2024
Status: Merged
Merged: 10/28/2024
Merged by: @crobibero

Base: release-10.10.zHead: issue-12884-cannot-get-metadata-from-tmdb


📝 Commits (1)

  • 880667f Use TrySetProviderId to guard against cases in which Imdb is null

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 CONTRIBUTORS.md (+1 -0)
📝 MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs (+1 -1)

📄 Description

Changes
Makes use of the new TrySetProvider method to safeguard against cases in which the TMDB API returns null for the IMDB ID.
This should ensure that the rest of the metadata setting proceeds as desired.

Issues
Fixes #12884


🔄 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/12891 **Author:** [@benedikt257](https://github.com/benedikt257) **Created:** 10/27/2024 **Status:** ✅ Merged **Merged:** 10/28/2024 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.10.z` ← **Head:** `issue-12884-cannot-get-metadata-from-tmdb` --- ### 📝 Commits (1) - [`880667f`](https://github.com/jellyfin/jellyfin/commit/880667f0ccd9d5965c767143d8e5269df27702ea) Use TrySetProviderId to guard against cases in which Imdb is null ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTORS.md` (+1 -0) 📝 `MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs` (+1 -1) </details> ### 📄 Description **Changes** Makes use of the new TrySetProvider method to safeguard against cases in which the TMDB API returns null for the IMDB ID. This should ensure that the rest of the metadata setting proceeds as desired. **Issues** Fixes #12884 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 09:44:40 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#13228
No description provided.