View Single Post
Old 07-02-2020, 08:45 PM   #9
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by davidfor View Post
Sorry, there is nothing I know of out there that does that. The Kobo Utilities plugin gets the last read timestamp, which is the time the device has recorded as when you last closed the book. While the device does record the reading session details, it is not as simple to get. The posts above from @geek1011 gives some details on why. But, there is no documentation on these values, so it could change (and has at least once). And there then there is the question of exactly how to store it so it is useful. And, personally, I have very little interest in it. I'd really only be doing it for curiosity about how the data is stored or as a coding exercise. If someone else wants to do it, I can look at including the code in the plugin.
It is possible to get the timestamps. My QDataStream parser written in Go will handle the ExtraData for that event (I forgot which number, but it was the one with the largest ExtraData blob) correctly, including the timestamps. I do agree with @davidfor that this wouldn't really be useful in Calibre, though.

If anyone is interested in doing stuff with the ExtraData, I am willing to help, but only with the ExtraData stuff (I don't have experience with Calibre plugins, and I'm not planning on writing another entire tool as I already have too many [see my signature]).
geek1011 is offline   Reply With Quote