The Movie Database Support

Hi, I am using the .NET WatTMDB dll in my application, plus I have just received my first TMDB api key. Problem is I don't know whether WatTMDB dll isnt working or its the new TMDB key not working. E.g. The message I'm getting back when I search for 'The Lion King' is....

{"status_code":6,"status_message":"Invalid id - The pre-requisite id is invalid or not found"}

Any assistance would brighten my day.
Thanks!

1 reply (on page 1 of 1)

Jump to last post

Sorry...my bad (although was a little misleading). I was passing and index of 0 into the api.SearchMovie() method. When I passed 1 it worked. I guess it's a page not an index. Doh!

private void buttonSearch_Click(object sender, EventArgs e) { TmdbMovieSearch res = api.SearchMovie(textBoxTitle.Text, 1); if (res.total_pages > 0) { foreach (MovieResult movie in res.results) { textBoxResults.Text = movie.id.ToString(); textBoxResults.AppendText(movie.title); } } else { textBoxResults.Text = api.ResponseContent.ToString(); } }

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

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

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login