manual_import
Import specific download files into Sonarr or Radarr with all-or-nothing validation; manually assign unknown series, episodes, or movies before anything moves.
Instructions
Import specific files from the downloads folder into the library (all or nothing).
Never imports a whole folder blindly: every file must be listed, must be matched to a
series/episode or movie, must have no rejections, and no two files may target the same
episode or movie. If anything fails, nothing is imported and the problems are returned.
When Sonarr/Radarr cannot identify a file ("Unknown Series", "matched by ID, manual import
required"), pass matches to assign it by hand; the assignment is re-validated first.
Replacing a file that is already in the library needs allow_replace=true.
By default it waits for the import and verifies each file (Sonarr/Radarr report the
command as successful even when a file fails to move), returning the reason from
their log for any file that did not get in.
Examples: "Import /downloads/The.Capture.S03E04.1080p.mkv", "Import that file as episode 4 of season 3 of The Capture"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait (up to 2 min) for the import and check that every file really got in | |
| files | Yes | Exact file paths as seen by Sonarr/Radarr (from find_orphan_downloads) | |
| matches | No | Manual identification for files that were not matched (or were matched wrongly) | |
| service | Yes | 'sonarr' (series) or 'radarr' (movies) | |
| import_mode | No | auto (default, like the web UI): copy/hardlink if the download client is still seeding, move otherwise. copy: always copy/hardlink. move: always move (breaks seeding). | auto |
| allow_replace | No | Allow replacing files that are already in the library (they are deleted) | |
| allow_downgrade | No | Also import files Sonarr/Radarr reject as 'not an upgrade' (lower quality or score than the current file). Only when the user explicitly wants the lower version; needs allow_replace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||