Sprijin Bază de date filme (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 răspunsuri (pe pagina 1 din 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

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare