Some comments (please don’t take it as negative criticism)
Don’t use Drone Factory. You may say “I need it”, but you don’t. It’s pretty much never the only option, and will get removed in future Sonarr versions.
There are two possibilities, but the best option is to:
- Have filebot dump it in a temporary folder.
- Then call the Sonarr POST /api/command.
That will tell Sonarr which download the files belong to. And ensure it’s an atomic action. Sonarr won’t try to import intermediate files.
The nice part about it is that Sonarr will be able to associate the import to the original grab event and potentially use identifying information from the grab.
The wiki on the api doesn’t have alot of examples, but there are some on the forum. Basically you just post a json object to the api. { "name": "DownloadedEpisodesScan", "path": tempDir, "downloadClientId": infoHash, "importMode": "Move" }