'Illegal usage: no input' on Transmission post process script

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
haarts
Posts: 14
Joined: 14 Sep 2015, 14:42

'Illegal usage: no input' on Transmission post process script

Post by haarts »

I'm getting "Illegal usage: no input" in my logs when using the following Transmission post processing script (shortened):

Code: Select all

/usr/bin/filebot -script fn:amc \
        --output /home/john/Public/ \
        --action hardlink \
        --conflict auto \
        -non-strict \
        --log-file /home/john/logs/amc.log \
        --def \
        excludeList=/home/john/logs/amc.excludes \
        ut_title="$ARG_NAME" \
        ut_dir="$ARG_PATH" \
        ut_label=TV \
        exec="echo [\$(date)] Successfully processed file: {quote f}" \
        skipExtract=y \
        seriesFormat='{n}/{s}/{n} - {s00e00} - {t}{"."+lang}'
I found the error message in the source code, it is thrown when you don't give an additional CLI argument. Unless you use 'ut_dir'! This is what I do in my script. I printed the $ARG_PATH variable and it holds a correct path/value. What is happening?


Transmission log fragment:

Code: Select all

Apr 22 12:18:35 my-box transmission-daemon[6645]: /home/john/Downloads/series/torrents/completed/The.Expanse.S02E12.HDTV.x264-SVA[rarbg]
Apr 22 12:18:35 my-box transmission-daemon[6645]: Locking /home/harm/logs/amc.log
Apr 22 12:18:39 my-box transmission-daemon[6645]: Run script [fn:amc] at [Sat Apr 22 12:18:39 CEST 2017]
Apr 22 12:18:39 my-box transmission-daemon[6645]: Illegal usage: no input
Apr 22 12:18:39 my-box transmission-daemon[6645]: Failure (°_°)
haarts
Posts: 14
Joined: 14 Sep 2015, 14:42

Re: 'Illegal usage: no input' on Transmission post process script

Post by haarts »

BTW Where do I find the groovy scripts on my machine?
Post Reply