View Single Post
Old 01-28-2011, 09:52 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Pinecone View Post
I was playing with importing books and merging the data.
The merge code is mine, so I'll help if I can.

Quote:
If I reimport a book that is in Calibre, and it merges the data, it doesn't replace the actual book.
Correct. This is import, not merge, but there is an automerge option of mine that is off by default. If the automerge option is on (Import/Export|Adding Books|If books with similar author title found ...") then it will add any new formats and ignore any pre-existing formats. Metadata is ignored. Calibre has a design philosophy of trying to make it hard to inadvertently overwrite existing books.
Quote:
If I save a book to disk, and import the book from one source, and reimport the saved book, the metadata doesn't return.
If you have the option on to save opf file (contains metadata) and the cover, then it will bring that metadata/cover data with it, provided that it's making a new record. It won't make a new record if you already have that book and you have the automerge option on.

Quote:
If I just reimport the book from the saved copy, I get the metadata.

So what is actually happening?

It seems like not much.
Metadata only comes in with a book when a new record is created. You're really asking an import question, not a merge question. Once the metadata is in Calibre, you can merge the record with another record, and that process merges the metadata. If you already have a book, and you want to bring in new metadata or a duplicate existing format for that book, turn off automerge, say yes when it asks if you want to create a duplicate record, then manually merge the records.
Starson17 is offline   Reply With Quote