Hola a todos.
Quisiera saber si alguien podría ayudarme con una duda que tengo acerca del "poster_path" de las películas.
Utilizo esta petición ** (https://api.themoviedb.org/3/discover/movie?language=es-MX) ** para traerme las películas con idioma Español de México. Entre todas las propiedades, recibo "title": "IntensaMente 2", "poster_path": "/aQnbNiadeGzGSjWLaXyeNxpAUIx.jpg", El titulo del "poster_path" que se ve en la imagen dice "Del revés 2".
Quisiera saber si es posible que el titulo diga "IntensaMente 2", tal cual como se ve en la propiedad "title".
Estaré atento a sus respuestas.
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por ticao2 🇧🇷 pt-BR
el 14 de agosto de 2024 a las 11:47
Google Translate
Both titles are valid for the Spanish language.
One for Spain, es-ES, Del revés 2
and the other for Mexico, es-MX, IntensaMente 2
The main poster is from Spain.
To change the main one, just vote on the images with thumbs up or down.
The main one is always the one in the API Request response.
There is currently no way to specify the country for the images. Only the language.
It is part of the plans to separate them by country and not just by language.
I have the same problem with pt-PT and pt-BR.
See here: https://trello.com/c/pHOJdjPj/73-add-region-variant-to-image-languages
The solution is to request all the posters in Spanish and manually select the one you want to use.