Skip to content

Conversation

@javi11
Copy link
Owner

@javi11 javi11 commented Jan 4, 2026

Summary

  • Remove queue ID prefix from persistent NZB filenames (e.g., 0_Shrinking.nzbShrinking.nzb)
  • Fix formatting issues in sabnzbd_types.go
  • Replace if-else chains with switch statements in manager.go and segments.go

Test plan

  • Verify new imports store NZB files without ID prefix
  • Verify existing imports with ID prefix still work (backward compatible via getCleanNzbName)
  • Verify build passes

🤖 Generated with Claude Code

- Remove queue ID prefix from persistent NZB filenames (e.g., 0_file.nzb → file.nzb)
- Fix formatting issues in sabnzbd_types.go
- Replace if-else chains with switch statements in manager.go and segments.go

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@javi11 javi11 merged commit f398ac9 into main Jan 4, 2026
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.

2 participants