TMDB Episode provider is not saving External IDs other than TVDB #2956

Closed
opened 2026-02-06 22:36:44 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @SenorSmartyPants on GitHub (Apr 20, 2021).

8f99bdd07c/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProvider.cs (L124-L127)

TMDB can provide multiple external IDs, as well as TMDB id. But only TVDB is being saved.

episodeResult.id equals TMDB episode id.

external_ids: {
imdb_id: "tt14155862",
freebase_mid: null,
freebase_id: null,
tvdb_id: null,
tvrage_id: null
}
Originally created by @SenorSmartyPants on GitHub (Apr 20, 2021). https://github.com/jellyfin/jellyfin/blob/8f99bdd07ce037b633993f06f5a68dcb293d6828/MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProvider.cs#L124-L127 TMDB can provide multiple external IDs, as well as TMDB id. But only TVDB is being saved. episodeResult.id equals TMDB episode id. ``` external_ids: { imdb_id: "tt14155862", freebase_mid: null, freebase_id: null, tvdb_id: null, tvrage_id: null } ```
Author
Owner

@SenorSmartyPants commented on GitHub (Apr 21, 2021):

Please also set TMDBId, which TMDB does not consider external, but JF would.

Something like this.

            if (!string.IsNullOrEmpty(episodeResult.Id))
            {
                item.SetProviderId(MetadataProvider.Tmdb, episodeResult.Id);
            }
@SenorSmartyPants commented on GitHub (Apr 21, 2021): Please also set TMDBId, which TMDB does not consider external, but JF would. Something like this. ``` if (!string.IsNullOrEmpty(episodeResult.Id)) { item.SetProviderId(MetadataProvider.Tmdb, episodeResult.Id); } ```
Author
Owner

@cvium commented on GitHub (Apr 22, 2021):

@SenorSmartyPants I can add the tmdb id as well, but the links will not show in the UI due to the way this has been coded.

@cvium commented on GitHub (Apr 22, 2021): @SenorSmartyPants I can add the tmdb id as well, but the links will not show in the UI due to the way this has been coded.
Author
Owner

@SenorSmartyPants commented on GitHub (Apr 22, 2021):

Having links in the UI would be great if not too much trouble.

@SenorSmartyPants commented on GitHub (Apr 22, 2021): Having links in the UI would be great if not too much trouble.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#2956