View Single Post
Old 03-25-2010, 09:15 AM   #27
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 theducks View Post
If "Unknown" replace ....
After looking at the code, reading comments here and thinking about it for a while, I think it makes sense to overwrite blank author/title fields (which Calibre fills with "Unknown") in the destination record (first selected) when the source record (second or subsequently selected record) has something other than "Unknown" in those fields. Author and author_sort will always be brought in as a pair, title will be treated separately.

This will treat the author/title fields as though they were empty if they have Unknown in them. Doing it this way also allows you to make a copy of a record by creating an empty record (from Add Book) then doing a safe merge into the empty record from another record. The empty record will have Unknowns in the author/title fields, and the safe merge will fill the new record with metadata from one or more subsequently selected records.
Starson17 is offline   Reply With Quote