feat: Add Audiobookshelf and Calibre OPDS integration

- Implemented Audiobookshelf integration for uploading audiobooks with metadata, cover, chapters, and subtitles.
- Added configuration options for Audiobookshelf in the settings page, including base URL, API token, library ID, and upload preferences.
- Introduced Calibre OPDS integration for fetching and downloading resources from a Calibre OPDS catalog.
- Enhanced job processing to include post-completion hooks for Audiobookshelf uploads.
- Updated settings template to include new integration options and fields.
- Added utility functions for metadata normalization and chapter extraction.
- Included HTTP client functionality for both Audiobookshelf and Calibre OPDS interactions.
- Updated dependencies to include httpx for HTTP requests.
This commit is contained in:
JB
2025-10-27 17:10:48 -07:00
parent 6e536c6e3b
commit de0f17cd57
7 changed files with 1211 additions and 169 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ dependencies = [
"Flask>=3.0.3",
"numpy>=1.24.0",
"gpustat>=1.1.1",
"num2words>=0.5.13"
"num2words>=0.5.13",
"httpx>=0.27.0"
]
classifiers = [