CollinHeist / TitleCardMaker

Automated title card maker for Plex, Jellyfin, and Emby
https://titlecardmaker.com/
GNU General Public License v3.0
450 stars 22 forks source link

Match by TVDb ID, not season+episode number #20

Closed CollinHeist closed 2 years ago

CollinHeist commented 2 years ago

TMDb supports querying by external ID via https://api.themoviedb.org/3/find/{id}, this can prevent false data pulls from TMDb through the interface.

CollinHeist commented 2 years ago

Sonarr does not return the episode TVDb ID in API requests, meaning this would require the user to have an active TVDb subscription (or a change to the Sonarr API, but this issue implies they don't want to change this behavior).

Potential options are:

However, the series TVDb ID is returned by Sonarr, so can be used to query TMDb for matching the series ID (remove need for manual fixes, and does not use API key)

CollinHeist commented 2 years ago

Opened issue 4921 on the Sonarr GitHub, and they have added the TVDb episode ID to the API requests. Feature should be implemented from there