Skip to content

Scan hint: a user's own type folder beats the cbz default - #279

Merged
bndct-devops merged 1 commit into
mainfrom
fix/scan-hint-over-cbz
Oct 24, 2026
Merged

bndct-devops merged 1 commit into
mainfrom
fix/scan-hint-over-cbz

Conversation

@bndct-devops

Copy link
Copy Markdown
Owner

Follow-up to #270. A plain CBZ under a library's own Manga/ folder was typed comic, because the cbz rule ran before the folder hint.

At scan the order is now: manga flag (ComicInfo or chapters dir), then the top-level folder hint, then cbz/cbr as comic. Imports, auto-import and uploads have no folder hint and behave as before.

Tests cover a plain CBZ under Manga/, a manga-flagged CBZ under Comics/, and a CBZ under a folder that matches no type.

A plain cbz under a user's own Manga/ folder was typed comic by the
extension rule before the folder hint was consulted. At scan the order
is now: manga flag, then the top-level folder hint, then cbz/cbr -> comic.
Imports, auto-import and uploads have no hint and are unchanged.
@bndct-devops
bndct-devops merged commit 2e8f1c9 into main Oct 24, 2026
4 checks passed
@bndct-devops
bndct-devops deleted the fix/scan-hint-over-cbz branch October 24, 2026 18:58
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.

1 participant