View Single Post
Old 02-23-2018, 03:41 AM   #406
wzyboy
Junior Member
wzyboy began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: Kindle Keyboard 3G, Kindle Paperwhite [1-4]
Quote:
Originally Posted by jhowell View Post

The "Always create book instead of personal document" option in the KFX Output tab of the conversion dialog can be used to force the CDE type and generate a fake ASIN value. This is documented near the end of the "Showing Cover Thumbnail Images on E-Ink Kindle Devices" section in the first post of this thread.
I did a quick read of the plugin Python code and thought the plugin only searches for ASIN in ["^mobi-asin$", "^amazon.*$", "^asin$"] fields. It even enforces the ASIN to match a regex to be considered valid. The option "Always create book instead of personal document" only sets cdetype to EBOK. I could not find code about using the calibre UUID as ASIN...

Quote:
Originally Posted by jhowell View Post

What is currently lacking is code in calibre to extract the ASIN value from KFX files when creating cover thumbnail images on a kindle device. The existing code handles only azw/azw3 book format. Someone (not me) would need to submit a patch to calibre to fix this.

For now you can instead use the ExtractCoverThumbs program, which is already able to perform this function, as documented in the place I mentioned above.
Yes I understand that currently calibre does not copy cover images to "/system/thumbnails/" directory for KFX files.

I tried the following:

1. Use calibre to send a KF8 book to Kindle. I can see that a new jpeg file appears in "/system/thumbnails/", the UUID (fake ASIN) in the jpeg filename is the same as the one shown in calibre "UUID" field. When the unplug the USB cable, the cover shows up correctly, and there is no "personal" banner.

2. Copy the KFX version of the same book to Kindle (generated with "Force EBOK" option). Since they are the same book in calibre, they should have the same fake ASIN (UUID). But Kindle does not display its cover, though there is a matching jpeg file in thumbnails directory.

Am I missing something here?

Edit:

I also tried the above two steps with an Amazon eBook (with real ASIN). Both KF8 and KFX display covers correctly. I all did this with Wi-Fi turned off, so there is no chane that Kindle downloads the cover for KFX from Amazon server -- the cover of KFX is read from the same jpeg file as the KF8.

Last edited by wzyboy; 02-23-2018 at 09:03 AM.
wzyboy is offline   Reply With Quote