Check Folder Script

Hi

I’m using Sonarr for Fetching Episodes from Usenet and also to manage all the series. Next to that, I configured Flexget to check on Sonarr for Missing Episodes and download them on OCH trough JDownloader.

So far this works great.
The only problem I have, is that I want to tell Sonarr to check a specific folder when JDownloader completed a Download.

Probably it just needs some small parts of code, but I didn’t find out how to call Sonarr trough the API it should check a folder for finished downloads.

It would be great if someone could help me with this.

EDIT:
I found the solution:
curl http://localhost:8989/api/command -X POST -d ‘{“name”: “downloadedepisodesscan”}’ --header “X-Api-Key:YOUR_API_KEY_GOES_HERE”

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.