Page 1 of 1

Question About FileBot as an Unraid Docker and Using AMC + Radarr/Sonarr Refresh

Posted: 09 Jan 2025, 15:40
by SlyxR
Hello Everyone,

I’ve been using FileBot as a Docker container on my Unraid system in combination with the AMC script for quite some time now, and it has always worked flawlessly. Recently, I started using Radarr and Sonarr and noticed that I constantly have to manually trigger scans so Radarr/Sonarr can recognize the latest files. Naturally, this is quite inconvenient.

In the forum, I found scripts that update Radarr and Sonarr using a custom post-process. I followed the instructions provided in the forum and created the scripts as described.
However, it doesn’t seem to work because the scripts are only triggered when I run them via the GUI, not through the AMC script.
Image

Now, I’ve noticed that the Docker container has a variable called AMC_CUSTOM_OPTION, so I added the following:

Shell: Select all

--def exec='filebot -script fn:Refresh Radarr; filebot -script fn:Refresh Sonarr'
But it won't work, Did I misunderstand or do something wrong?

Thank you in advance for your help

Re: Question About FileBot as an Unraid Docker and Using AMC + Radarr/Sonarr Refresh

Posted: 09 Jan 2025, 16:08
by rednoah
:!: AMC_CUSTOM_OPTION means that you're using the jlesage/filebot container. That's fine but keep in mind that it's not one of ours. See Installing FileBot on unRAID for details and alternatives.


:idea: The GUI state has no effect on the CLI. You cannot reference custom post-processing scripts saved in the GUI from the CLI.


:arrow: You can specify Post-Processing Features and Custom Post-Processing Scripts via the --apply option.


e.g.

Shell: Select all

--apply "/path/to/refresh-radarr.groovy" "/path/to/refresh-sonarr.groovy"

Re: Question About FileBot as an Unraid Docker and Using AMC + Radarr/Sonarr Refresh

Posted: 10 Jan 2025, 10:58
by SlyxR
rednoah wrote: 09 Jan 2025, 16:08 :!: AMC_CUSTOM_OPTION means that you're using the jlesage/filebot container. That's fine but keep in mind that it's not one of ours. See Installing FileBot on unRAID for details and alternatives.


:idea: The GUI state has no effect on the CLI. You cannot reference custom post-processing scripts saved in the GUI from the CLI.


:arrow: You can specify Post-Processing Features and Custom Post-Processing Scripts via the --apply option.


e.g.

Shell: Select all

--apply "/path/to/refresh-radarr.groovy" "/path/to/refresh-sonarr.groovy"
Thank you for your help, your explanation was really helpful. I was able to solve the problem with it.

Re: Question About FileBot as an Unraid Docker and Using AMC + Radarr/Sonarr Refresh

Posted: 10 Jan 2025, 11:18
by rednoah
SlyxR wrote: 10 Jan 2025, 10:58 Thank you for your help, your explanation was really helpful. I was able to solve the problem with it.
Please copy & paste your solution - and if you have time for a quick write-up what you have learned along the way - for the next guy and perhaps your future self. ;)