Thanks for an awesome piece of software!
I am running a windows 7 host with Lubuntu 18.04 guest in a VM.
I am unsure if I've set up Deluge execute right, right now I have: /home/media/deluge-postprocess.sh (added to execute when torrent is finished downloading).
Right now I'm downloading to an ntfs disk in shared folders(Virtualbox) and that works fine. But I'm wondering if it's possible to use hardlink in the amc script? Hardlinking from the download location on the ntfs disk to my collection (also on the ntfs disk).
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$3/$2"
ARG_NAME="$2"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="home/media/sf_D/_kodi" # 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
filebot -script fn:amc --output "$CONFIG_OUTPUT" --action hardlink --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=n excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"