View Single Post
Old 01-01-2021, 04:49 PM   #2
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,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by qwertyuio View Post
I have run a library check and it has found a few extra titles (files in the library that are not in the database). It appears the only option Calibre offers to correct the problem is to delete the files. I don't want to delete the files. I want to add them to the database. Is there any reason why the Check Library function does not allow me to add the extra files to the database?
Yes, there are too many corner cases to consider.

Errors of this sort are invariably caused when something other than calibre is used to add/rename/delete sub folders and files within the library folder - usually a file manager. The simple message is - Don't Do That.
  • Copy the list to the clipboard;
  • Move the 'Extra Title" book folders out of the library with your file manager;
  • Run the library check again to ensure the "Extra Title" books are gone;
  • Use one of calibre's Add Books options to put the books into the library;
I run the calibredb check_library weekly. On the odd occasion something is reported, I can recall what I did to 'break it' - usually leaving something behind like an unpacked CBZ after reordering the images.

BR
BetterRed is offline   Reply With Quote