iiab / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
4 stars 5 forks source link

Begin to establish 1:1 mapping between media_id (xklb-metadata.db) <-> Calibre-Web's book_id (metadata.db) #255

Open deldesir opened 2 months ago

deldesir commented 2 months ago

This pull request aims to initiate the process of creating a one-to-one mapping between the media_id in xklb-metadata.db and the book_id in Calibre-Web's metadata.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:

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.

avni commented 1 month 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. 🚀

deldesir commented 1 month ago

How to test