Page 1 of 1

Search Internet for Metadata hangs

Posted: Sat Jun 20, 2015 2:53 am
by bcolebank
When I search for meta data of some titles that might be a little vague (Bad Boys or X-Men for example) and it never finds any data.

I ran Fiddler to sniff the network traffic and this is what I'm seeing:
Request:
GET http://api.themoviedb.org/3/movie/25968 ... KEYREMOVED HTTP/1.1
Accept: application/json
Host: api.themoviedb.org
Connection: Close


Response:
HTTP/1.1 429
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Date: Sat, 20 Jun 2015 02:46:40 GMT
Retry-After: 5
Server: openresty
Content-Length: 95
Connection: Close

{"status_code":25,"status_message":"Your request count (41) is over the allowed limit of 40."}

Any idea how to get around this?

Re: Search Internet for Metadata hangs

Posted: Sat Jun 20, 2015 7:23 am
by bizmodeller
Thanks for the post and detailed info.

Yes, it looks like with some queries we are hitting a rate cap with TheMovieDB.org. This looks like it's because we are making too many calls per movie and for movies with lots of results, there are too many movies. We can optimize the code to both make less calls and also throttle the requests.

Raising as a bug and anticipate this will get resolved in the next week or two,

http://bugs.bizmodeller.com/view.php?id=329

thanks

Re: Search Internet for Metadata hangs

Posted: Mon Jun 29, 2015 11:40 pm
by bcolebank
Thanks for the reply. Looking forward to the fix.

Re: Search Internet for Metadata hangs

Posted: Thu Jul 02, 2015 8:37 pm
by bizmodeller
This is now fixed in 3.1.81.0 which will be available for download from our normal download page http://www.bizmodeller.com/ihomeserver/ ... nload.aspx within the hour. You can find it at the bottom of the page under the Prerelease/beta section.

Interactive metadata searches for movies have been sped up dramatically and you should also no longer experience the issue of the search hanging with certain searches.

Please let us know how you get on.

Re: Search Internet for Metadata hangs

Posted: Sat Jul 04, 2015 5:24 pm
by cratner
Excellent update. Not hanging anymore. Thank you.