--output \\SERVER => java.io.IOException: Invalid argument

Support for Windows users
Post Reply
rolfern91
Posts: 3
Joined: 22 Feb 2014, 14:56

--output \\SERVER => java.io.IOException: Invalid argument

Post by rolfern91 »

Hello,
I have been using this script in uTorrent for a log time now.
A couple of days ago I updated Filebot, uTorrent and Java and it stopped working.

Script:
filebot -script fn:amc --output "\\SERVER" --log-file amc.log --action copy --conflict override -non-strict --def music=n --def gmail=*****:****** --def mailto=****@gmail.com subtitles=en artwork=n "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"

LOG:
Run script [fn:amc] at [Thu May 19 18:30:16 CEST 2016]
Parameter: music = n
Parameter: gmail = *****
Parameter: mailto = *****
Parameter: subtitles = en
Parameter: artwork = n
Parameter: ut_label =
Parameter: ut_state = 20
Parameter: ut_title = Home.And.Away.S29E74.HDTV.x264-FiHTV[eztv].mkv
Parameter: ut_kind = single
Parameter: ut_file = Home.And.Away.S29E74.HDTV.x264-FiHTV[eztv].mkv
Parameter: ut_dir = D:\Downloads\Complete
Invalid argument
java.io.IOException: Invalid argument
at java_io_File$getCanonicalFile.call(Unknown Source)
at Script1.run(Script1.groovy:13)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Failure (°_°)

Can someone help me? I have tried browsing the forum, but no success.
I am not verry good at scripting, so it's great if you can explain in a simple way..

Thank you in advance :-)

Regards rolfern91
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem with utorrent script

Post by rednoah »

--output must be a folder.

BAD

Code: Select all

--output "\\SERVER"
GOOD

Code: Select all

--output "\\SERVER\share"
:idea: Please read the FAQ and How to Request Help.
rolfern91
Posts: 3
Joined: 22 Feb 2014, 14:56

Re: --output \\SERVER => java.io.IOException: Invalid argume

Post by rolfern91 »

When I uninstalled the new version of Filebot 4.7 and installed the 4.6.1 it works again.
However I would like to use the new version and adjust my command if that is what it takes.

How do i separate the TV Shows and Movies in the command? or do they both have to be under the same --output folder? ie. "Media"

Thank you for your response.
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: --output \\SERVER => java.io.IOException: Invalid argume

Post by rednoah »

--output must be a folder. Older versions didn't correctly validate input parameters.

The default formats separate movies/tv shows into movies/tv shows folders. You can override that by passing in custom formats. It's best to keep the default formats though.
:idea: Please read the FAQ and How to Request Help.
traxxus
Posts: 8
Joined: 27 Aug 2015, 08:50

Re: --output \\SERVER => java.io.IOException: Invalid argume

Post by traxxus »

I had exact the same problem, see thread here:
viewtopic.php?f=10&t=3714

(And i was thinking i'm the only with this new problem :mrgreen: )
Post Reply