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, 05:42 PM   #1
nuovodna
Member
nuovodna began at the beginning.
 
Posts: 21
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 Today, 01:55 PM   #2
nuovodna
Member
nuovodna began at the beginning.
 
Posts: 21
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
Advert
Old Today, 02: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,069
Karma: 3581333
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 Today, 04:28 PM   #4
nuovodna
Member
nuovodna began at the beginning.
 
Posts: 21
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 Today, 05: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,297
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 online now   Reply With Quote
Advert
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 01:42 PM
Starting KOReader from CC works only if KOReader was not running before Norbi24 KOReader 7 09-24-2020 12:10 PM
KOReader en français / KOReader in french cramoisi Software 33 04-04-2020 12:14 PM
Docker Calibre and KOReader feffe KOReader 6 09-29-2019 10:02 PM
KOReader and Kobo JSWolf Kobo Reader 0 07-14-2017 01:18 PM


All times are GMT -4. The time now is 06:12 PM.


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