Page 1 of 1

Fanart.tv integration broken due to DB failure on old API

Posted: 02 Nov 2015, 18:50
by courtarro
The database for Fanart.tv's old API version has been down for at least a week now. According to a developer at that website, there's some issue with DB replication that only affects the old API version. The dev seems to consider it low urgency since it's the old API. Because the API is unusable, scripts that involve the FanartTV webservice in FileBot are no longer working.

Here's an example script that fails:

https://github.com/filebot/scripts/blob ... mdb.groovy

And here's a URL that should work but doesn't:

http://api.fanart.tv/webservice/movie/7 ... ml/all/1/2

Here's the post where the Fanart.tv dev says people should move to the new v3 API.

https://forum.fanart.tv/viewtopic.php?f=4&t=398

If the old API database is fixed, the problem from FileBot's end will go away. However, it'll probably be best that FileBot shift over to the new API anyway. The code for the FanartTV api client in FileBot's sources looks pretty simple, so maybe I'll have some time to implement this change myself and submit it as a patch. Not sure yet.

Re: Fanart.tv integration broken due to DB failure on old AP

Posted: 03 Nov 2015, 01:55
by rednoah
There's a new API? I'll look into that.

EDIT:

Fixed with r3262.

EDIT:

Please do some testing for me. The next release will use v3 if it works well.

Re: Fanart.tv integration broken due to DB failure on old AP

Posted: 05 Nov 2015, 18:12
by courtarro
rednoah wrote:Fixed with r3262.
Works perfectly. Thanks for the quick fix!

Re: Fanart.tv integration broken due to DB failure on old AP

Posted: 11 Nov 2015, 01:38
by TehBotol
bit strange as to why the fetch tmdb context menu http://www.filebot.net/forums/viewtopic.php?f=3&t=1222
doesn't get backdrop anymore for months now

im updating the filebot right now and will try to see it if it's related to this

thanks for the update rednoah

edit: working great in 3296 version, the web installer setup sadly is not updated yet. so need to download the jar manually