popcorn-official / popcorn-api

Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player. Compatible API Anime/Movies/Show Scrapper
https://popcorntime.app
MIT License
622 stars 101 forks source link

Any possibility of taking tmdbid from Trakt? #48

Closed ghost closed 7 years ago

ghost commented 7 years ago

Since Trakt removed images yesterday, I noticed this API started pulling images from Fanart.tv. Because fanart uses arbitrary image urls, it is not possible to replace image size without making an API call directly to fanart (instead of replacing "original" with "thumb" or "medium" like you used to be able to when images were pulled from Trakt). This leads to extremely slow loading times as all the images are really high resolution.

As a compromise we were forced to grab images from tmdb, but obviously to use tmdb, you need a tmdbId (duh). This means making a call to trakt to get the tmdb id, and then to tmdb, wasting even more time.

Since Trakt is already used for grabbing metadata, would it be possible to also take tmdb id from trakt and add it to show and movie objects? This would really be a huge help.

Thanks.

ChrisAlderson commented 7 years ago

It is something I can look into.

ChrisAlderson commented 7 years ago

https://github.com/popcorn-official/popcorn-api/issues/49#issuecomment-261716369