Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-12-2025, 04:24 AM   #16
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,137
Karma: 3592801
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
Let me describe the logic of KOReader, it'd help to setup syncthing or other program.

On opening a book KOReader checks for the file <book-filename>.annotations.lua in the book sdr fodler (by default) or other folder chosen by a user.
If the file exists, KOReader checks the device_id from the file.
If it is the same as the device id, it does nothing.
If not, it imports annotations from the file and deletes the file.

The annotations file can be created manually froom the Bookmark list or by an assigned gesture, or automatically (on book closing).
hius07 is offline   Reply With Quote
Old 03-12-2025, 05:20 AM   #17
chbla
Member
chbla began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2025
Device: Inkpalm, Supernote
Quote:
Originally Posted by hius07 View Post
Can you explain in details why pageno/filename prevent syncing?
There is an explanation here: https://docs.syncthing.net/users/syncing.html

I think I misinterpreted the conflict files. Based on this it encounters two annotation files, takes the most recent one, and creates a conflict file for the other one.

I think this probably is the default behaviour for all file based syncing tools.
It also means that in this case it works, just generates a conflict file each time.
chbla is offline   Reply With Quote
Old 03-13-2025, 03:13 AM   #18
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 554
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
I tried but can't get the lua imported to the second device.
  • Device A ==> lua exported to book folder A'
  • Device B ==> book folder B'
  • A' and B' are synced via Dropbox (two ways, to make it identical)

Process:
  • Read on Device A, the annotation.lua file is exported to folder A'
  • Sync the folder A' to Dropbox
  • Sync the folder on Dropbox to B' on Device B
  • On Device B, open the book from the Cabinet
  • Check the bookmarks ==> nothing new

Am I doing it wrong?
nqk is offline   Reply With Quote
Old 03-13-2025, 05:05 AM   #19
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,137
Karma: 3592801
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
The book on both devices has the same filename.
Device A export folder is synced with a Dropbox folder, on syncing the anno export file is uploaded to Dropbox.
Device B export folder is synced with (the same) Dropbox folder, on syncing the anno export file is downloaded to Device B.
On opening the book on Device B it gets annotations from the downloaded anno export file.
hius07 is offline   Reply With Quote
Old 03-13-2025, 05:07 AM   #20
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,137
Karma: 3592801
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
If the export folder is set to default (book sdr folder), every sdr folder must be synced with Dropbox.
You can choose one common export folder for all books and sync it with Dropbox.
hius07 is offline   Reply With Quote
Old 03-13-2025, 06:03 AM   #21
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 554
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
Quote:
Originally Posted by hius07 View Post
If the export folder is set to default (book sdr folder), every sdr folder must be synced with Dropbox.
You can choose one common export folder for all books and sync it with Dropbox.
sdr folder is required?

I have synced only the book file + the annotations.lua (meaning filename is exactly the same).

And if sdr folders are synced, the progress is also synced? Then the Progress Sync plug-in can now be inactive?

Sent from my Pixel 7 Pro using Tapatalk

Last edited by nqk; 03-13-2025 at 06:05 AM.
nqk is offline   Reply With Quote
Old 03-13-2025, 06:13 AM   #22
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,137
Karma: 3592801
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
No, sdr folders are not required, annotations.lua only.
On Device B it should be saved to the correct folder (sdr by default). You can check for the file existance before book opening (after opening it is deleted).

Progress Sync plugin syncs the progress only.
Syncing sdr folders syncs book layout as well, and it can be different on devices.
hius07 is offline   Reply With Quote
Old 03-13-2025, 08:17 AM   #23
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 554
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
Currently from my Pocketbook Verse Pro, when sync up to Dropbox, I could see several .annotations (1).lua, and (2).lua

Probably because the built-in Dropbox app handles the file conflicts that way?

And I am not sure Koreader deletes the lua file after update. Hard to check....

Sent from my Pixel 7 Pro using Tapatalk
nqk is offline   Reply With Quote
Old 03-13-2025, 08:26 AM   #24
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,137
Karma: 3592801
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
I don't know if there is an option to overwrite older file with the newer one, and not to keep all.
hius07 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get the Cover Grid layout while viewing books on my device? droopy Library Management 3 09-09-2020 01:14 PM
Best way to have mobile devices synced to PC Giuseppe Chillem Android Devices 0 09-15-2019 06:02 PM
FR: Folder device and other devices at the same time loviedovie Calibre 3 06-18-2016 09:59 PM
Need a device/app that will keep books synced between Phone and E-Reader josh05magnum Which one should I buy? 19 05-29-2014 06:09 PM
Add tag when book is synced to device Stampercam Calibre 4 10-09-2011 03:49 AM


All times are GMT -4. The time now is 02:53 PM.


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