-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modeling iiab-glue.db to enable mapping of books.id (metadata.db) and media.id (xklb-metadata.db) #263
base: master
Are you sure you want to change the base?
Conversation
Sync with upstream
Create iiab-glue.db if not exist
How to test
To further test, note the number in the URL for the video played from within Calibre-Web (i.e for http://<IIAB_URL>/books/read/31/mp4, the video ID is 31), note also the title of the video and note the media ID associated with it in |
This pull request introduces the
glue_db.py
module to model theiiab-glue.db
database, facilitating the mapping betweenbooks.id
inmetadata.db
andmedia.id
inxklb-metadata.db
.Key Changes:
New Module
glue_db.py
: Implements theGlueDB
class andMediaBooksMapping
schema to handle database creation, session management, and the mapping betweenmedia_id
andbook_id
.iiab-glue.db
file if it does not exist.Tested on Ubuntu 24.04