View Single Post
Old 03-10-2021, 02:15 AM   #3
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Thanks!

I tried to edit ASIN of KFX book by doing this, but nothing happened, is this the right way?
Code:
from calibre_plugins.kfx_input.kfxlib import YJ_Book
book = YJ_Book('book.kfx')
metadata = book.get_metadata()
metadata.asin = 'BBBBB'
book.set_yj_metadata_to_book(metadata)
I think the 116 line of yj_metabata.py should be:
Code:
if yj_metadata.asin is None:
And I wonder why it's call yj_book, is this some abbreviation?

I forget to ask about srl and erl in book_metadata table: https://github.com/xxyzz/WordDumb/bl...ntitiesasinasc

Last edited by xxyzz; 03-10-2021 at 03:21 AM.
xxyzz is offline   Reply With Quote