Add support for opds-pse for undownloaded chapters (#1278)

* Add OPDS page streaming for undownloaded chapters

* Add [D] in chapter title prefix when isDownloaded

* Removed Chapter.isDownloaded check in query for other opds endpoints

* Add chapter progression tracking for streaming and refactor code

* dd  Unicode for chapters with 0 pages [post pageRefresh]

* Add Library Updates feed and remove redundant metadata fetching for OPDS chapters and manga

* Address PR comments & add chapter markAsRead for cbzDownload

* Address PR comment/s

* Rem. markAsRead for chapter download

* Rem. markAsRead for chapter download

---------

Co-authored-by: ShowY <showypro@gmail.com>
This commit is contained in:
Shirish
2025-03-08 22:01:07 +05:30
committed by GitHub
parent 3be165a551
commit 95d9293fe0
13 changed files with 427 additions and 143 deletions

View File

@@ -23,12 +23,17 @@ object OpdsAPI {
get("genres", OpdsV1Controller.genresFeed)
get("status", OpdsV1Controller.statusFeed)
get("languages", OpdsV1Controller.languagesFeed)
get("library-updates", OpdsV1Controller.libraryUpdatesFeed)
// Faceted feeds (Acquisition Feeds)
path("manga/{mangaId}") {
get(OpdsV1Controller.mangaFeed)
}
path("manga/{mangaId}/chapter/{chapterId}/fetch") {
get(OpdsV1Controller.chapterMetadataFeed)
}
path("source/{sourceId}") {
get(OpdsV1Controller.sourceFeed)
}