Soporte de The Movie Database

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 respuesta (en la página 1 de 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.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión