I was used to use the fn:amc script command these last days.
Today, the script failed with this error message :
The command which was run :GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>.
Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
[class java.lang.String, class java.lang.String]
[class java.io.File, class java.lang.String]
groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>.
Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
[class java.lang.String, class java.lang.String]
[class java.io.File, class java.lang.String]
at Script1$_run_closure70.doCall(Script1.groovy:415)
at Script1.run(Script1.groovy:414)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
at net.filebot.Main.main(Main.java:168)
Code: Select all
filebot \
--def "seriesFormat=/home/filebot/ready/Series/{n}/{'Saison '+s}/{n} {absolute} {t} [{source} {hpi} {vc} {ac} {af}] {s00e00}" \
"animeFormat=/home/filebot/ready/Animes/{n}/{n} ({absolute}) {t} [{source} {hpi} {vc} {ac} {af}]" \
"movieFormat=/home/filebot/ready/Films/{n} ({y})/{n} [{source} {hpi} {vc} {ac} {af}]" \
-rename \
--lang fr \
-r \
-script fn:amc \
--conflict skip \
-non-strict \
--def artwork=n \
--log-file /home/filebot/log.txt \
--log info \
--def extras=n \
--def clean=y \
--def unsorted=y \
--action test \
--encoding UTF-8 \
-no-xattr \
/home/filebot/inbox
Any hints to resolve this ?
Thanks