Here is my process:
---------
1. Sickrage or Manual add torrent to Deluge.
2. Execute Plugin -> On Torrent Complete execute: /home/joel/deluge-postprocess.sh
3. deluge-postprocess.sh:
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$3/$2"
ARG_NAME="$2"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="/mnt/media/complete" # if this script is called by the deluge user, then $HOME will NOT refer to YOUR user home, but paths such as /var/lib/deluge instead
sleep 120s
filebot -script fn:amc --log-file amc.log --def excludeList="amc.txt" subtitles=en "/mnt/media/downloads" --output "/mnt/media/complete" --action copy -non-strict --def skipExtract=n --def deleteAfterExtract=n --def exec="echo {quote f}" --conflict auto
Is there a way to make filebot process only the folder of the completed torrent? IE /mnt/media/downloads/%torrentthatjustfinisheddownloading%
I've been rethinking my whole setup as well, so any suggestions to a good guide for Sickrage, Plex and Deluge(or something else) would be appreciated.
Thanks,
Joel