feat(remote-library): add ebook opening from RemoteLibrary tab
- Add CacheRepository + CacheBookUseCase to download/cache remote ebooks via Audiobookshelf and upsert a local BookEntity/EbookFileEntity. - Support plain local file paths in FileProviderImpl and CachedFile.canAccess so reader can open downloaded ebooks stored in app filesDir. - Add Read button to RemoteLibraryContent for books with hasEbook=true. - Wire RemoteLibraryModel/Screen to cache the ebook and navigate to ReaderScreen with the local book id. - Add string resource for the Read button.
This commit is contained in:
parent
ed3afc1f16
commit
d1257e1d60
11 changed files with 247 additions and 387 deletions
|
|
@ -98,6 +98,7 @@
|
|||
<string name="web_search">Web search</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="read">Read</string>
|
||||
<string name="change_path">Change path</string>
|
||||
<string name="add_folder">Add folder</string>
|
||||
<string name="edit">Edit</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue