View Single Post
Old 01-01-2017, 05:46 PM   #1
craig.trader
Junior Member
craig.trader began at the beginning.
 
craig.trader's Avatar
 
Posts: 2
Karma: 10
Join Date: Jan 2017
Device: Android
Updating Books/Metadata on Import

I'm using Linux and Calibre 2.75.

I have a lot of ebooks (EPUB format) that are created or updated automatically via a script. I want to import these books into Calibre so that they can be searched / served. This is easy the first time, but if I update one or more books, I want to be able to re-import the entire collection, but only have the changed books updated in Calibre. (Updates are generally because of new/better templates, additional metadata, or added chapters to existing books.)

I have tried the following:
  1. calibredb add without --duplicates
    Result: no books were imported / updated (because they already exist).
  2. calibredb add with --duplicates
    Result: two entries for every book in the collection, the second with updated metadata.
  3. Calibre GUI add all books from a subdirectory
    Result: two entries for every book in the collection, the second with updated metadata.
  4. Calibre GUI add all books from a subdirectory, with automerge set to overwrite duplicates of existing formats.
    Result: all books were imported / updated, even the ones that hadn't changed. Cover thumbnails for existing books that did not have embedded covers were not updated.

I would greatly appreciate suggestions.
If I need to write a script, I would rather write a standalone script instead of a plugin (so I can just add it to my normal publish process).

- Craig -
craig.trader is offline   Reply With Quote