diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Chapter.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Chapter.kt index 43d8d19bd..b741c4c78 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Chapter.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Chapter.kt @@ -377,6 +377,10 @@ object Chapter { return } + // the download logic checks if a page is already downloaded, by deleting existing downloads, it's ensured that + // this is not possible and prevents the new pages from getting downloaded + deleteChapters(chapterIdsToDownload) + log.info { "download ${chapterIdsToDownload.size} new chapter(s)..." } DownloadManager.enqueue(EnqueueInput(chapterIdsToDownload))