-
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
Model xklb-metadata.db using SQLAlchemy #259
base: master
Are you sure you want to change the base?
Conversation
Function to get a specific book (which maps to a media entry) for a given caption
|
This PR does not create a blank database anymore. As explained in the description, it does one thing, modeling xklb-metadata.db. It is based on the experimental PR New xb.py: Possible schema to standardize xklb db's + main operations? [need to align w/ Calibre-Web's metadata.db & app.db!] #253. As for the reason behind creating a blank, it was for convenience. A db with all key columns would prevent missing columns error and avoid the need to add them (altering the db). PR Begin with blank xklb-metadata.db from template? [w/ key columns added for Calibre-Web videos] iiab#3808 is not relevant anymore, see PR Add xklb-patch script iiab#3827. |
How to test
|
This pull request aims to model the xklb-metadata.db database using SQLAlchemy to manage media, captions, and playlists information. The new models provide a structured way to interact with the database and support operations such as creating, updating, and querying media and related data.