Does the API support being able to choose only 3x2 poster size with the highest rating, if no 3x2 choose highest rated. Kodi should add this into there scraper
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on December 9, 2015 at 2:15 PM
Hi yvne,
It doesn't support an explicit 2:3 ratio selector but, if Kodi were to use the
poster_path
field that gets returned in the primary movie/tv object, they would get to use the "primary" image feature that we support on the website (the requirements to be picked as primary mean that it would be a perfect 2:3).To clarify, this won't always mean a perfect ratio poster since not all items have a primary set but our rules for choosing the the poster that gets returned in the
poster_path
are pretty decent. We go down, hunting for the best image in this order:requested_language_primary
requested_language
en_primary
en
fallback
(highest rated if none of the above conditions are met)So this has 2 main benefits, first, by using the
poster_path
field you'll get the same results as the website. Secondly, we've already down all the work trying to find the best image so the client doesn't need to worry about it.Cheers.