Sprijin Bază de date filme (The Movie Database)

Doing an api call like:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THEAPIKEY&language=en-US&append_to_response=images

always seems to return an empty array of posters.
I've tried a few different tv series and all of them seem to have the same behavior.
It looks like the /tv/{tv_id}/season/{season_number} responds the same, also returning an empty list of posters.

Am I doing something wrong here, or is fetching season images currently broken?

2 răspunsuri (pe pagină 1 din 1)

Jump to last post

I just tested it.
It seems to me that all the images came.

Your API Request is this:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THEAPIKEY&language=en-US&append_to_response=images

Mine is this

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&language=en-US&append_to_response=images

EDIT
OK. Understand.
In fact, it does not return the images.
I do not know why.
Let's wait for Travis Bell to come by and tell us what the problem is.


EDIT 2
Apparently if you do not specify language-REGION the images will return.

https://api.themoviedb.org/3/tv/71912/season/1/images?api_key=THE_KEY  
https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&append_to_response=images

EDIT 3
If you want to keep the language-REGION specification, then you need to specify the language of the images you want using the parameter &include_image_language =

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&language=en-US&append_to_response=images&include_image_language=en,pt,hu,null  

More information about this parameter, read here:
https://developers.themoviedb.org/3/getting-started/image-languages

Yes, the solution is to add include_image_language:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=###&language=en-US&append_to_response=images&include_image_language=en,null

If you wanted the images that haven't been tagged, and those tagged as English. This is all outlined in the docs here.

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

Global

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

Pe paginile media

b înapoi (sau la pornire atunci când este cazul)
e accesați pagina de editare

Pe paginile sezonului TV

(săgeată dreapta) mergeți la sezonul următor
(săgeată stânga) mergeți la sezonul precedent

Pe paginile episoadelor TV

(săgeată dreapta) mergeți la următorul episod
(săgeată stânga) mergeți la episodul anterior

Pe toate paginile de imagini

a deschideți fereastra pentru adăugarea imaginii

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimiteți formularul

Pe paginile de discuții

n creați o nouă discuție
w comutați stare de vizionare
p comutați public/privat
c comutați închidere/deschidere
a deschide activitatea
r răspuns la discuție
l mergeți la ultimul răspuns
ctrl+ enter trimiteți mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina anterioară

Setări

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

Autentificare