View Single Post
Old 04-17-2019, 08:14 AM   #221
stefano.sb
Zealot
stefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheese
 
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
KFX has two ways of storing metadata, the original metadata fragment and the newer book_metadata fragment. The KFX Input plugin always uses the newer value if it is present. The device view in calibre is based on older code I wrote and uses whichever happens to be first in the metadata.kfx file.

Sometimes the information in these two places differs for reasons that are unclear to me. In the file you uploaded the metadata fragment has the title as "Una vita" and the book_metadata fragment has it as "Una vita (Italian Edition)", resulting in this difference.

At some point the code in calibre should probably be updated to eliminate this difference.

(Added: And perhaps both should eliminate a "xxx edition" suffix.)

Thanks to jhowell, your answer is clear as usual !!! :thumb up:

The side effect is that after adding a KFX ebook with this "difference" the On Device and In Libray flags are not checked. I have to manually update the ebook title in Calibre and update the metadata on the Kindle device ...

Can we suggest that Kovin update the old code in Calibre? What do you think about it?

Stefano
stefano.sb is offline   Reply With Quote