Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
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
Old 02-23-2018, 09:22 AM   #407
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by wzyboy View Post
I could not find code about using the calibre UUID as ASIN...
The kindle requires the name of the thumbnail file to be in a specific format that includes a cdetype and asin that match the metadata contained within the book.

Any unique string will do for a fake asin. calibre uses its own book uuid and the KFX Output plugin generates a random 32 character string instead.

There is a slight advantage to using the calibre uuid that I hadn't considered previously. If you convert and copy the same book to a kindle multiple times it will retain the same asin and so it will overwrite the thumbnail image, instead of creating a new one each time.
jhowell is offline   Reply With Quote
Advert
Old 02-23-2018, 10:43 AM   #408
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
calibre uses its own book uuid and the KFX Output plugin generates a random 32 character string instead.
Thanks for the explaination. I understand now. I used to think the KFX output plugin uses the calibre UUID just like the built-in output plugins. I was confused.
wzyboy is offline   Reply With Quote
Old 03-25-2018, 02:20 PM   #409
arooni
Addict
arooni began at the beginning.
 
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
Anyway to get previous versions of kindle previewer that might be compatible with this plugin? Looks like latest is 3.2.1 ; not 3.20.1 ..

Also... I just converted a book with this version of Kindle Previewer... and it seems like I can't search it at all. Is this because I've used the 3.2.1 verison of Kindle Preview (Mac OS X)

Also I recently updated firmware; don't know if that makes a difference.

Last edited by arooni; 03-25-2018 at 05:56 PM.
arooni is offline   Reply With Quote
Old 03-25-2018, 07:06 PM   #410
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by arooni View Post
Anyway to get previous versions of kindle previewer that might be compatible with this plugin? Looks like latest is 3.2.1 ; not 3.20.1
I have updated the first post in this thread to state that Kindle Previewer version 3.21 is compatible with the current version of this plugin. (BTW it is 3.21, not 3.2.1.)

Quote:
Originally Posted by arooni View Post
Also... I just converted a book with this version of Kindle Previewer... and it seems like I can't search it at all.
I tried a search on my Oasis running firmware version 5.9.4 and it worked properly for a sideloaded KFX book.

Perhaps your book was not yet indexed when you searched. It can take several minutes per book. (There are several threads in the Amazon Kindle subforum that describe how to determine the status of the indexer on your Kindle.)

Last edited by jhowell; 03-25-2018 at 07:14 PM.
jhowell is offline   Reply With Quote
Advert
Old 04-02-2018, 08:37 AM   #411
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Version 1.17.0 - 02 Apr 2018

Detect Previewer versions up to 3.21.

Remove support for Previewer versions older than 3.17. (Newer Previewer versions produce better results.)

Internal restructuring and performance improvements.
jhowell is offline   Reply With Quote
Old 04-06-2018, 07:37 AM   #412
varshithpuli
Junior Member
varshithpuli began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2018
Device: ipad
Quote:
Originally Posted by jhowell View Post
Version 1.17.0 - 02 Apr 2018

Detect Previewer versions up to 3.21.

Remove support for Previewer versions older than 3.17. (Newer Previewer versions produce better results.)

Internal restructuring and performance improvements.
hey is there a way to convert KDF files created using Kindle create application to KFX or anyother format readable on my IPad...

I used kindle create app to convert my PDF Fixed layout to KDF(which supports Highlighting and text selection) with some manual table of contents and I obviously don't want to publish that, so is there a way to side load that in any format and read on my IPAD
varshithpuli is offline   Reply With Quote
Old 04-06-2018, 09:47 AM   #413
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by varshithpuli View Post
hey is there a way to convert KDF files created using Kindle create application to KFX or any other format readable on my IPad...
Yes, you can do that using this plugin.

KDF is only one component of the full KPF needed for conversion. Use the File->Publish menu option within Kindle Create to generate a KPF file.

You will need to run this plugin via the command line instead of the calibre GUI in order for the file to convert correctly. Assuming that your book is named "my book.kpf" the command line to convert it to KFX would be:

calibre-debug -r "KFX Output" -- "my book.kpf"

The resulting file, "my book.kfx", can then be sideloaded to the Kindle for iOS app using the File Sharing function within iTunes. (You will not be able to use iCloud or the Files app for this transfer.)
jhowell is offline   Reply With Quote
Old 04-06-2018, 01:42 PM   #414
varshithpuli
Junior Member
varshithpuli began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2018
Device: ipad
Quote:
Originally Posted by jhowell View Post
Yes, you can do that using this plugin.

KDF is only one component of the full KPF needed for conversion. Use the File->Publish menu option within Kindle Create to generate a KPF file.

You will need to run this plugin via the command line instead of the calibre GUI in order for the file to convert correctly. Assuming that your book is named "my book.kpf" the command line to convert it to KFX would be:

calibre-debug -r "KFX Output" -- "my book.kpf"

The resulting file, "my book.kfx", can then be sideloaded to the Kindle for iOS app using the File Sharing function within iTunes. (You will not be able to use iCloud or the Files app for this transfer.)
sorry for spamming the forum with multiple posts... thanks that worked.....
varshithpuli is offline   Reply With Quote
Old 04-06-2018, 02:16 PM   #415
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by varshithpuli View Post
sorry for spamming the forum with multiple posts... thanks that worked.....
You're welcome.
jhowell is offline   Reply With Quote
Old 04-06-2018, 02:35 PM   #416
varshithpuli
Junior Member
varshithpuli began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2018
Device: ipad
Quote:
Originally Posted by jhowell View Post
You're welcome.
Is there a way to add cover pic to that file...??? tied using calibre but not working in ipad... in ipad its just a black image with filename
varshithpuli is offline   Reply With Quote
Old 04-06-2018, 04:31 PM   #417
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by varshithpuli View Post
Is there a way to add cover pic to that file...??? tied using calibre but not working in ipad... in ipad its just a black image with filename
No, there currently isn't any way to add a cover. I plan to add that feature in a future release of this plugin, but I don't have a timetable for that.
jhowell is offline   Reply With Quote
Old 04-09-2018, 08:50 AM   #418
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Version 1.18.0 - 09 Apr 2018

Set cover thumbnail to first page when converting from fixed layout KPF to KFX.
jhowell is offline   Reply With Quote
Old 04-09-2018, 03:32 PM   #419
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Is it possible to output a KFX book using the « fast continuous page turns » feature of the « improved manga experience »? What would be the required elements in the input EPUB?

The < < < 0% > > > feature in other words:
Attached Thumbnails
Click image for larger version

Name:	screenshot_2017_10_30T13_16_46-0400 Tokyo Ghoul Manga Special Preview, Vol. 1_B012YBOXV4.kfx déf.png
Views:	349
Size:	83.0 KB
ID:	163344  
PoP is offline   Reply With Quote
Old 04-09-2018, 03:42 PM   #420
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by PoP View Post
Is it possible to output a KFX book using the « fast continuous page turns » feature of the « improved manga experience »? What would be the required elements in the input EPUB?
Yes.

See the section titled "Converting Comics and Manga" in the first post of this thread.
jhowell is offline   Reply With Quote
Reply

Tags
kfx, linux, wine


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 551 07-18-2023 06:22 AM
Conversion output plugins? jgoguen Development 14 08-10-2013 11:19 AM
Output file name after conversion dbellefuil Calibre 2 06-14-2013 04:40 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Conversion output folders TechieLady Conversion 6 01-19-2012 02:49 AM


All times are GMT -4. The time now is 05:09 PM.


MobileRead.com is a privately owned, operated and funded community.