Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2024, 06:42 PM   #1
nuovodna
Enthusiast
nuovodna began at the beginning.
 
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
nuovodna is offline   Reply With Quote
Old 07-15-2024, 02:55 PM   #2
nuovodna
Enthusiast
nuovodna began at the beginning.
 
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",
...
while the koreader running in docker writes:

Code:
...
    ["bookmarks"] = {
        [1] = {
            ["chapter"] = "Bassa Fedeltà",
            ["datetime"] = "2024-07-15 17:40:47",
            ["highlighted"] = true,
...
exporting highlights produces different output, every device exports and shows only highlights made on the specific device
nuovodna is offline   Reply With Quote
Old 07-15-2024, 03:44 PM   #3
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 3592591
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
The second piece of code is obsolete.
hius07 is offline   Reply With Quote
Old 07-15-2024, 05:28 PM   #4
nuovodna
Enthusiast
nuovodna began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
mmm the koreader version in docker is 24.04
nuovodna is offline   Reply With Quote
Old 07-15-2024, 06:44 PM   #5
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by nuovodna View Post
mmm the koreader version in docker is 24.04
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.
pazos is offline   Reply With Quote
Old 07-15-2024, 07:17 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,513
Karma: 136565488
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.
JSWolf is offline   Reply With Quote
Old 07-16-2024, 03:17 AM   #7
nuovodna
Enthusiast
nuovodna began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
fixed with docker updated to latest KOReader 2024.07 "Outside"
nuovodna is offline   Reply With Quote
Old 07-19-2024, 03:42 PM   #8
nuovodna
Enthusiast
nuovodna began at the beginning.
 
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.
nuovodna is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:34 PM.


MobileRead.com is a privately owned, operated and funded community.