This project has moved. For the latest updates, please go here.

So, how do you use this?

Jul 18, 2012 at 11:21 AM
Edited Jul 18, 2012 at 9:06 PM

Using v0.3...

The "documentation" may as well not even exist. I have this:, and there doesn't appear to be any data:

            WatTmdb.V3.Tmdb tmdb = new Tmdb(m_readOnlyKey, "en");
            tmdb.GetConfiguration();
            movieName = "Dances With Wolves";
            TmdbMovieSearch search = tmdb.SearchMovie(movieName, 1);

The only property that has info is the Error which is "Object reference not set to the instance of an object."

There are no xml comments in the lib, and you didn't provide the source, so now I have to download dotpeek to look in your assembly. Lastly, since we don't have the source, we can't debug because you didn't provide the pdb files. What a pain.

 

In any case, I used DotPeek to capture the source code, compiled it, and found the problem. In the 2nd constructor, you have this line of code:

this.ApiKey = this.ApiKey;

When I changed it to this, it worked fine:

this.ApiKey = apiKey;

Coordinator
Jul 18, 2012 at 11:48 PM

Thanks for finding that issue, appreciate the effort.  Not sure how that happened as the previous version was correct.

Will release the fix now, and will include the pdb file.

Btw, the source code is available for download from the Source Code tab, there's a Download link over to the right.