Here's my current working script:
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="/Volumes/Super Storage/Video/To Be Processed"
/usr/local/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" --action move --conflict skip -non-strict --log-file amc.log --def clean=y unsorted=y music=y artwork=y excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"
Code: Select all
FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 8 GB Max Memory / 41 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin Pennyworth.local 19.0.0 Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 x86_64
DATA: /Users/Alfred/.filebot
Package: APP
License: FileBot License PX5825873 (Valid-Until: 2068-10-04)
Done ヾ(@⌒ー⌒@)ノ
Ideally I could flag a torrent in Transmission using the Group functionality and have Filebot move it to another directory (ie; 4k Movies) upon the download finishing.
This would allow my other automations to not process the 4k download with Handbrake's CLI (which monitors the To Be Processed Movies and TV Shows directories) and Hazel would move it into the spot where Plex looks for it.
Any help is appreciated!