View Single Post
Old 05-20-2024, 12:58 PM   #99
liskin
Member
liskin began at the beginning.
 
Posts: 10
Karma: 12
Join Date: Nov 2023
Location: London
Device: PocketBook InkPad 3
Quote:
Originally Posted by neil_swann80 View Post
Yes, PBReader has temp files of its own that store its progress. The progress value in the database is still used by Pocketbook for info and progress bars on the home and library view pages however.

Syncing progress between PBReader and KOReader would be quite tricky as font type/size differences change where pages start and end; the progress value for one app could refer to a position that's way off in the other.
I don't think PBReader actually has its own "temp" files. There is a position column in the books_settings database which seems that it serves the purpose of saving PBReader's position. This column seems to store the position as a reference to a specific location in epub, as a sort of path through the epub elements, which makes it font-size-agnostic.

So we could in theory reverse engineer how exactly that position is encoded and try to translate it back and forth to how KOReader stores the last read position, but I don't think it's worth the effort. Certainly not worth the effort for me, as I almost never use PBReader, and absolutely never use both PBReader and KOReader for the same book.
liskin is offline   Reply With Quote