Soporte de The Movie Database

Hi !

I'd like to recover ALL videos from a movie I use the 'https://api.themoviedb.org/3/ID_TMDB/videos?api_key=XXXX' It only seems to work if the language is indicated (while it is only optional normally)

Ex for the movie 30800: 1 trailer only exists in 'language=de' If I do not specify the language : answer without video If I put '&language=de' at the end of the request, the video is well proposed

What is the problem ? How to indicate "all languages" ('&language=*' does not work)

Thanks for your help ;o)

2 respuestas (en la página 1 de 1)

Jump to last post

UP, UP, UP...

We would appreciate it if you help. Thanks...

Hi there,

I've created a new ticket to think about this here but as a general rule, the API doesn't provide a way to fallback language based data. The reason for this is because it makes caching data nearly impossible. There is currently work being done to get the API to a point that doesn't need a cache, in which case fallbacks would be much more practical, but until that work is complete I am not sure if this will be completed.

I would imagine this will work the same as the image query, with its include_image_language filter.

¿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 discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
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