Page 1 of 1

TVDB blocked in China

Posted: 23 Jun 2019, 08:23
by Frazzle
I have been the AMC script for a while now without problems. However, I have recently moved to China which blocks many websites, including for some reaosn TVDB. The TVMaze works fine, and when using the GUI I can easily use the TVMaze for renaming and moving the files.

Can I change the AMC script to lookup TV shows via TVMaze instead of TVDB?

Cheers.

Re: TVDB blocked in China

Posted: 23 Jun 2019, 08:51
by rednoah
Yes, but you'll have to fork the script and make your own modifications.

Alternatively, you can try to set net.filebot.TheTVDB.url to a TheTVDB mirror domain, such as this one:

Code: Select all

-Dnet.filebot.TheTVDB.url=https://tvdb2.plex.tv/
:arrow: https://www.reddit.com/r/PleX/comments/ ... dium=web2x

Re: TVDB blocked in China

Posted: 23 Jun 2019, 10:35
by Frazzle
Thanks - i tried that mirror in my Chrome and it looks to work, so if I can update in the scripts it should hopefully work.

Could you point me on how (or where) to set net.filebot.TheTVDB.url to the mirror as you suggest?

Thanks.

Re: TVDB blocked in China

Posted: 23 Jun 2019, 10:49
by rednoah
You can use the JAVA_OPTS like in the example here:
viewtopic.php?f=3&t=3913

Alternatively, newer versions of FileBot allow you to permanently set Java System Properties for FileBot like so:

Code: Select all

filebot -script fn:properties --def net.filebot.TheTVDB.url=https://tvdb2.plex.tv/

Re: TVDB blocked in China

Posted: 23 Jun 2019, 14:30
by Frazzle
That worked a treat, much appreciated. Thanks.