Script no longer works

Any questions? Need some help?
Post Reply
Talisman
Posts: 4
Joined: 28 Apr 2014, 11:51

Script no longer works

Post by Talisman »

Hi I use to run this as a bat file

call filebot -script fn:utorrent-postprocess "T:/_BT/Complete" --output "T:/" -non-strict

and it worked fine.

I see things have changed so got filebot 4. ive changed utorrent to amc

call filebot -script fn:amc-postprocess "T:/_BT/Complete" --output "T:/" -non-strict

but still wont work im getting the lanch4j error
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script no longer works

Post by rednoah »

What error?
:idea: Please read the FAQ and How to Request Help.
Talisman
Posts: 4
Joined: 28 Apr 2014, 11:51

Re: Script no longer works

Post by Talisman »

FileNotFoundException: https://raw.githubusercontent.com/fileb ... ess.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/fileb ... ess.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)
Failure (°_°)
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script no longer works

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Talisman
Posts: 4
Joined: 28 Apr 2014, 11:51

Re: Script no longer works

Post by Talisman »

Yes just realised I had the post process line in. Removed and all working many thanks.

The only issue I still have is when torrent finishes dl a file it is moved to my completed folder. But since in tumor rent it auto goes into seeding the script won't move the file. I have to go into torrent completed Dls and Remove file/delete torrent and then it will work. Any idea how to overcome this?

Many thanks.
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script no longer works

Post by rednoah »

So you're calling this for every download?

Code: Select all

call filebot -script fn:utorrent-postprocess "T:/_BT/Complete" --output "T:/" -non-strict
Please READ THE MANUAL. You will get blocked if you screw with external DBs repeatedly.

You must call on the new files ONLY, not the whole folder:

Code: Select all

filebot -script fn:amc --output "X:/path/to/media" --log-file amc.log --action copy --conflict auto -non-strict --def music=y subtitles=en artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
If that's not possible you MUST set --def excludeList like this:

Code: Select all

filebot -script fn:amc --output "/path/to/output" --log-file amc.log --action copy -non-strict "/path/to/input" --def excludeList=amc.txt
And it goes without saying that you should not use --action move since that means you won't seed. Which is not something I will help you do.
:idea: Please read the FAQ and How to Request Help.
Talisman
Posts: 4
Joined: 28 Apr 2014, 11:51

Re: Script no longer works

Post by Talisman »

It is new files only. Once their moved the original folder is cleared?

Im now running.

call filebot -script fn:amc "T:/_BT/Complete" --output "T:/Media" --log-file amc.log --conflict auto -non-strict --def clean=y
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Script no longer works

Post by rednoah »

You MUST set --def excludeList
Not all files can always be moved. What if a files can't be matched to anything? What do you think would happen?

Just add --def excludeList=amc.txt like it says in the docs. Or get blocked.
:idea: Please read the FAQ and How to Request Help.
Post Reply