xxyzz / WordDumb

A calibre plugin that generates Kindle Word Wise and X-Ray files for KFX, AZW3, MOBI and EPUB eBook.
https://xxyzz.github.io/WordDumb/
GNU General Public License v3.0
386 stars 19 forks source link

No Xray appears for ebook on android #164

Closed wafflelily closed 1 year ago

wafflelily commented 1 year ago

Checkboxes

Describe the bug

When trying to add xray to an ebook and load it into my android phone to read via the kindle app, I can read the book, but there's no xray options for that book. I can see xray for other books that I have bought via amazon. Running worddumb seemed to generate everything as it should, on my computer i can see the epub and kfx versions of the files next to the xray file which has lots of data inside. But when worddumb puts the files into my phone, it seems to only put the kfx or android files in. Manually dragging files into the phone also doesn't work.

Operating System name and version

Windows 10

Python version

3.10.9

calibre version

6.29.0

WordDumb plugin version

3.29,7

Error message

no error message

Plugin settings and reproduce steps

image image I click create X ray

Generated files, screenshots or videos

image image

xxyzz commented 1 year ago

Does the BBFO... folder on your phone contains XRAY file?

wafflelily commented 1 year ago

image It didn't, so I manually added it there to see if that would work, made no difference

xxyzz commented 1 year ago

The XRay file need to be renamed to "XRAY.ASIN.acr.db". I sorry to day I don't know why the xray file wasn't sent to Android phone.

wafflelily commented 1 year ago

I renamed it to that and it didn't work. I also copied that file and put it in other folder locations too and it still didn't work.

xxyzz commented 1 year ago

You have to change the "asin" and "acr" in the filename. You can get these values by running this command:

$ calibre-debug -r "KFX Input" -- -j  kfx_file_path

the asset_id in the output is the acr value.

wafflelily commented 1 year ago

That worked! Thank you so much!