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.
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.
Travis Bell 的回复
于 2013 年 05 月 09 日 6:53下午
Hi Dec-on,
If I search for "spiderman":
I'm getting the results I would expect. What query are you doing?
Dec- 的回复
于 2013 年 05 月 09 日 7:05下午
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...
Travis Bell 的回复
于 2013 年 05 月 09 日 7:16下午
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.
Dec- 的回复
于 2013 年 05 月 09 日 7:20下午
Yea my bad. Bye