damienhaynes / TraktRater

TraktRater is a tool written in C# to help users transfer user episode, show and movie user ratings and watchlists from multiple media database sites around the web.
642 stars 36 forks source link

Change episode lookup to use Trakt API #101

Closed damienhaynes closed 5 years ago

damienhaynes commented 5 years ago

When importing episode ratings from IMDb it does a lookup from TVDb API to get the all information required basis the episode name in the CSV. The problem is that the TVDb API no longer contains FirstAired info which was used to find a match.

Now that Trakt has the following endpoint: /shows/id/seasons?extended=episodes https://trakt.docs.apiary.io/#reference/seasons/summary/get-all-seasons-for-a-show

where ID=Trakt ID, Trakt slug, or IMDB ID

We can use that to lookup the needed info.