Open deldesir opened 2 months ago
@deldesir indicates that this PR will need to be changed and use iiab-glue.db because of the DB refactoring we have been discussing so that we map books and media and also minimize impact due to upstream impact. 🚀
How to test
This pull request aims to initiate the process of creating a one-to-one mapping between the
media_id
inxklb-metadata.db
and thebook_id
in Calibre-Web'smetadata.db
. This enhancement is crucial for maintaining synchronization across the databases, enabling accurate search results based on media entries' captions and their corresponding book records.Key changes introduced in this pull request include:
media_id
andbook_id
. These functions ensure that each media entry inxklb-metadata.db
is accurately linked to its corresponding book record inmetadata.db
.This update builds on the foundation laid in previous pull requests (#244 and #256) and aims to enhance the overall structure and maintainability of the codebase.