View Single Post
Old 07-26-2013, 02:27 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Rbneader View Post
I thought Calibre uses the file structure as a database, so how did it not see the folders that were there?
Aaah, Calibre does NOT use the file structure as its database. I'm wondering if you've been changing the files and folders via your file manager.

Calibre uses the file system as a place to put books, much like a bricks & mortar library uses its shelves. When your librarian wants to see if the library has a book, whether its out on loan, where it is in the library etc, then reference is made to the library index/catalogue

The <library>/<author>/<title> folders you see are the equivalent of the library shelves, the metadata.db file in the <library> folder is the equivalent of the catalogue/index - they are closely coupled via the Calibre GUI code.

There is one 'golden rule' with Calibre, which is, don't make DIRECT changes to the names of folders or files within a library, or remove or add any folders or files to a library via your file manager or via the command line etc.

The Calibre GUI provides rich set of features (some would say too rich) to change library & author names, book titles etc, add additional formats directly or via conversion etc etc. Ordinarily there is no need to visit the library folders but if you do then just follow the 'golden rule' and all will be fine.

If you digress from the 'golden rule' then things will go wrong and the library wont function properly. Its like if people went into a bricks & mortar library, and took books without checking them out, moved books around on the shelves, swapped covers, put extraneous books on the shelves.

Did you watch the Calibre video - https://www.mobileread.com/forums/sho...d.php?t=118596 - if not then I recommend it.

BR
BetterRed is offline   Reply With Quote