„The Movie Database“ palaikymas

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 atsakė (on page 1 iš 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.

Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.

Bendras

s susitelkti į paieškos juostą
p profilio meniu
esc uždarykite atidarytą langą
? spartieji klavišai

Medijų puslapiuose

b grįžkite atgal (arba tėvams leidus)
e į redagavimo puslapį

TV sezono puslapiuose

(dešinė rodyklė) sekantis sezonas
(kairė rodyklė) ankstesnis sezonas

TV epizodo puslapiuose

(dešinė rodyklė) sekantis epizodas
(kairė rodyklė) ankstesnis epizodas

Visuose atvaizdžio puslapiuose

a atverti atvaizdžio pridėjimo langą

Visuose redagavimo puslapiuose

t vertimo parinktys
ctrl+ s pateikti formą

Diskusijų puslapiuose

n sukurti naują diskusiją
w perjungti peržiūros būseną
p perjungti viešasis / privatus
c perjungti uždaryti / atidaryti
a peržiūrėti aktyvumą
r atsakyti į pokalbį
l į paskutinį atsakymą
ctrl+ enter pateikti pranešimą
(dešinė rodyklė) sekantis puslapis
(kairė rodyklė) ankstesnis puslapis

Nustatymai

Norite įvertinti ar įtraukti šį elementą į sąrašą?

Prisijungti