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 06-15-2022, 01:37 PM   #1246
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,959
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
I'm trying to convert a Czech language ePub to KFX (have tried a few of them), and am getting 'Internal Error'. Indeed Kindle Previewer (3.65.0) gives same error, without further elaboration, directs me to KPR Help menu to Send Feedback. I've done this, but wondered if you have any idea what the problem might be.

In meantime, MOBI convert works fine.

I downloaded these from pocketbook-int.com:

https://support.pocketbook-int.com/c...ks/u/Czech.zip

Russian language books from the same site convert fine FWIW.

Thank you

Last edited by tomsem; 06-15-2022 at 01:51 PM.
tomsem is offline   Reply With Quote
Old 06-15-2022, 02:16 PM   #1247
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,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
I'm trying to convert a Czech language ePub to KFX (have tried a few of them), and am getting 'Internal Error'. Indeed Kindle Previewer (3.65.0) gives same error, without further elaboration, directs me to KPR Help menu to Send Feedback. I've done this, but wondered if you have any idea what the problem might be.
...
Russian language books from the same site convert fine FWIW.
The Kindle Previewer will usually only convert books that are in a supported language for Kindle eBooks. Russian is an odd exception in that it is allowed even though it is not supported.

One workaround is to set the language in the metadata of your book to a supported language, such as English, before conversion. The main downside of doing that is language-dependant features, such as dictionaries, won't function correctly.
jhowell is offline   Reply With Quote
Advert
Old 06-15-2022, 03:07 PM   #1248
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,959
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by jhowell View Post
The Kindle Previewer will usually only convert books that are in a supported language for Kindle eBooks. Russian is an odd exception in that it is allowed even though it is not supported.

One workaround is to set the language in the metadata of your book to a supported language, such as English, before conversion. The main downside of doing that is language-dependant features, such as dictionaries, won't function correctly.
"One would think" Previewer would yield a message like 'unsupported language'.

Unfortunately I need to use a dictionary, so that's that (unless I muck with the dictionary as well). MOBI will do.

Note Russian is 'unsupported' only for purposes of KDP. Kindle platform supports Russian (Russian UI in all of the apps, and translation dictionaries for Kindle), and there are thousands of Russian language books in the Kindle Store, but I guess you have to establish a 'publisher' relationship with Amazon to get them in there.

One of my peeves about the Kindle Store Russian language ebooks is that most (or at least the ones I have purchased) seem to disallow TTS. What is the point of that?

Polish is also 'unsupported' but Previewer does not complain about it, either.

So it's as if Czech has been singled out for this 'punishment'.

IIRC, 'unsupported' means Amazon does not have staff fluent enough in that language to do whatever minimal curation they want to be able to do. Apparently they have people with literacy in Manx, though.

And what's with 'paperback only' support mean? hardcover and ebook is okay but not paperback?

or in the case of Latin, 'paperback and hardcover only)? What have they got against having Latin texts in Kindle Store?

Weirdos.

Last edited by tomsem; 06-15-2022 at 03:12 PM.
tomsem is offline   Reply With Quote
Old 06-15-2022, 07:46 PM   #1249
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,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
"One would think" Previewer would yield a message like 'unsupported language'.
Hopefully they will fix the bug someday.

Quote:
Originally Posted by tomsem View Post
Note Russian is 'unsupported' only for purposes of KDP. Kindle platform supports Russian (Russian UI in all of the apps, and translation dictionaries for Kindle), and there are thousands of Russian language books in the Kindle Store, but I guess you have to establish a 'publisher' relationship with Amazon to get them in there.
I see. That explains why Russian is supported in the Previewer.

Quote:
Originally Posted by tomsem View Post
Polish is also 'unsupported' but Previewer does not complain about it, either.
Actually Polish is not supported by the Previewer and fails to convert. That is one of a handful of languages that the KFX Output plugin handles by switching it to English so that conversion by the Previewer will function. I will add the same handling for Czech in the next plugin release.

Quote:
Originally Posted by tomsem View Post
Unfortunately I need to use a dictionary, so that's that (unless I muck with the dictionary as well).
I am also going to have the plugin restore the original language in the resulting KFX book. That will hopefully allow dictionary lookup to function if a dictionary for the proper language is present on the device. (I have been unable to test this because I cannot locate a Czech Kindle dictionary so it might not actually work.)
jhowell is offline   Reply With Quote
Old 06-16-2022, 04:38 AM   #1250
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,106
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by tomsem View Post
One of my peeves about the Kindle Store Russian language ebooks is that most (or at least the ones I have purchased) seem to disallow TTS. What is the point of that?
Apparently publishers are worried about TTS taking away sales from audiobooks.

I'll note in passing that the DeDRM plugin also resets the flag that blocks TTS.
pdurrant is offline   Reply With Quote
Advert
Old 06-16-2022, 12:04 PM   #1251
VoodooGod
Junior Member
VoodooGod began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2022
Device: Kindle Paperwhite 10th Gen
Quote:
Originally Posted by shamanNS View Post
Yay, it works

