The metadata.db file in each library is critical. It contains all the metadata about books and also which folders the books are in. It is tightly bound to the book folders/files for a given library and if the two get out of sync you will start getting strange results.
The main calibre GUI is driven by the contents of the metadata.db file so this is what determines what books are shown and what metadata is shown for the books.
|