fix category missing codes after merge#68
Merged
drondeseries merged 1 commit intodrondeseries:mainfrom Jan 5, 2026
Merged
Conversation
missing merge codes
drondeseries
added a commit
that referenced
this pull request
Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Accurate category detection for watch/import; enforce Default category; API key override; UI and config updates
Description
This PR fixes category detection regressions introduced after merging commit
2e9d7ddinto4248c3dand brings parity with the changes from branch04.01.26-drondeseries-altmount-main.Summary of changes
/importare recognized as category imports when placed inside a configured category path./queue) with a selected category correctly resolves to that category's directory (behavior verified).Defaultcategory:"Default"), cannot be removed or renamed via UI.order,priority, anddir(dir defaults tocomplete, no leading slash).config.yaml(no hardcoded path).sabnzbd.complete_dira virtual path relative to the mount point (default/) and normalize dirs without leading slashes.config.yaml:config.api.key_override(32 chars) is used instead of the DB key if set and valid.key_overridewhen present.Defaultcategory UI: name readonly, butorder/priority/direditable.ConfigManagermethod withUpdateConfig+SaveConfig.Key files changed
Migration / Upgrade notes
config.yamlto include theDefaultcategory and optionallyapi.key_override(seeconfig.sample.yaml).sabnzbd.complete_diris now relative to the mount point; remove leading slashes in dir values (code normalizes them but keep this in mind).Defaultcategory values in your config if you previously relied on implicit/hardcoded defaults.How to test
sonarr/,filmes/download/mov)./.../sync_nzbs/filmes/download/mov/torrent/interestelar.nzb/importinside a category path and confirm category detection./queue) and select a category — confirm file goes to category dir.Defaultcategory exists in UI and cannot be renamed/removed; verifyorder/priority/direditable.config.api.key_overrideto a 32-char key and verify API auth uses it. Regenerate the API key in UI and confirm both DB and config are updated.