Environment: Radarr 6.3.0.10514, servarr-auto-import 0.1.0 (Docker, dry-run)
The tool detects a blocked import correctly but fails to complete it for a movie that has never been imported before. Radarr returns a 500 error and the tool logs "no files returned".
Tool log:
[INFO] Radarr: processing 'VOYAGE.A.TOKYO.RESTAURATION.4K.VOSTFR.1080P.BLURAY.HEVC.FLAC-AZAZE.mkv'
[ERROR] HTTP 500 GET /api/v3/manualimport?folder=...&movieId=3146&filterExistingFiles=true
[WARNING] Radarr: no files returned for 'VOYAGE.A.TOKYO.RESTAURATION.4K.VOSTFR.1080P.BLURAY.HEVC.FLAC-AZAZE.mkv'
Radarr's error:
DirectoryNotFoundException: Could not find a part of the path '/movies/MOVIES/Tokyo Story (1953)'
at ManualImportService.GetMediaFiles(Int32 movieId)
Likely cause: /movies/MOVIES/Tokyo Story (1953) is the movie's library folder, not the download folder. Since this is a first-time import, that folder doesn't exist yet — Radarr only creates it after a successful import. Passing filterExistingFiles=true together with movieId seems to make Radarr scan the (nonexistent) library folder instead of the download folder, causing the crash.
Suggested fix: Don't send filterExistingFiles=true for first-time imports, or retry with filterExistingFiles=false if the first call returns a 500.
To reproduce: Have a movie in Radarr with no file yet, let it get grabbed via ID-based matching (e.g. through Prowlarr), then let servarr-auto-import try to import it once downloaded.
Environment: Radarr 6.3.0.10514, servarr-auto-import 0.1.0 (Docker, dry-run)
The tool detects a blocked import correctly but fails to complete it for a movie that has never been imported before. Radarr returns a 500 error and the tool logs "no files returned".
Tool log:
Radarr's error:
Likely cause:
/movies/MOVIES/Tokyo Story (1953)is the movie's library folder, not the download folder. Since this is a first-time import, that folder doesn't exist yet — Radarr only creates it after a successful import. PassingfilterExistingFiles=truetogether withmovieIdseems to make Radarr scan the (nonexistent) library folder instead of the download folder, causing the crash.Suggested fix: Don't send
filterExistingFiles=truefor first-time imports, or retry withfilterExistingFiles=falseif the first call returns a 500.To reproduce: Have a movie in Radarr with no file yet, let it get grabbed via ID-based matching (e.g. through Prowlarr), then let servarr-auto-import try to import it once downloaded.