Page 1 of 1

Filebot integration with Sonarr/Radarr

Posted: 17 Nov 2020, 05:20
by AbedlaPaille
I'm trying to figure out how to post process with filebot without messing the way my sonarr work. Seems more tricky than i assumed.

I need to delete the original files for sonarr to fully pick up on the filebot processed files, if i don't, the manual refresh/rescan doesn't suffice and sonarr still shows this error : https://i.imgur.com/xrwo30X.png

Seems normal, but it still picks up on the new filebot renamed hardlink in there : https://i.imgur.com/onm3ffF.png

And when i delete the original file from hard disk and qbit (just removing from qbit isn't enough) the manual rescan works and acknowledges the new filebot hardlink as grabbed.

Where do i go from there? I'm nowhere close getting an automatic rescan which was the original goal ahah.

Re: Filebot integration with Sonarr/Radarr

Posted: 10 Oct 2022, 06:16
by AbedlaPaille
I've managed to solve my initial issues, so i'm back to my original goal:

To rescan/refresh a show in Sonarr once Filebot processed files belonging to it.

I've found this thread on Sonarr's forum which is trying to accomplish the same thing:
https://forums.sonarr.tv/t/refreshserie ... d/10797/26

The last answer seems promising, so i'm asking the question here:
Can filebot pass "seriesName" (which should be {n} in 99% of the cases) as an environment variable to the rescan-sonarr script ?

Re: Filebot integration with Sonarr/Radarr

Posted: 10 Oct 2022, 07:28
by rednoah
Yes, you can use any bindings including {n} to generate exec commands:
viewtopic.php?t=11078

e.g.

Code: Select all

-exec echo {f} {n} {id} {json} ...