Movie List – movies are all null (Sometimes)
Hi all,
I’ve another problem^
I was just implementing the list/{id} method, when I realized that the TMDb API sometimes returns only null values for movies in a movie list.
For example:
http://api.themoviedb.org/3/list/509ec17b19c2950a0600050d?api_key=################################
Return the following JSON:
{"created_by":"Travis Bell",
"description":"Here's my list of best picture winners for the Oscars. Thought it would be neat to see them all together. There's a lot of movies here I have never even heard of.",
"favorite_count":12,"id":"509ec17b19c2950a0600050d","items":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null],
"item_count":85,"iso_639_1":"en","name":"Best Picture Winners - The Academy Awards","poster_path":"/efBm2Nm2v5kQnO0w3hYcW6hVsJU.jpg"}
But when I open the list on the TMDb all movies are getting displayed
http://www.themoviedb.org/list/509ec17b19c2950a0600050d
…And some other API requests are working as expected, for example:
http://api.themoviedb.org/3/list/50cbe90b19c2956de8047b4f?api_key=################################
Edit:
The item_status method returns also incorrect data for the list with id: 509ec17b19c2950a0600050d
Request: (MovieId 1422 => The Departed)
JSON:
{"id":"509ec17b19c2950a0600050d","item_present":false}
(The movie is present in the list, but the API returns item_present=false)
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת Travis Bell
ב-יוני 25, 2013 ב-9:51לפני חצות יום
Hey musiumincapitiss,
Thanks for reporting this. I've created a new ticket about the list items being null.
I'm pretty sure the item_status will work once the item is present, but in this case since they are all null, naturally they are not. I'll take a look at this today.
Thanks.
תגובה מאת tmdb78260312
ב-יוני 25, 2013 ב-10:04לפני חצות יום
Thanks for your help.
תגובה מאת Travis Bell
ב-יוני 25, 2013 ב-12:21אחרי חצות יום
The lists should be working now.
Cheers.
תגובה מאת tmdb78260312
ב-יוני 26, 2013 ב-4:26לפני חצות יום
Works like a charme now, thanks.