Docker Compose filebot-watcher issue

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
BillyTheKid
Posts: 30
Joined: 19 Dec 2019, 17:15

Docker Compose filebot-watcher issue

Post by BillyTheKid »

Hi,

I am using the docker compose file for the filebot-watcher but cannot get my file paths to work.

Here is my compose;

Code: Select all

  filebot:
    container_name: filebot-watcher
    image: rednoah/filebot:watcher
    restart: unless-stopped
    environment:
    	- SETTLE_DOWN_TIME=60
    volumes:
      - /opt/app/DockerCompose/FileBot:/data
      - /synology/video/Shared\ Videos:/volume1
    command: filebot -script fn:amc -r "volume1/Torrent/2_Completed" --output "volume1/Video/UFC" --action duplicate -non-strict --log-file amc.log --file-filter "f =~ /UFC|ufc/" --def excludeList=amc.txt
    
The only output i get from the container log is;

Code: Select all

Hello! Do you need help Getting Started?

# FAQ

https://www.filebot.net/linux/docker.html

# Read License Key from Console

docker run --rm -it -v data:/data rednoah/filebot --license

--------------------------------------------------------------------------------

Setting up watches.

Couldn't watch filebot: No such file or directory
I am trying to use Filebot to automate the processing of UFC events when they are downloaded and moved to the 2_Completed directory.

I have tried different ways to set up my volume path, escaping the spaces, quotes round the path, set up test directories to read from. Each time i get the same error.

Are you able to assist please?

FYI I have been a user of filebot on Windows for 5+ years.

Thanks Noah!
BillyTheKid
Posts: 30
Joined: 19 Dec 2019, 17:15

Re: Docker Compose filebot-watcher issue

Post by BillyTheKid »

Btw if you have another idea for me to achieve what I am trying to do, I'd be open to suggestions. Basically I just want to pick up downloaded UFC content from the 2_Completed directory, move it to the UFC directory and rename it.

Previously I ran a filebot call from qbittorrent when a download completed. I don't really have that option now that I have moved to Docker.
User avatar
rednoah
The Source
Posts: 23000
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Docker Compose filebot-watcher issue

Post by rednoah »

Your command: is wrong. Please follow the instructions:
https://github.com/filebot/filebot-dock ... ot-watcher


e.g. from the examples:

yml: Select all

# docker-compose.yml
version: '3.3'
services:
  filebot:
    container_name: filebot-watcher
    image: rednoah/filebot:watcher
    restart: unless-stopped
    volumes:
      - ${HOME}/FileBot:/data
      - ${HOME}/path/to/files:/volume1
    command: /volume1/input --output /volume1/output # see amc script usage

e.g. example adapted to your use case:

yml: Select all

# docker-compose.yml
version: '3.3'
services:
  filebot:
    container_name: filebot-watcher
    image: rednoah/filebot:watcher
    restart: unless-stopped
    environment:
      - SETTLE_DOWN_TIME=60
    volumes:
      - "/opt/app/DockerCompose/FileBot:/data"
      - "/synology/video/Shared Videos:/volume1"
    command: "/volume1/Torrent/2_Completed" --output "/volume1/Video/UFC" --action duplicate -non-strict --log-file amc.log --file-filter "f =~ /UFC|ufc/" --def excludeList=amc.txt

:idea: You may want to add --def ut_label=Movie or --def ut_label=TV to force one mode or the other. I don't know what UFC files you have and if they identify as movie or series. Depends on the file names at hand.
:idea: Please read the FAQ and How to Request Help.
BillyTheKid
Posts: 30
Joined: 19 Dec 2019, 17:15

Re: Docker Compose filebot-watcher issue

Post by BillyTheKid »

rednoah wrote: 16 Feb 2024, 11:23 Your command: is wrong. Please follow the instructions:
https://github.com/filebot/filebot-dock ... ot-watcher


e.g. from the examples:

yml: Select all

# docker-compose.yml
version: '3.3'
services:
  filebot:
    container_name: filebot-watcher
    image: rednoah/filebot:watcher
    restart: unless-stopped
    volumes:
      - ${HOME}/FileBot:/data
      - ${HOME}/path/to/files:/volume1
    command: /volume1/input --output /volume1/output # see amc script usage

e.g. example adapted to your use case:

yml: Select all

# docker-compose.yml
version: '3.3'
services:
  filebot:
    container_name: filebot-watcher
    image: rednoah/filebot:watcher
    restart: unless-stopped
    environment:
      - SETTLE_DOWN_TIME=60
    volumes:
      - "/opt/app/DockerCompose/FileBot:/data"
      - "/synology/video/Shared Videos:/volume1"
    command: "/volume1/Torrent/2_Completed" --output "/volume1/Video/UFC" --action duplicate -non-strict --log-file amc.log --file-filter "f =~ /UFC|ufc/" --def excludeList=amc.txt

:idea: You may want to add --def ut_label=Movie or --def ut_label=TV to force one mode or the other. I don't know what UFC files you have and if they identify as movie or series. Depends on the file names at hand.
Thanks for this. much appreciated.
Post Reply