Copilot/add talebook backend support - #18
Open
valuex wants to merge 3 commits into
Open
Conversation
- Add LIBRARY_PROVIDER config key (calibre|talebook, default: calibre) - Add TALEBOOK_URL/USERNAME/PASSWORD/TIMEOUT/VERIFY_SSL config keys - Create utils/library_provider.py with provider detection, auth selection, base URL routing, and library_request() wrapper - Route get_calibre_book_details() and download_calibre_book() through provider wrapper in blueprints/api/calibre.py - Route book search/list requests through provider wrapper in blueprints/main.py - Route cover fetch through provider wrapper in utils/covers.py - Replace hardcoded library_type='calibre' with get_provider() in download/push-to-Kindle/push-to-Anx log calls in blueprints/api/books.py - Add TALEBOOK_VERIFY_SSL to boolean checkbox handling in blueprints/api/settings.py - Update docker-compose.yml with Talebook env var examples and optional Talebook service section - Update README.md with Talebook configuration table entries and a new 'Using Talebook as the Library Backend' section
- Fix typo in covers.py comment (活跃 -> 激活) - Extract _get_credentials() helper in library_provider.py to remove duplicated username/password retrieval logic - Restore URL context in download_calibre_book() error log
Owner
|
您好,感谢您的提交 |
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.
添加对talebook的支持。