'Illegal usage: no input' on Transmission post process script
Posted: 22 Apr 2017, 10:27
I'm getting "Illegal usage: no input" in my logs when using the following Transmission post processing script (shortened):
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
/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}'
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 (°_°)