Add Audiobookshelf integration and ebook reader support#1
Open
serrebi wants to merge 1 commit intoM-Rajabi-dev:mainfrom
Open
Add Audiobookshelf integration and ebook reader support#1serrebi wants to merge 1 commit intoM-Rajabi-dev:mainfrom
serrebi wants to merge 1 commit intoM-Rajabi-dev:mainfrom
Conversation
Add end-to-end Audiobookshelf integration and ebook reading support. - add Audiobookshelf API client for library import, streaming metadata, uploads, chapters, and progress sync - add dedicated AudioBookshelf settings tab with server/key and upload defaults - support streamed Audiobookshelf books and local upload+link resolution for chapter/progress sync - add chapter list UX (context action, playback dialog, Alt+C) and chapter navigation shortcuts - add ebook reader support with local parsing and Audiobookshelf progress synchronization - add tests for Audiobookshelf client, link resolver, ebook parsing, media type detection, db helpers, playback sync, and default ABS library selection Co-authored-by: Codex <noreply@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds full Audiobookshelf + ebook support to AudioShelf.
I added support for Audiobookshelf server integration, uploading books to it, and tracking progress along with that.
I also added ebook reading support (multiple formats) with local and Audiobookshelf progress sync.
Key additions:
AudioBookshelfsettings tab and default library behavior when configuredWhy
This makes AudioShelf useful in both standalone and self-hosted workflows:
Testing
python -m unittest discover -s tests -p "test_*.py"Note from contributor
I vibe coded this, but I tested it and it seems to work fine.