Fanart.tv integration broken due to DB failure on old API
Posted: 02 Nov 2015, 18:50
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.
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.