errors with Transmission post process script

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
dechoice
Posts: 1
Joined: 06 Sep 2016, 01:07

errors with Transmission post process script

Post 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
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: errors with Transmission post process script

Post by rednoah »

Please read the Troubleshooting section carefully.

EDIT:

Also, your script is broken. Why did you remove the $ variables?!?!
:idea: Please read the FAQ and How to Request Help.
Post Reply