View Single Post
Old 10-18-2025, 06:29 AM   #176
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,762
Karma: 24088559
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by AlaVander View Post
There seems to be an issue with the plugin at the moment; even when both 'add asin' and 'generate kfx' are selected, the generated kfx file is always recognised as a document rather than an e-book.
I noticed that too. I'll double-check the command line settings and update the plugin, if necessary.

EDIT: I checked the KFX Output plugin parameters. Apparently, I'll generate a PDOC by default. This can be changed via the -b parameter.
I'll update the plugin code.

Advanced users can simply change line #1036 in plugin.py:

Code:
            args = [calibre_debug_path, '-r', 'KFX Output', '--', '-a', asin, '-p', '0', epub_path, kfx_path]
to

Code:
            args = [calibre_debug_path, '-r', 'KFX Output', '--', '-a', asin, '-p', '0', '-b', epub_path, kfx_path]

Last edited by Doitsu; 10-18-2025 at 06:58 AM.
Doitsu is offline   Reply With Quote