View Single Post
Old 04-16-2019, 08:02 PM   #220
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,123
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by stefano.sb View Post
... a little question... In Calibre On Device view for the ebook attached to this post (it's a DRM free ebook) i see "Una Vita" as title. After adding it into Library I see "Una Vita (Italian Edition)". Do you know why is there this difference?
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.)

Last edited by jhowell; 04-16-2019 at 08:29 PM.
jhowell is offline   Reply With Quote