[FIXED][BUG] AMC script wrong "Illegal usage: output folder" error

All your suggestions, requests and ideas for future development
Post Reply
SpaventaPassere
Posts: 11
Joined: 27 May 2016, 23:20

[FIXED][BUG] AMC script wrong "Illegal usage: output folder" error

Post by SpaventaPassere »

Hi,rednoah.

I've tried to run the AMC script using "/media/Movies" as input folder and "/media/Movies-Sorted" as output folder; the script return a (wrong) error:

Code: Select all

Run script [fn:amc] at [Fri Jun 09 00:23:25 CEST 2017]
Parameter: excludeList = amc.txt
Parameter: seriesFormat = /media/Serie TV/{n}/Stagione {s}/{s}x{e00} - {t}
Parameter: movieFormat = /media/Movies-Sorted/{n} ({y})
Argument[0]: /media/Movies
Illegal usage: output folder [/media/Movies-Sorted] must be separate from input arguments [/media/Movies-Sorted]
I think this is due that ALL the input folder is part of the output folder, maybe considering that the output folder is a sub-folder of the input one (but in this case there should be a "/").

Changing output folder to "/media/Sorted-Movies" is a workaround :D

Thanks for your help.

Code: Select all

# filebot -script fn:sysinfo
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /root/.filebot/????
WARNING: sun.jnu.encoding = ISO-8859-1
Script Bundle: 2017-05-15 (r500)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_131
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 2 Core / 1 GB Max Memory / 15 MB Used Memory
OS: Linux (amd64)
Package: DEB
uname: Linux vmi82833.contabo.host 4.4.0-71-generic #92-Ubuntu SMP Fri Mar 24 12:59:01 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Done ?(?????)?
Last edited by SpaventaPassere on 10 Jun 2017, 12:59, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [BUG?] AMC script wrong "Illegal usage: output folder" error

Post by rednoah »

Fixed. Please try running with -script dev:amc to try the latest version.
:idea: Please read the FAQ and How to Request Help.
SpaventaPassere
Posts: 11
Joined: 27 May 2016, 23:20

Re: [FIXED][BUG] AMC script wrong "Illegal usage: output folder" error

Post by SpaventaPassere »

Confirm that has been fixed.

Thanks a lot rednoah.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [FIXED][BUG] AMC script wrong "Illegal usage: output folder" error

Post by rednoah »

Code: Select all

Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /root/.filebot/????
WARNING: sun.jnu.encoding = ISO-8859-1
Note that your locale settings are broken, so you won't be able to process files that contain non-ASCII characters in the filename. See FAQ for details.
:idea: Please read the FAQ and How to Request Help.
Post Reply