This project is read-only.

Lots of null values...

May 31, 2011 at 2:46 PM
Edited May 31, 2011 at 2:47 PM

using - Visual Studio C#

I seem to be getting back only null results when I try to get the cast members for a movie. Everything else is working fine so I know I am connecting ok and retrieving information.Here is a little code snippet of how I am getting cast info-

 

TmdbMovie movie;
TmdbCastPerson[] cast;
cast = movie.Cast;

 

Nothing real fancy. But like I said, movie.Name or any other variable comes up with values no problem.
Actually, here is a shot of all the variables on the movie. There are a lot of null values. Is my API out of date or something? I just downloaded the latest version from here (1.2?), or so I thought.Here is a watch I put on the variable-

 

It's like this for all movies, so it isn't just that the movie doesn't have those fields.
Any ideas?

Dec 31, 2011 at 10:38 AM
Edited Jan 3, 2012 at 8:19 PM

_______________________________

Jan 4, 2012 at 8:01 PM

I was just using it wrong. When you use the movie search function your only get a few of the values. After you search for the movie you need to use the movieID and get the rest the values with the movie info funtion. I know this is vague but it has been a while and I don't have my code here with me.