I upgraded my NAS to OMV 6 and wanted to try again to use FileBot automatically - something I gave up a few years a go.
Since then I called FileBot manually via SSH like this:
Code: Select all
sh /opt/jd2/filebot.sh /srv/dev-disk-by-label-Medien/Downloads/complete
Code: Select all
LOG="\\NAS\Medien\Downloads\filebot\amcPC.log"
EXC="\\NAS\Medien\Downloads\filebot\amcPC.txt"
SERIEN="\\NAS\Medien\Serien\{n}\Staffel {s}\{n} - {s00e00} - {t}"
FILME="\\NAS\Medien\{vf =~ /2160p|uhd|UHD/ ? 'Filme\2. 4K' : 'Filme'}\{n} ({y})\{n} ({y}) [{rating}]"
filebot -script fn:amc --lang de --log-file $LOG --action move "$1" --def "seriesFormat=$SERIEN" "movieFormat=$FILME" -non-strict --def clean=y
filebot -script fn:cleaner "$1"
- OMV 6.6.0-2 (Shaitan)
- Linux 6.1.0-0.deb11.7-amd64
- Docker v24.0.5
- Portainer CE 2.18.4
I managed to install and sucessfully run and use jDownloader as Stack/Container:
Code: Select all
version: "2"
services:
jdownloader-2:
image: jlesage/jdownloader-2
ports:
- 5800:5800
- 3129:3129
volumes:
- /opt/jdownloader/config:/config:rw
- /srv/dev-disk-by-uuid-29c96ac1-e4ea-42c5-bef8-4ea9df7484b1/Downloads/complete:/output:rw
I want FileBot to be called automatically after jDownloader finishes my downloads. I do have a valid license. Extraction can be done by jDownloader or FileBot - whatever works better.
Now I'm kina lost. For me the logical approach was to install filebot-watcher as container as well but I don't know which settings to use.
My approach:
This is where I'm at - where I kinda gave up because I have no clue what I am doing and don't know how to proceed:
Code: Select all
version: "2"
services:
jdownloader-2:
image: jlesage/jdownloader-2
ports:
- 5800:5800
- 3129:3129
volumes:
- /opt/jdownloader/config:/config:rw
- /srv/dev-disk-by-uuid-29c96ac1-e4ea-42c5-bef8-4ea9df7484b1/Downloads/complete:/output:rw
filebot:
container_name: filebot-watcher
image: rednoah/filebot:watcher
restart: unless-stopped
volumes:
- /opt/filebot/config:/data
- /srv/dev-disk-by-uuid-29c96ac1-e4ea-42c5-bef8-4ea9df7484b1/Downloads/complete:/Complete
- /srv/dev-disk-by-uuid-29c96ac1-e4ea-42c5-bef8-4ea9df7484b1/Medien:/Medien
- /srv/dev-disk-by-uuid-bfbda46b-4bc1-497d-9dbd-23bfe3687ad7/Serien:/Serien
command: /volume1/input --output /volume1/output # see amc script usage
Thank you in advance!