View Single Post
Old 06-09-2024, 03:51 AM   #700
Kluyg
Member
Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.Kluyg ought to be getting tired of karma fortunes by now.
 
Posts: 24
Karma: 200000
Join Date: May 2010
Device: Kindle Scribe, Sony PRS-950
Actually, I managed to add support for Scribe notebooks that use multiple templates. It turned out to be a small change, but maybe a bit hacky: https://github.com/kluyg/calibre-kfx...64804f757e0fbc

I wonder what the proper fix from jhowell would look like. In the meantime, if you can't wait, I'm attaching version 2.12.1 which supports Kindle Scribe notebooks with per page templates.

Spoiler:
Code:
strebkov-mac:~ strebkov$ calibre-debug -r "KFX Input" -- /Users/strebkov/kindle_scribe/.notebooks/1850ba62-93b2-8d4a-2b29-ce734b002402 ~/kindle_scribe/converted_notebooks/mynotebook-2-new.epub
Software versions: KFX Input 2.12.1, calibre 7.12, macOS-14.5-arm64-arm-64bit
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290

Processing /Users/strebkov/kindle_scribe/.notebooks/1850ba62-93b2-8d4a-2b29-ce734b002402
Processing container: /Users/strebkov/kindle_scribe/.notebooks/1850ba62-93b2-8d4a-2b29-ce734b002402/nbk
Removed 1 KDF SQLite file fingerprint(s)
Found local_action_fragments table
Found local_delta_fragments table
Adding 37 missing fragments from local_delta_fragments
Features: db.delta_update-1, db.schema-1, max_id-825, note-2
Metadata: book_id=GcZ60iWhREaLqvFLR-_d-w0, reading_orders=2
Converting /Users/strebkov/kindle_scribe/.notebooks/1850ba62-93b2-8d4a-2b29-ce734b002402 to EPUB
Converting book to EPUB 3
Book symbol format is base64
Notebook template: medium_rule_1860x2480
Notebook template: daily_planner_1860x2480
Format is fixed layout notebook
Converted book saved to /Users/strebkov/kindle_scribe/converted_notebooks/mynotebook-2-new.epub
Attached Files
File Type: zip KFX Input.zip (610.5 KB, 439 views)
File Type: epub mynotebook-2-new.epub (65.2 KB, 138 views)
Kluyg is offline   Reply With Quote