So I have a working CLI "code" that I have tested via ssh and it does what I need. However I want to automate this when a my Synology NAS finished a torrent download via its built in DownloadStation. Here is what I have done thus far:
I have edited the settings.son file for download station and directed it to run the script via completion of download (/usr/syno/etc/packages/DownloadStation/download/settings.json)

Then I made a file in that location and typed out the same thing I tested while using it via SSH
Code: Select all
filebot -script fn:mac --output "/volume1/Movies" --def "seriesFormat=/volume1/TV Shows/{n}/{'S'+s}/{fn}" "movieFormat=/volume1/Movies/{n} {y}/{fn}" --action copy -non-strict "/volume1/Downloads" --log-file /volume1/System/amc.log --conflict skip --def xbmc=192.168.1.203 --def excludeList=amc.txt

So I do not know if I need to append the script with something (like a header) to get it to run or not. I have even tried running the script manually via the synology task scheduler and it does not work. No logs are affected.
Here is showing what happens when I run it via ssh.

Any help will be appreciated. Thanks so much!