FileBot not working again w/ uTorrent (new PC same settings)

Any questions? Need some help?
Post Reply
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

FileBot not working again w/ uTorrent (new PC same settings)

Post by nzhardcore »

Hi there,

Issues again with FileBot and uTorrent on new PC, using exact same settings for both programs and script.

Refer to post: http://www.filebot.net/forums/viewtopic.php?f=8&t=1186

This is the run program script in uTorrent:

filebot -script head:amc --output "%D" --log-file amc.log --log-lock true --action move --conflict override -non-strict --def music=n artwork=n "seriesFormat={n} {S00E00}" "movieFormat={n} ({y})" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"

This is the error log:

Apr 15, 2014 10:30:27 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
FileNotFoundException: https://raw.github.com/filebot/scripts/head/amc.groovy
java.io.FileNotFoundException: https://raw.github.com/filebot/scripts/head/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:238)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:94)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
at net.sourceforge.filebot.Main.main(Main.java:190)
Failure (°_°)
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by nzhardcore »

Changed uTorrent run script to:

filebot -script head:amc --output "%D" --log-file amc.log --log-lock true --action move --conflict override -non-strict --def music=n artwork=n "seriesFormat={n} {S00E00}" "movieFormat={n} ({y})" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"

And now log reads:

Parameter: music = n
Parameter: artwork = n
Parameter: seriesFormat = {n} {S00E00}
Parameter: movieFormat = {n} ({y})
Parameter: ut_dir = E:\Movies & TV Shows\TV Shows\The Blacklist\Season 1\The Blacklist S01E13
Parameter: ut_file = RARBG.com.txt
Parameter: ut_kind = multi
Parameter: ut_title = The Blacklist S01E13
Parameter: ut_label = The Blacklist
Parameter: ut_state = 11
Input: E:\Movies & TV Shows\TV Shows\The Blacklist\Season 1\The Blacklist S01E13\The.Blacklist.S01E13.720p.HDTV.X264-DIMENSION.mkv
Exclude: E:\Movies & TV Shows\TV Shows\The Blacklist\Season 1\The Blacklist S01E13\~uTorrentPartFile_2E701BFC.dat
MissingMethodException: No signature of method: Script2.detectSeriesName() is applicable for argument types: (java.io.File, java.lang.Boolean, java.lang.Boolean) values: [E:\Movies & TV Shows\TV Shows\The Blacklist\Season 1\The Blacklist S01E13\The.Blacklist.S01E13.720p.HDTV.X264-DIMENSION.mkv, ...]
Possible solutions: detectSeriesName(java.lang.Object), detectSeriesName(java.lang.Object, java.lang.Object)
groovy.lang.MissingMethodException: No signature of method: Script2.detectSeriesName() is applicable for argument types: (java.io.File, java.lang.Boolean, java.lang.Boolean) values: [E:\Movies & TV Shows\TV Shows\The Blacklist\Season 1\The Blacklist S01E13\The.Blacklist.S01E13.720p.HDTV.X264-DIMENSION.mkv, ...]
Possible solutions: detectSeriesName(java.lang.Object), detectSeriesName(java.lang.Object, java.lang.Object)
at Script3$_run_closure54.doCall(Script3.groovy:187)
at Script3.run(Script3.groovy:178)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(ScriptShell.java:102)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:95)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
at net.sourceforge.filebot.Main.main(Main.java:190)
Failure (°_°)
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by nzhardcore »

Fixed by uninstalling FileBot and reinstalling latest version without the stuff I did in the thread referenced in post #1.

Changed uTorrent run script to:

filebot -script fn:amc --output "%D" --log-file amc.log --log-lock true --action move --conflict override -non-strict --def music=n artwork=n "seriesFormat={n} {S00E00}" "movieFormat={n} ({y})" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"

Can the program have a built-in updater please!?!?
Last edited by nzhardcore on 15 Apr 2014, 07:50, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by rednoah »

As things have been moved to GitHub, it's now either fn:amc or dev:amc, the latter sort of being what head:amc used to be. That's for FileBot 4.0 and above anyway.
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by nzhardcore »

Edited above post, I'm using this now with latest Filebot:

filebot -script fn:amc --output "%D" --log-file amc.log --log-lock true --action move --conflict override -non-strict --def music=n artwork=n "seriesFormat={n} {S00E00}" "movieFormat={n} ({y})" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by rednoah »

I'm trying to keep fn:amc stable, for the latest release anyway, but everything else is subject to change.
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by nzhardcore »

Oh ok, wait, so with the latest version FileBot that I'm running what should my uTorrent run program script look like (so that nothing breaks now or in future, or is it always likely to break with updates/changes etc.)?
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by rednoah »

fn:amc will always work if you use the latest release of filebot.

The most stable thing you can do is download the scripts and run the locally. They won't get updated, but they also won't break when I stop supporting older application versions. Fixed in time so to say. ;)
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by nzhardcore »

When you say downloading scripts do you mean the single .jar file? If so, that's what I'd done and all of a sudden it broke.

When I've done further tests tonight - and it's working 100% as I want it, what exactly do I do to keep the scripts offline so it doesn't break again (and I assume keep the same FileBot version without updating at all in future)?
User avatar
rednoah
The Source
Posts: 23933
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot not working again w/ uTorrent (new PC same setti

Post by rednoah »

The jar is the main application, it contains the main filebot code including the script engine, but not the scripts itself.

The easiest way would be to check out the whole git repo and then just never sync it. Otherwise you can also just download the scripts one by one.

The FileBot Groovy Scripts are here:
https://github.com/filebot/scripts
:idea: Please read the FAQ and How to Request Help.
Post Reply