Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Chapter Numbering - Explicit Rules for Local Sources Chapter Detection - Escape/Exclude Years and Quality Info #1203

Open
jedinjapan opened this issue Dec 16, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@jedinjapan
Copy link

When using Suwayomi to host a local library, the detection of chapters can be temperamental and the documentation provided does not entirely adequately explain how filenames are parsed in plain language.

At present, chapters released with their year in the filename will see all chapters from that same year marked as read, as the year is being detected as "chapter" in lieu of "Ch01" or "v01" for volume releases. This also affects next chapter navigation, as the user will be shunted forward multiple volumes in some cases.

Pattern matching for "Volume XX" "vXX" "ChXXXX" "Chapter XXXX" would be ideal to take priority over any loose number deteced. And if possible, flagging vXXX or Volume should be able to prioritize those volumes of collected chapters over loose chapters.

Finally, some escape characters or patterns. Many files are tagged with groups, quality, etc, in parenthesis. This is the most obvious choice from an armchair perspective, so adding () to be skipped seems logical to filter these. (2024) is not chapter 2024 clearly.

Unsure of the burden adding this to the local chapter scanning may have, but it would be an incredibly QoL improvement for those with local libraries to have them sort correctly.

@jedinjapan jedinjapan added the enhancement New feature or request label Dec 16, 2024
@jedinjapan jedinjapan changed the title [Chapter Numbering] Explicit Rules for Local Sources Chapter Detection - Escape/Exclude Years and Quality Info [Feature Request] Chapter Numbering - Explicit Rules for Local Sources Chapter Detection - Escape/Exclude Years and Quality Info Dec 16, 2024
@Robonau
Copy link
Contributor

Robonau commented Dec 16, 2024

iirc the regex's used (for extracting chapter/volume numbers) are the same as the ones used for mihon, if so they are unlikely to be changed.

@jedinjapan
Copy link
Author

If Suwayomi could offer even the option for a user-inputted regex value it would still be an excellent option to have.

The use case between Mihon and Suwayomi is just different enough this begins to really matter. Hosting ones own collection from a home server for your devices to browse means having it read your filenames is critical, and right now what is getting picked up on is somewhat unclear.

@Robonau
Copy link
Contributor

Robonau commented Dec 17, 2024

local source is also a thing in mihon, suwayomi tries to follow mihon when possible even if its a little meh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants