Page 1 of 1

errors with Transmission post process script

Posted: 06 Sep 2016, 01:29
by dechoice
Hi,

I've edited your script but I can't seem to get it to work, here is my script:

#!/bin/sh

# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"

# Configuration
CONFIG_OUTPUT="/Volumes/Drobo/Video"

/usr/local/bin/filebot -script fn:amc --output "CONFIG_OUTPUT" --action duplicate --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=n ut_dir="ARG_PATH" ut_kind="multi" ut_title="ARG_NAME" ut_label="ARG_LABEL" seriesFormat="TV Shows/{n}/Season {s}/{n} - {sxe} - {t}" \

I tried this in terminal and this is the error that I get

Last login: Mon Sep 5 20:59:34 on ttys000
macminimedia:~ dexter$ /Volumes/Drobo/transmission-postprocess ; exit;
Locking /Users/dexter/.filebot/logs/amc.log
Run script [fn:amc] at [Mon Sep 05 21:04:36 EDT 2016]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = n
Parameter: ut_dir = ARG_PATH
Parameter: ut_kind = multi
Parameter: ut_title = ARG_NAME
Parameter: ut_label = ARG_LABEL
Parameter: seriesFormat = TV Shows/{n}/Season {s}/{n} - {sxe} - {t}
No files selected for processing
Failure (°_°)

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Can some tell me what I did wrong?

Thanks

Re: errors with Transmission post process script

Posted: 06 Sep 2016, 02:17
by rednoah
Please read the Troubleshooting section carefully.

EDIT:

Also, your script is broken. Why did you remove the $ variables?!?!