Assistance de TMDB

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éponses (sur la page 1 sur 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

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion