mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 06:42:07 +01:00
* Add "download ahead" mutation Checks if the specified number of unread chapters, that should be downloaded, are available. In case not enough chapters are downloaded, the number of missing unread chapters will get downloaded * Optionally pass the latest read chapter id of a manga In case a chapter will get marked as read, which also triggered the download ahead call, it's possible, that by the time the download ahead logic gets triggered, the chapter hasn't been marked as read yet. This could then cause this chapter to be included in the chapters to get downloaded. By providing the chapter id, this chapter will be used as the latest read chapter instead, and thus, not be included inn the chapters to download.