filebot:watcher and post-processing

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
nejec
Posts: 1
Joined: 30 Jun 2026, 18:49

filebot:watcher and post-processing

Post by nejec »

Hey,

I am running `filebot:watcher` docker container with amc script and everything is working fine.

Now, I would like to add some postprocessing into the process and notify *arr services of new file locations (as described in [Script] Relocate files in Radarr / Sonarr). The paths are set correctly, containers all see the same mountpoints, so this should not be an issue.

I have looked around how can i pass the parameters to "script" but I can't find any references.

Does anyone knows how to execute post-processing with amc script and filebot:watcher docker container?

Big thank you in advance, cheers,J.
User avatar
rednoah
The Source
Posts: 24585
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: filebot:watcher and post-processing

Post by rednoah »

:idea: You can pass in custom post-processing scripts like so:

Shell: Select all

--apply /path/to/apply.groovy
See [DOCS] Custom Post-Processing Scripts › Add Post-Processing Scripts via the --apply option from Terminal for details.


:arrow: Here's a command-line example to get you started:

Shell: Select all

docker run --rm -it -v $PWD:/volume1 -v data:/data rednoah/filebot:watcher \
  /volume1/input \
  --output /volume1/output \
  --apply /volume1/relocate-in-radarr.groovy


:!: You can specify multiple --apply scripts. But if you need to support both relocate-in-radarr and relocate-in-sonarr at the same time, depending on the content at hand, then you may need to modify the Relocate files in Radarr / Sonarr scripts. We can help you with that.
:idea: Please read the FAQ and How to Request Help.
Post Reply