warn when AUTO_COPY_TO_SONARR is enabled but series has no Sonarr path #23

Open
opened 2026-03-16 06:37:08 -04:00 by david · 0 comments
Owner

If Sonarr returns no path field for a series (e.g. the series was added without a root folder configured), the script downloads to staging but the transfer step silently does nothing, leaving files stranded.

Fix: check that series_info.get('path') is non-empty before starting episode processing when AUTO_COPY_TO_SONARR is true, and exit with a clear error.

If Sonarr returns no `path` field for a series (e.g. the series was added without a root folder configured), the script downloads to staging but the transfer step silently does nothing, leaving files stranded. **Fix:** check that `series_info.get('path')` is non-empty before starting episode processing when AUTO_COPY_TO_SONARR is true, and exit with a clear error.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
highseas/yt-sonarr-downloader#23
No description provided.