Hi I hope someone can help. I've installed Linuxserver Sabnzbd docker and also Filebot Docker on Unraid. I want Sabnzbd to process this Filebot AMC:
/opt/filebot/filebot -script fn:amc /mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/film --output /mnt/user/Film/ --action test -non-strict --conflict override --lang da --def "ut_label=movie" --def movieFormat="/mnt/user/Film/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}" --def artwork=y --def subtitles=da,en --log-file amc.log --def root=y --def clean=y
I've tried to convert it to this script for Sabnzbd but it gives me this error:
/mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/scripts/test.sh: line 8: /opt/filebot/filebot: No such file or directory
/mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/scripts/test.sh: line 21: --def: command not found
#!/bin/sh
or (tried both same error)
#!/bin/bash
# SABnzbd Post Processing Script - www.Filebot.net "AMC" Script
FILE_PATH=$1
FILE_NAME=$3
/opt/filebot/filebot -script \
fn:amc \
/mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/film \
--output /mnt/user/Film/ \
--log-file amc.log \
--action move \
--conflict override -non-strict \
--lang da \
--def "ut_label=movie" \
--def movieFormat="/mnt/user/Film/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}" \
--def artwork=y \
--def subtitles=da,en \
--log-file amc.log \
--def clean=y \
Unraid: Sabnzbd + Filebot docker. Script won't work. Please help.
Re: Unraid: Sabnzbd + Filebot docker. Script won't work. Please help.
Docker's goal is isolation ... which makes inateraction with other apps / containers ... hard.
So ... /opt/filebot/filebot is not there for the script / process / docker container that is running that script, so solve that.
Code: Select all
/mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/scripts/test.sh: line 8: /opt/filebot/filebot: No such file or directory