feat(progress): implement reading and playback progress sync with bookshelf-api
- Add ProgressRepository + impl to push reading/playback progress to bookshelf-api - Add SyncReadingProgressUseCase and SyncPlaybackProgressUseCase - Add request models for bookshelf-api and Audiobookshelf progress endpoints - Add audio progress fields (audioCurrentFile, audioCurrentPosition) to Book/BookEntity - Add Room migration 17->18 and generated schema - Add BookDao/BookRepository query for books with remote IDs - Add ProgressSyncWorker scheduled from Application.onCreate - Hook SyncReadingProgressUseCase into ReaderModel progress updates - Add AudioPlayerProgress placeholder with TODO for playback sync hook - Add Hilt binding for ProgressRepository and missing string resources
This commit is contained in:
parent
ed3afc1f16
commit
a8a1417b9d
24 changed files with 981 additions and 2 deletions
|
|
@ -532,6 +532,8 @@
|
|||
<string name="bookshelf_cache_failed">Failed</string>
|
||||
<string name="bookshelf_download_action">Download</string>
|
||||
<string name="bookshelf_delete_cache_action">Delete</string>
|
||||
<string name="progress_sync_failed">Failed to sync reading progress</string>
|
||||
<string name="playback_progress_sync_failed">Failed to sync playback progress</string>
|
||||
<string name="arrow_content_desc">Arrow</string>
|
||||
<string name="reset_start_content_desc">Reset start guide</string>
|
||||
<string name="open_in_web_content_desc">Open in web</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue