![]() |
#1 |
Developer
![]() ![]() ![]() Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
|
Mobi Metadata issues
The calibre metadata functions confuse me more and more.
I'm adding a mobipocket file to calibre whose language is defined as english in the mobi header, but for some unkown reason calibre thinks it's undefined and replaces it with the system default language (in my case german). This is obviously a bug. I tried to debug it and calibre reads the actual language fine from the mobi file and writes it to a temporary .opf file, but when the actual .opf file is created, the language is suddenly undefined. I couldn't find any other way to display the language calibre assings to the book than to open the metadata.opf. Shouldn't there a way to show and change the language via the gui? When I export the mobi file to disk, the (wrong) language will be written into the exported file, but calibre doesn't adds the ASIN field needed for Kindle syncing. I have to do a mobi to mobi conversion to add the ASIN field. Is this a bug or a feature? I looked into the metadata switchboard, but there is no ASIN field to select, so this is no substitute. Ciao, Steffen |
![]() |
![]() |
![]() |
#2 | |
Developer
![]() ![]() ![]() Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
|
Quote:
I did some more debugging and the reason might be that in database2.py the language isn't handled at all. I would appreciate a quick fix, as the correct language setting is essential for using dictionary lookup in the Kindle app (and most likely also on Kindle devices). Ciao, Steffen |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
You might want to submit a bug report.
|
![]() |
![]() |
![]() |
#4 | |
Developer
![]() ![]() ![]() Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
|
Quote:
https://bugs.launchpad.net/calibre/+bug/809771 So I created a fix myself: https://www.mobileread.com/forums/sho...69&postcount=1 Ciao, Steffen |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update Mobi header/file metadata without doing a Mobi to Mobi conversion | RecQuery | Conversion | 2 | 06-30-2012 11:43 AM |
MOBI --> MOBI | Add Metadata Start Page | carlyman | Calibre | 0 | 10-19-2010 07:36 PM |
metadata issues | kwren | Calibre | 7 | 09-17-2010 03:39 PM |
Metadata issues | Eaque | Calibre | 9 | 01-14-2010 06:06 AM |
Mobi format metadata extraction issues | FrancisT | Calibre | 7 | 01-22-2009 01:34 AM |