I'm a big fan of Deluge, I run it on 4 different machines and it has worked flawlessly up till now. In Ubuntu I am trying to get the deluge Execute plugin to talk nicely with filebot and although the vast majority of the script works great, I am hitting a problem when trying to get the label I specified with the label plugin. Does anyone have any knowledge on how to get the label within a bash script? I blindly hoped that argument 4 might be the label but nope; I have put my script below in-case it helps.
Code: Select all
#!/bin/bash
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
TORRENT_LABEL=$4
filebot -script fn:amc --output "/media/NAS" --log-file filebot.log --action test --conflict override -non-strict --def music=y artwork=n clean=y "seriesFormat=Videos/TV Shows/{n.replace(':','- ')}/Season {s}/{'S'+s.pad(2)}{'E'+e.pad(2)} - {t.replace(':','- ')}" "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" "ut_label=$TORRENT_LABEL"
Thanks for any help