Lots of variables here, so I know its a long shot that anybody might be able to provide me with a "solution" here, but worth a shot.
I have a QNAP NAS in which I am running a Docker container that I built myself. The container is based on alpine:latest, into which I install openjdk8-jre-base and filebot_4.7.9-portable (yes I know, old version- see below).
I've got a simple script that gets triggered by inotifyd:
Code: Select all
#!/bin/sh
SRCPATH="$1"
/opt/filebot/filebot.sh -script fn:amc \
--output /library/Video/Kids/Movies \
--log-file /opt/filebot/data/amc.log \
--action move \
"${SRCPATH}" \
--def ut_label=movie \
--def subtitles=en \
--def movieFormat="{plex.tail}" \
--def clean=y \
--def exec="chmod 644 '{file}'"
As I said, this is an old version- the last version before the paid licenses were required. I'd be willing to go ahead and buy a license for a newer version if I knew that what I'm trying to do would work... Is there any chance the issue I'm seeing has been fixed since 4.7.9?
Thanks!
Ken