07-08-2024, 06:42 PM | #1 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
KOReader on Kobo + KOReader docker
Hi everyone,
I am using Koreader on Kobo Clara BW plus Koreader in a docker (https://github.com/zephyros-dav/docker-koreader) running on My Raspberry Pi 5 accessible from the Internet. My goal is to read from the Kobo and from other browsers (from work or on iPhone) by synchronizing the progress of reading and the highlights. I currently use a shared folder with Syncthing that runs on both Kobo and server. But when I open the book on Kobo I don't see the highlights but only the current position of the book (and viceversa when reading in the browser). Seeing the Metadata.epub.lua file it seems to have the highlights from both sources but opening the book from the single koreader (kobo or browser) i can only see the highlights made on that koreader instance. Am I doing something wrong? Thanks in advance, Emanuele |
07-15-2024, 02:55 PM | #2 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
Hi, i figured out that highlight on kobo is written to lua file in this way:
Code:
... ["annotations"] = { [1] = { ["chapter"] = "Bassa Fedeltà", ["datetime"] = "2024-07-15 19:40:01", ["drawer"] = "lighten", ... Code:
... ["bookmarks"] = { [1] = { ["chapter"] = "Bassa Fedeltà", ["datetime"] = "2024-07-15 17:40:47", ["highlighted"] = true, ... |
Advert | |
|
07-15-2024, 03:44 PM | #3 |
Wizard
Posts: 1,085
Karma: 3592495
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
The second piece of code is obsolete.
|
07-15-2024, 05:28 PM | #4 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
mmm the koreader version in docker is 24.04
|
07-15-2024, 06:44 PM | #5 |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Yup, still obsolete.
You updated the device we currently support to a nightly that changed the behaviour and the 3rd party, unsupported, docker package wasn't updated to match the version used on your ereader. Still not sure if that will automagically fix your issue but having both programs to share the same schema is mandatory to achieve that. |
Advert | |
|
07-15-2024, 07:17 PM | #6 |
Resident Curmudgeon
Posts: 76,495
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Solution...Dump the docker. It's not needed at all.
|
07-16-2024, 03:17 AM | #7 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
fixed with docker updated to latest KOReader 2024.07 "Outside"
|
07-19-2024, 03:42 PM | #8 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
At the end, after days of frustrations, I decided to avoid metadata book sync (i always crash into sync conflict or permission issue).
Configured only koreader server to sync the progress. For the highlights i will export them when i'll finish the book and then merge them. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Starting KoReader plugins independent of KoReader | jrw174 | PocketBook Developer's Corner | 0 | 08-13-2023 02:42 PM |
Starting KOReader from CC works only if KOReader was not running before | Norbi24 | KOReader | 7 | 09-24-2020 01:10 PM |
KOReader en français / KOReader in french | cramoisi | Software | 33 | 04-04-2020 01:14 PM |
Docker Calibre and KOReader | feffe | KOReader | 6 | 09-29-2019 11:02 PM |
KOReader and Kobo | JSWolf | Kobo Reader | 0 | 07-14-2017 02:18 PM |