Assistance de TMDB

Hi Travis!

I've noticed recently (in the past week or so) that the poster_path in some of the requests of the movie search endpoint has the full path e.g. https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

Because of this I am ending up with the following URI https://image.tmdb.org/t/p/w150/https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

Any idea why? I'm not the only person having this issue.

1 réponse (sur la page 1 sur 1)

Jump to last post

Hi @tidusjar,

The app that runs the search service has no idea of the full image URL (it's not even added to that codebase) so that's not what's happening... how are you building your URLs? All of my tests show the standard file path being returned:

https://api.themoviedb.org/3/search/movie?api_key=###&query=lord+of+the+rings
"poster_path":"\/zn5dEU1ygVeCEtFgttvujW3dCUj.jpg"
"backdrop_path":"\/pIUvQ9Ed35wlWhY2oU6OmwEsmzG.jpg"

Etc, etc...

Because of this I am ending up with the following URI https://image.tmdb.org/t/p/w150/https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

That image URL is definitely wrong and will of course error. I'd take a look at how you're building the URL, it looks like its doubling up somehow.

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