I've managed to edit "extract_cover_thumbs.py" (from "ExtractCoverThumbs" app) code to process only files with .kfx extensions and dump images with correct filename (cover_ASIN.png) to needed location (/mnt/us/linkss/cover_cache) folder and to save them as PNG and resize even smaller cover images to 1072 x 1448. Luckily ScreenSaver hack doesn't redo cover extraction if it finds already cached file for that book.

And I've created KUAL extension to run that script
Would you mind sharing that extension? I'm digging through the code too, but it would save me some time.
VoodooGod is offline   Reply With Quote
Old 06-16-2022, 12:55 PM   #1252
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,959
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by pdurrant View Post
Apparently publishers are worried about TTS taking away sales from audiobooks.

I'll note in passing that the DeDRM plugin also resets the flag that blocks TTS.
These are tiny (probably one person) publishers nobody has heard of, with minuscule ebook sales, and they don't do audiobooks. I just think they ticked the box and didn't really think about it.

And yes, thankfully it is not an issue for me thanks to the plugin.

TTS flag is also ignored by screen readers (SpeakScreen, VoiceView etc).
tomsem is offline   Reply With Quote
Old 06-16-2022, 01:16 PM   #1253
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,959
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by jhowell View Post
Hopefully they will fix the bug someday.



I see. That explains why Russian is supported in the Previewer.



Actually Polish is not supported by the Previewer and fails to convert. That is one of a handful of languages that the KFX Output plugin handles by switching it to English so that conversion by the Previewer will function. I will add the same handling for Czech in the next plugin release.



I am also going to have the plugin restore the original language in the resulting KFX book. That will hopefully allow dictionary lookup to function if a dictionary for the proper language is present on the device. (I have been unable to test this because I cannot locate a Czech Kindle dictionary so it might not actually work.)
Great, thank you!

I have Czech-English and Polish-English translation dictionaries so I could test something. For some reason these are no longer available for sale in US Kindle Store.

I searched 'Kindle Default Dictionaries' for 'Czech' and looks like there are some that go from English to Czech. And one that goes from Czech to Vietnamese (available via Kindle Unlimited)! I borrowed it and it does work.
tomsem is offline   Reply With Quote
Old 06-16-2022, 02:35 PM   #1254
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by tomsem View Post
MOBI will do.
Why not go with KF8 instead as it gives you more features and better support for more advanced features?
JSWolf is offline   Reply With Quote
Old 06-16-2022, 02:37 PM   #1255
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by tomsem View Post
These are tiny (probably one person) publishers nobody has heard of, with minuscule ebook sales, and they don't do audiobooks. I just think they ticked the box and didn't really think about it.

And yes, thankfully it is not an issue for me thanks to the plugin.

TTS flag is also ignored by screen readers (SpeakScreen, VoiceView etc).
But what do you do with DRM free Kindle eBooks where DeDRM will not reset the TTS flag?
JSWolf is offline   Reply With Quote
Old 06-16-2022, 02:38 PM   #1256
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,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
And one that goes from Czech to Vietnamese (available via Kindle Unlimited)! I borrowed it and it does work.
I have Kindle Unlimited so I borrowed that dictionary and was able to make it work.

I plan to release a new version of this plugin within a few days.
jhowell is offline   Reply With Quote
Old 06-16-2022, 04:09 PM   #1257
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,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by JSWolf View Post
But what do you do with DRM free Kindle eBooks where DeDRM will not reset the TTS flag?
There are several programs that can change the metadata of Kindle books. Java Mobi Metadata Editor for example.
jhowell is offline   Reply With Quote
Old 06-16-2022, 07:29 PM   #1258
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jhowell View Post
There are several programs that can change the metadata of Kindle books. Java Mobi Metadata Editor for example.
Is there such a program that works on KF8 that doesn't break it? Mobo2Mobi and the one you recommended break KF8.
JSWolf is offline   Reply With Quote
Old 06-16-2022, 08:30 PM   #1259
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,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by JSWolf View Post
Is there such a program that works on KF8 that doesn't break it? Mobo2Mobi and the one you recommended break KF8.
I just used Java Mobi Metadata Editor to change the TTS flag on a KF8 book from Amazon and it worked without damaging the file.

Can you give an example where it fails?

Last edited by jhowell; 06-17-2022 at 07:20 AM. Reason: Typo
jhowell is offline   Reply With Quote
Old 06-17-2022, 04:31 AM   #1260
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jhowell View Post
I just used Java Mobi Metadata Editor to change the TTF flag on a KF8 book from Amazon and it worked without damaging the file.

Can you give an example where it fails?
Actually, I was mistaken about this one. It's mobi2mobi that fails to work properly with KF8.
JSWolf 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 588 03-28-2025 02:26 PM
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 02:41 AM.


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