Setting up deluge and filebot
Posted: 24 Feb 2018, 15:16
Just setting up my media server again after a few years and want to intergrate with deluge.
Just having a little issues getting a shell script to call my filebot script. I coped the script off github (Edited it) and saved the file in the same directory as my filebot script. However it does not call upon my script. I feel as if i may be on the wrong track here...Do i need to upload my customised deluge-postprocess.sh to github and then the curl script in deluge will call it from there? the code you posted in the thread had a link to github? excuse the noobness just tryin to get my head around how it works, determined to work it out
here is my shell script
\
Which i have then pointed deluge to once a download completes however nothing happens when it finishes
Also for the life of me cannot get the -def command to notify plex of change and to update...Cannot find my token either
Any help would be greatly appreciated.
Cheers, Ledge
Just having a little issues getting a shell script to call my filebot script. I coped the script off github (Edited it) and saved the file in the same directory as my filebot script. However it does not call upon my script. I feel as if i may be on the wrong track here...Do i need to upload my customised deluge-postprocess.sh to github and then the curl script in deluge will call it from there? the code you posted in the thread had a link to github? excuse the noobness just tryin to get my head around how it works, determined to work it out
here is my shell script
\
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$3/$2"
ARG_NAME="$2"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="$HOME/Media" # 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 "." --action move --conflict auto -non-strict --log-file amc.log --def artwork=n subtitles=y "seriesFormat= D:/TV Series/{n}/{'Season '+s}/{n} - {s00e00} - {t}" "movieFormat=E:/{def cn = n.after(/(?i)^the\s|^a\s/); cn =~ /^(?i)[a-z]/ ? cn[0] : '#'}/{n} ({y}){'CD'+pi}" --def plex=http://localhost:32400/web %*
pause
Also for the life of me cannot get the -def command to notify plex of change and to update...Cannot find my token either

Any help would be greatly appreciated.
Cheers, Ledge