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

Add support for configuring which categories are downloaded automatically #832

Merged
merged 2 commits into from
Jan 21, 2024

Conversation

chancez
Copy link
Contributor

@chancez chancez commented Jan 17, 2024

Implementation is similar to the global update categories. This allows you to configure which manga you want to auto download based on their categories. The default behavior remains the same. If no categories are configured, then automatic downloads will behave the same as prior to this change, which is to say, all manga in your library are considered for automatic downloads.

The idea is that you might have server.excludeEntryWithUnreadChapters=false but don't necessarily want all your manga to get downloaded when new chapters come out.

For example; if you've started a manga, but are taking a break, or if you finished a manga that has some "extra" chapters that come out later, or something. For a setup like this, I have a "currently reading" category, and a "backlog" and "completed" category". I'd set "currently reading" to be included, and the others to be excluded, ensuring only manga in my "currently reading" get auto downloaded as new chapters are released.

@chancez chancez force-pushed the configure_category_downloads branch from 0525d29 to dabd42b Compare January 19, 2024 01:06
@chancez chancez requested review from Syer10 and schroda January 19, 2024 01:07
@chancez chancez force-pushed the configure_category_downloads branch from dabd42b to 157e6e2 Compare January 20, 2024 17:47
@chancez chancez requested a review from schroda January 20, 2024 17:48
@chancez chancez force-pushed the configure_category_downloads branch 3 times, most recently from 0515e64 to 1290995 Compare January 20, 2024 18:11
…ally

If a manga has no configured categories, behavior remains the same and
the automatic download functionality will download new chapters without
consulting the category includeInDownload configuration.

Signed-off-by: Chance Zibolski <[email protected]>
@chancez chancez force-pushed the configure_category_downloads branch from 1290995 to b31c342 Compare January 20, 2024 18:11
@Syer10 Syer10 merged commit 57d5bc6 into Suwayomi:master Jan 21, 2024
2 checks passed
@chancez chancez deleted the configure_category_downloads branch January 21, 2024 17:39
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