Illegal Char <:> qBittorrent & AMC

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
Burak
Posts: 8
Joined: 01 Oct 2019, 13:49

Illegal Char <:> qBittorrent & AMC

Post by Burak »

Hello all,

I’m trying to setup qbittorrent with amc script.

my script:

Code: Select all

filebot -script fn:amc --output "B:/Downloads" -non-strict --encoding utf8 --action duplicate --def skipExtract=n --def deleteAfterExtract=n --def excludeList=amc.txt --def extractFolder="C:/Users/Administrator/Downloads/Extracted" --def clean=y --def subtitles=tr "seriesFormat=B:/PLEX/dizi/{n}/{'Season '+s}/{fn}" "movieFormat=B:/PLEX/film/{ny}/{fn}" --log-file="C:\AMC-log.txt" "ut_label=%L" "ut_title=%N" "ut_kind=multi" "ut_dir=%F"
log.txt :

Code: Select all

Run script [fn:amc] at [Tue Jan 21 22:29:37 CET 2020]
Parameter: skipExtract = n
Parameter: deleteAfterExtract = n
Parameter: excludeList = amc.txt
Parameter: extractFolder = C:/Users/Administrator/Downloads/Extracted
Parameter: clean = y
Parameter: subtitles = tr
Parameter: seriesFormat = B:/PLEX/dizi/{n}/{'Season '+s}/{fn}
Parameter: movieFormat = B:/PLEX/film/{ny}/{fn}
Argument[0]: File does not exist: ut_label=
Argument[1]: File does not exist: ut_title=Hernan.S01.720p.WEB-DL.H.264-HDMT
Argument[2]: File does not exist: ut_kind=multi
Argument[3]: File does not exist: ut_dir=C:\Users\Administrator\Downloads\Hernan.S01.720p.WEB-DL.H.264-HDMT
Use excludes: B:\Downloads\amc.txt (1)
File does not exist: ut_label=
File does not exist: ut_title=Hernan.S01.720p.WEB-DL.H.264-HDMT
File does not exist: ut_kind=multi
Illegal char <:> at index 8: ut_dir=C:\Users\Administrator\Downloads\Hernan.S01.720p.WEB-DL.H.264-HDMT
java.nio.file.InvalidPathException: Illegal char <:> at index 8: ut_dir=C:\Users\Administrator\Downloads\Hernan.S01.720p.WEB-DL.H.264-HDMT
	at net.filebot.util.FileSet.getPath(FileSet.java:90)
	at net.filebot.util.FileSet.contains(FileSet.java:82)
	at java_util_Set$contains$0.call(Unknown Source)
	at Script1.acceptFile(Script1.groovy:232)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1$_run_closure60.doCall(Script1.groovy:301)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1.run(Script1.groovy:301)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:173)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:44)
	at net.filebot.Main.main(Main.java:136)

Error (o_O)

can you please help me?
User avatar
rednoah
The Source
Posts: 19011
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Illegal Char <:> qBittorrent & AMC

Post by rednoah »

--def is missing, so all the --def name=value options are interpreted as input arguments, which doesn't make sense, hence all these warnings and errors.


:idea: Please use the amc script examples as a template that is known to work. You can then easily narrow down differences that make your command not work.
:idea: Please read the FAQ and How to Request Help.
Burak
Posts: 8
Joined: 01 Oct 2019, 13:49

Re: Illegal Char <:> qBittorrent & AMC

Post by Burak »

thanks @rednoah

my current problem is weird.
updated script:

Code: Select all

filebot -script fn:amc --output "B:/Downloads" -non-strict --encoding utf8 --action copy --def artwork=y --def extras=y --def backdrops=y --def music=y --def deleteAfterExtract=n --def excludeList="C:/Users/Administrator/Downloads/amc.txt" --def extractFolder="C:/Users/Administrator/Downloads/Extracted" --def clean=y --def subtitles=tr "seriesFormat=B:/PLEX/dizi/{n}/{'Season '+s}/{fn}" "movieFormat=B:/PLEX/film/{ny}/{fn}" --log-file="C:\AMC-log.txt" --def "ut_label=%L" "ut_title=%N" "ut_kind=multi" "ut_dir=%F"
current error:

Code: Select all

Run script [fn:amc] at [Wed Jan 22 19:41:59 CET 2020]
Parameter: artwork = y
Parameter: extras = y
Parameter: backdrops = y
Parameter: music = y
Parameter: deleteAfterExtract = n
Parameter: excludeList = C:/Users/Administrator/Downloads/amc.txt
Parameter: extractFolder = C:/Users/Administrator/Downloads/Extracted
Parameter: clean = y
Parameter: subtitles = tr
Parameter: seriesFormat = B:/PLEX/dizi/{n}/{'Season '+s}/{fn}
Parameter: movieFormat = B:/PLEX/film/{ny}/{fn}
Parameter: ut_label = 
Parameter: ut_title = Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv
Parameter: ut_kind = multi
Parameter: ut_dir = C:\Users\Administrator\Downloads\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv
Use excludes: C:\Users\Administrator\Downloads\amc.txt (10)
Input: C:\Users\Administrator\Downloads\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv
Group: {Movie=Dracula Untold (2014)} => [Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv]
Get [Turkish] subtitles for 1 files
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Rename movies using [TheMovieDB]
Auto-detect movie from context: [C:\Users\Administrator\Downloads\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv]
[COPY] from [C:\Users\Administrator\Downloads\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv] to [B:\PLEX\film\Dracula Untold (2014)\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv]
[COPY] Failure: java.nio.file.AccessDeniedException: C:\Users\Administrator\Downloads\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv -> B:\PLEX\film\Dracula Untold (2014)\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv
Processed 0 files
AccessDeniedException: C:\Users\Administrator\Downloads\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv -> B:\PLEX\film\Dracula Untold (2014)\Dracula Untold 2014 1080p BluRay DUAL DD5.1 x264-BdC.mkv
Finished without processing any files
Abort (×_×)
I’m using the GUI with more complicated scripts already but not getting ‘permissions’ error at all.

my destination disk is encrypted rclone mount. If it helps, I can share my mount command?

any ideas?
User avatar
rednoah
The Source
Posts: 19011
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Illegal Char <:> qBittorrent & AMC

Post by rednoah »

Sorry, this is something you have to figure out on your own:

Code: Select all

java.nio.file.AccessDeniedException
FileBot is working correctly. But the OS doesn't let FileBot do what you command it to do. Maybe permissions. Maybe read-only filesystem. Maybe something else. I recommend a systematic approach. Try a view things. Figure out what works and what doesn't, and then narrow it down. I reckon everything will work just fine on a local NTFS drive, so rclone is very likely the culprit here.
:idea: Please read the FAQ and How to Request Help.
Post Reply