Hi,
SearchContainer results = client.SearchMovie("Spiderman"); return null; Few days back it returned list. If i search for "Batman" it return normal list. Imo bug with last update.
Bb
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on May 9, 2013 at 6:53 PM
Hi Dec-on,
If I search for "spiderman":
I'm getting the results I would expect. What query are you doing?
Reply by Dec-
on May 9, 2013 at 7:05 PM
SearchContainer results = client.SearchMovie("Spiderman"); foreach (SearchMovie result in results.Results) { Console.WriteLine(result.Title); Console.WriteLine(result.Id); Console.WriteLine(result.PosterPath);
And it returns null;
and if i go with 007
SearchContainer results = client.SearchMovie("007"); foreach (SearchMovie result in results.Results) { Console.WriteLine(result.Title); Console.WriteLine(result.Id); Console.WriteLine(result.PosterPath); } return list...
Reply by Travis Bell
on May 9, 2013 at 7:16 PM
There are some movies without a poster, which is a null field. id 68658, for example. You will have to catch those, this doesn't have anything to do with searching.
Reply by Dec-
on May 9, 2013 at 7:20 PM
Yea my bad. Bye