Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2017, 07:37 AM   #1
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 919
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
Check library: Add missing found

In the check library panel, I want a "Add missing" button in addition to the "Delete" button.

I've got a bunch of books in my Calibre library directory that aren't in the database and should be. Right now, to fix that, I have to move their directory out of the Calibre Library and re-add them, which is quite tedious. It seems like it would be easy to leave them where they are and just add their existing metadata (in the opf file) and the cover to the database.
compurandom is offline   Reply With Quote
Old 04-19-2017, 10:30 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I think the issue is:
Some of the info (the {id}being one)is now incorrect and would require a complex procedure to adjust.

The bigger question: What are you doing to orphan those books? Calibre has a pretty robust transaction process.
theducks is offline   Reply With Quote
Advert
Old 04-19-2017, 04:20 PM   #3
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: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If you have a lot of 'orphans':
  • Create a fresh library, and then use calibre's copy to library (delete after copy) feature to move all the 'unorphaned' books and all their metadata to the fresh library.
  • Use calibre's Remove library feature to remove the old library from calibre, that will remove the library from calibre's list of libraries, it doesn't delete anything. Delete the metadata.db and any .json files from the old library directory.
  • Add the books from the old library to the fresh library using calibre's Add Books from directories, including sub-directories (One book per directory . . .) option.
Then stop doing whatever you've been doing that created the orphans, such as adding and renaming author and book directories with a file manager.

BR
BetterRed is offline   Reply With Quote
Old 04-19-2017, 08:48 PM   #4
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 919
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
Quote:
Originally Posted by theducks View Post
I think the issue is:
Some of the info (the {id}being one)is now incorrect and would require a complex procedure to adjust.
Understood... as an alternative, maybe an option to rename all the offending directories to a new subdirectory outside of the library; I could then import the books from normally. I've pretty much been doing that by hand anyway.

The other suggestion here was to essentially rebuild the library from scratch. That's not really a good option, as the library is in good shape, and these broken/missing books make up less than 10% of a very large library, and even less now that I've been chiseling away at it slowly.

Quote:
The bigger question: What are you doing to orphan those books? Calibre has a pretty robust transaction process.
Hard drive failure including silent data corruption, restoration from multiple backups to try to go back before the corruption started without losing items that were added later and were not corrupted. Ya, I'd like to stop that too, but as far as I can tell, I haven't lost any real data.
compurandom is offline   Reply With Quote
Old 04-19-2017, 09:30 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I would go for BR's approach.

Be sure to set which 'duplicate' option in preferences: Adding Books
theducks is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
to add books to check if the version already in the library ASTRONAUTA Library Management 5 07-15-2016 06:56 PM
How to fix "Extra Titles" in Database in " Check Library - Problems Found millan Library Management 33 07-16-2015 07:12 AM
'Check Library' -- Problems Found lists invalid titles and they are from Recycle enonod Library Management 4 12-01-2013 08:17 AM
Save Log in "Check Library-Problems Found" BetterRed Calibre 1 07-25-2012 05:47 PM
Bypass found for Windows piracy check TadW Lounge 1 05-24-2005 05:53 AM


All times are GMT -4. The time now is 01:25 AM.


MobileRead.com is a privately owned, operated and funded community.