filebot/scripts

It does not seem to fetch the file from here?

Closed this issue · 2 comments

Check:

FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/master/amc.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/master/amc.groovy
at net.sourceforge.filebot.web.WebRequest.fetch(WebRequest.java:140)
at net.sourceforge.filebot.web.WebRequest.fetchIfModified(WebRequest.java:118)
at net.sourceforge.filebot.web.CachedResource.fetchData(CachedResource.java:32)
at net.sourceforge.filebot.web.CachedResource.fetchData(CachedResource.java:11)
at net.sourceforge.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:133)
at net.sourceforge.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:78)
at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:236)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:84)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:123)
at net.sourceforge.filebot.Main.main(Main.java:192)

Please update your FileBot

Caution:
If using ubuntu 14.04, there is no Java 8 available. FileBot 4.5 won't run on 7.
Stick with 4.2 while openjdk-8 becomes available on the repositories.
You'll need to run the scripts locally.
Copy amc.groovy to a local directory (i.e. ~/.filebot/scripts) along with the 3 files in the lib folder.

.filebot/scripts/amc.groovy
.filebot/scripts/lib
.filebot/scripts/lib/web.groovy
.filebot/scripts/lib/htpc.groovy
.filebot/scripts/lib/ant.groovy

Execute AMC as filebot -script /full/path/to/script/amc.groovy .....

Notice it's -script FILE not -script fn:

To go back to 4.2, download the deb needed from http://sourceforge.net/projects/filebot/files/filebot/
Then run sudo dpkg --force-depends -i filebot_4.2_*.deb.

Make sure you got Java 7installed or run sudo apt-get --assume-yes install openjdk-7-jre

Cheers!

Note: check the ownership of the directories inside ~/.filebot/ after installing. If they are set to root:root chmod them to the user who runs the script (you?).