Skip to content

feat: add pause and other sabnzbd queue methods - #119

Merged
javi11 merged 23 commits into
kipsilabs:mainfrom
drondeseries:alpha5
Dec 9, 2025
Merged

feat: add pause and other sabnzbd queue methods#119
javi11 merged 23 commits into
kipsilabs:mainfrom
drondeseries:alpha5

Conversation

@drondeseries

Copy link
Copy Markdown
Contributor

No description provided.

drondeseries and others added 21 commits November 16, 2025 20:40
The library sync was failing with a SQL scan error when the scheduled_check_at column was NULL. This was because the code was trying to scan the NULL value into a time.Time, which does not support NULLs.

This commit fixes the issue by changing the type of ScheduledCheckAt to *time.Time in the AutomaticHealthCheckRecord struct and updating the library sync code to correctly handle the pointer.
…ARR integration

1. Flexible Path Matching: Using relative paths (filePath) and suffix matching for both Radarr and Sonarr.
2. Season/Episode Fallback (Sonarr): Using parsed SxxEyy from the filename if the file path lookup in Sonarr fails.
3. UI Updates: New Health dashboard stats and configuration for concurrency.
4. Concurrency: Health worker now processes files in parallel.
5. Stability: Panic recovery in health workers.
@javi11

javi11 commented Dec 8, 2025

Copy link
Copy Markdown
Collaborator

@drondeseries is this ready?

@javi11 javi11 changed the title Alpha5 feat: add pause and other sabnzbd queue methods Dec 8, 2025
@drondeseries

Copy link
Copy Markdown
Contributor Author

Yes

@MythodeaLoL

Copy link
Copy Markdown
Contributor

You can implement my changes here as well, if you want, and close my PR. @drondeseries @javi11

…rance

This commit addresses two main areas:

1.  **Partial implementation of PR #114 for import process improvements:**
    *   **Path Normalization:** Enhanced  in  to correctly handle Windows backslashes, trailing slashes, and use  for robust path cleaning.
    *   **Redundant Directory Flattening:** Modified  and  in  to flatten redundant directory structures (e.g.,  becomes ).
    *   **Smart Multi-File Handling:** Updated  in  to prevent the creation of an extra NZB folder when only a single regular file is present in a multi-file NZB.

2.  **Fix for 'Triggered repair' items disappearing from the UI:**
    *   **Problem:** Files with  status were being removed from the health list by the . This occurred because the worker would delete health records if the corresponding library file (e.g., symlink) was missing, which is an expected state during an active repair process by ARR applications.
    *   **Solution:** Modified  in  to explicitly skip deletion of health records that have a  status, even if the physical file or symlink is temporarily absent.
    *   Updated  to include the  field in the  to facilitate this check.

Unit tests were added and all existing tests passed to verify these changes.
@javi11
javi11 merged commit d167872 into kipsilabs:main Dec 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants