The Movie Database Support

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

1 reply (on page 1 of 1)

Jump to last post

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:

  1. requested_language_primary
  2. requested_language
  3. en_primary
  4. en
  5. 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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login