This project has moved and is read-only. For the latest updates, please go here.
1
Vote

Sample contains endless loop

description

A minor update needs to be made to WatTmdb.Sample.Program:
int page = 1;
while (true)
{
    var result = api.SearchMovie(search, page);
    // etc..
}
Should be:
int page = 1;
while (true)
{
    var result = api.SearchMovie(search, page++); // <-- need to increment the page for the next call.
    // etc..
}

comments

watway wrote Mar 11, 2015 at 12:32 PM

Thanks for that...code updated.