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

Correctly check for existing download when downloading a chapter #752

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented Nov 3, 2023

Check for all downloaded pages during a chapter download

In case a chapter is marked as not downloaded, but the download folder exists already, the chapter did not get downloaded again.
This could cause issues in case the previous download failed or has missing pages.
Instead of only checking if the folder exists, each page should be checked individually

This was previously done and was incorrectly changed with 1c9a139.

@schroda schroda force-pushed the fix/handling_of_already_existing_cbz_chapter_downloads branch from c7ce367 to 03fcd47 Compare November 3, 2023 12:17
@schroda schroda marked this pull request as draft November 4, 2023 00:22
@schroda schroda force-pushed the fix/handling_of_already_existing_cbz_chapter_downloads branch from 03fcd47 to 82364cb Compare November 4, 2023 00:31
@schroda schroda changed the title Download chapter as cbz only in case download does not exist yet Correctly check for existing download when downloading a chapter Nov 4, 2023
@schroda schroda marked this pull request as ready for review November 4, 2023 00:33
@schroda schroda force-pushed the fix/handling_of_already_existing_cbz_chapter_downloads branch from 82364cb to 3a2e724 Compare November 4, 2023 00:34
In case a chapter is marked as not downloaded, but the download folder exists already, the chapter did not get downloaded again.
 This could cause issues in case the previous download failed or has missing pages.
Instead of only checking if the folder exists, each page should be checked individually

This was previously done and was incorrectly changed with 1c9a139.
@schroda schroda force-pushed the fix/handling_of_already_existing_cbz_chapter_downloads branch from 3a2e724 to 5b5a444 Compare November 4, 2023 00:36
@Syer10 Syer10 merged commit 8a4c717 into Suwayomi:master Nov 4, 2023
@schroda schroda deleted the fix/handling_of_already_existing_cbz_chapter_downloads branch November 4, 2023 22:12
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