07-19-2018, 09:50 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2018
Device: Android
|
How does ebook-viewer know where I left off?
When I'm reading a book via Calibre's built in ebook-viewer and I close the book and come back later, it opens on the same page I was reading when I closed it.
How does it do this? Is this stored in a text file, a database, or somewhere else? I can'f find it using the calibedb command line tool, nor can I see an option in the ebook-viewer command line tool. Does anyone know? |
07-19-2018, 10:28 AM | #2 |
creator of calibre
Posts: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
iterator.pickle in the calibre config directory
|
07-19-2018, 12:22 PM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2018
Device: Android
|
Is there documentation on how this is stored? I've unpickled the file, and I understand that the dictionary key is just the path to the book file, prepended by "bookmark_", but I'm not sure what the value means.
For instance, what does "calibre_current_page_bookmark*|!|?|*49*|!|?|*/2/4/2[calibre_pb_1]/2/1:1\n" mean? |
07-20-2018, 12:36 AM | #4 |
creator of calibre
Posts: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, there isn't and its going to change anyway when I add support for proper annotations after the upcoming viewer rewrite (to move to Qt WebEngine and merge the codebases of the in-browser and desktop viewers). It's been waiting for Qt WebEngine to stabilize enough, I think it is almost there with Qt 5.11.1
The annotations format I create will be properly documented. |
Tags |
calibre, ebook-viewer, history |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get the file path of the ebook in the frontmost Ebook Viewer window | johnsidi | Development | 1 | 07-16-2012 10:37 AM |
Viewer: hide toolbars on left side? | foosion | Library Management | 1 | 10-29-2011 10:15 AM |
[Old Thread] (viewer) Ignoring left-off position | sciurius | Calibre | 10 | 09-08-2011 08:19 AM |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
# user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 06:28 PM |