Axuda de The Movie Database

I've not had problems for the API, which is a long time ago.

I am, however, having problems with the posters for the movie "Another Earth" (https://www.themoviedb.org/movie/55420-another-earth). Even though I can correctly get the images list using a correctly compiled url (http://api.themoviedb.org/3/movie/55420/images?api_key=XXXXXX), for some reason I cannot download any poster images.

To clarify, I disabled exception handling within my application and again tried to download the posters list for "Another Earth". From there, when attempting to download the main image ("/yvjrhdXPEPB5rZbLjXCnfL4zY6V.jpg"), I got back the exception error message "JPEG error #53"...

I know my code works, because this is the first time I've had this problem since I started using your API, so it is perhaps related to the movie itself?

4 respostas (na páxina 1 de 1)

Jump to last post

Just posting to tell you that I moved your thread from Content Issues to API support, since it's API related, and tends to be buried under reports in the Content Issues section.

Hi Peter,

Indeed, https://image.tmdb.org/t/p/original/yvjrhdXPEPB5rZbLjXCnfL4zY6V.jpg is actually a png and not a jpg. Weird that this happened. I won't have time to look at this for a bit so for now you'll want to either force convert these to jpg's locally or skip them entirely if you come across the error again.

Cheers.

Thanks Travis.

Now that I know what is causing the error in my code, I can say that I can wait until the issue is resolved and the images are JPG. The thing is, I could resolve this myself right now by adding PNG support, except I have not yet found a compatible Delphi 10 Seattle library that provides acceptable support for PNG.

You don't happen to know of any?

Hi Peter,

I am not aware of any, no. My knowledge of anything Delphi is basically zero.

Happy searching :D

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión