Manually Triggering Imports

Landon Stewart edited this page Dec 18, 2017 · 3 revisions

WARNING Only follow these instructions if you understand the risks of doing so and know how to write and enable a post processing script in your download client Manually-Triggering-Imports

Disable Drone Factory Folder Scanning

DEPRECATED: Drone Factory is deprecated and should be disabled, use "Wanted" -> "Manual Import" to manually import arbitrary directories. See the Wiki for more information.

You can disable Drone Factory folder scanning via the advanced setting "Drone Factory Interval" on the download client settings page, by setting it to zero.

Post Processing Script

You can configure your download client to run a script to send a command to Sonarr's API instructing it to run a scan on the Drone Factory folder.

The script will need to send a POST with a JSON body as described here: Command

Example Scripts

curl

curl http://localhost:8989/api/command -X POST -d '{"name": "downloadedepisodesscan"}' --header "X-Api-Key:YOUR_API_KEY_GOES_HERE"

PowerShell

$url = "http://8989/api/command"
$json = "{ ""name"": ""downloadedepisodesscan"" }"

Write-Host "Publishing update $version ($branch) to: $url"
Invoke-RestMethod -Uri $url -Method Post -Body $json -Headers @{"X-Api-Key"="YOUR_API_KEY_GOES_HERE"}
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.