This project has moved. 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 11:32 AM

Thanks for that...code updated.