The Movie Database support

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 svar (på side 1 af 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.

Kan du ikke finde en film eller TV-serie? Log in og opret den.

Global

s focus the search bar
p open profile menu
esc luk et åbent vindue
? open keyboard shortcut window

PÃ¥ mediesider

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

PÃ¥ alle billedesider

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

PÃ¥ diskussionssider

n opret ny diskussion
w toggle watching status
p toggle public/private
c toggle close/open
a åben aktivitet
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Indstillinger

Want to rate or add this item to a list?

Log ind