Soporte de The Movie Database

Apart from removing ':' and '?' characters, my "Series" app expects media file names to accurately reflect "episode title".

It attempts to automatically rename a file if it doesn't match the "definitive" episode title as retrieved from tmdb. To get that definitive title, I use the "search" API call...

curl 'https://api.themoviedb.org/3/search/movie?api_key={APIKEY}&query={CURRENT_TITLE}' | jq '.results[0]'

But there's a problem with the Tom & Jerry cartoon called "DownBeat Bear". The file on my computer was originally called "Down Beat Bear.avi", for which the above API call returns title= "DownBeat Bear". But once the filename has been changed to remove that "unwanted" space between "Down" and "Beat", if I call the API with the "corrected" name, it returns me exactly the same details as before, except that title= "Down Beat Bear" (WITH THE SPACE).

It's effectively an infinite loop, because every time the app checks the title, it toggles between including or removing the space, so the filename keeps changing!

As a "workaround", I can retrieve (TMDB) "id" from the above call, then call...

curl 'https://api.themoviedb.org/3/movie/{TMDB_id}?api_key=<API_KEY>'

...and use the results from that call to get the "definitive" title (which never includes that extraneous space). My workaround should always work, but I think the way the "search" API behaves is "unusual", to say the least!

¿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