Page 1 of 1

limit+timeout the attempts filebot makes to TheTVDB

Posted: 08 Apr 2020, 20:45
by Alfke
Hi Rednoah,

I've noticed when TheTVDB has API issues, it makes FileBot throw java errors, even though there are no issues with Filebot or my Linux system....so I have a couple questions:

1) Is it possible to limit+timeout the attempts filebot makes to TheTVDB's API?
2) Is it possible to create an option for filebot to "failover" to TheMovieDB as a backup if API connection attempts to TheTVDB craps out?

Food for thought...

Alfke

Re: Issues with TheTVDB

Posted: 08 Apr 2020, 21:00
by rednoah
1.
Yes, the net.filebot.CachedResource.retryLimit and net.filebot.CachedResource.retryDelay system properties can be adjusted if the defaults don't work for your use case:

Code: Select all

export FILEBOT_OPTS="-Dnet.filebot.CachedResource.retryLimit=5 -Dnet.filebot.CachedResource.retryDelay=PT5M"

2.
No, but you can just use TheMovieDB instead altogether. AFAIK, it's more stable, though somewhat less popular / update-to-date than TheTVDB.

Re: limit+timeout the attempts filebot makes to TheTVDB

Posted: 08 Apr 2020, 21:05
by Alfke
Thank you for the speedy response!

Alfke