|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Can Calibre autorecord Finished-read status and time spent reading (hours&minutes)?
1. How can I get Calibre to automatically record "Finished' status of a book that I've finished reading on my Forma?
2. How can I get Calibre to measure how many hours and minutes I've taken per book that I've read on my Kobo Forma, whether I'm still reading a book or whether I've completed it? UPDATE: I'd also like to have something else (and some of you have mentioned it): 3. the timestamps when I read each book. For example, Book_A 20200701 16:15 — 19:55; 20191224 23:24 — 20191225 00:01 Book_B 20200430 07:10 — 07:12 Book_C 20200430 06:40 — 07:05; 07:20 — 08:39 Last edited by droopy; 07-02-2020 at 10:25 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,367
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Finished can be captured via the Kobo Utilities plugin
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
As @PeterT said, my Kobo Utilities plugin can get the reading status of the book from the device. That includes the percent read and the last read timestamp. It doesn't get the time spent reading. That one I have to revisit as it is stored. But, there is an issue if you use multiple devices to read the same book.
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,803
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
~~Note that the last time I checked, PyQt didn't have full support for decoding encoded objects with type parameters. You may need to read the stream manually, but it isn't all that complex (and you can still use the read* functions on the PyQt datastream so you don't need to implement all of it from scratch). For reference, you might find my Go implementation of QDataStream useful (note that it implements a lot more than is needed for the ExtraData).~~ Update: see below Update: I just checked PyQt, and it does actually support the required types for reading it directly. You'll need to initialize a QDataStream from a QByteArray of the ExtraData blob from event 46 in the DB, set the version to Qt 5.2, call readQVariantMap, get the ExtraDataReadingSeconds from the map, then call toInt on the QVariant to get the actual value as a usable number. Last edited by geek1011; 07-01-2020 at 12:23 AM. |
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
But, I keep meaning to look at those. I just keep finding other things to do ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,803
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
For multiple devices, I wonder how Nickel will react if the event row is duplicated. If that works fine, it would be possible to hack together a sync solution by adding a custom field to the ExtraData to keep track of which device each row came from (I won't go into details, but you won't run into issues with the checksum as long as the book is at the same path). Whether or not I'd recommend shipping this to ordinary users as part of the plugin is another question... ![]() ![]() Last edited by geek1011; 07-01-2020 at 01:53 AM. |
|
![]() |
![]() |
![]() |
#7 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
I have just one device: a Kobo Forma. So thankfully I won't have this issue. In my OP, I asked about: 1. Finished status 2. Time spent reading. I'd also like to have something else (and some of you have mentioned it): 3. the timestamps when I read each book. For example, Book_A 20200701 16:15 — 19:55; 20191224 23:24 — 20191225 00:01 Book_B 20200430 07:10 — 07:12 Book_C 20200430 06:40 — 07:05; 07:20 — 08:39 Last edited by droopy; 07-02-2020 at 10:25 AM. |
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,803
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
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]). |
|
![]() |
![]() |
![]() |
#10 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
I can see how timestamp data may not be useful inside Calibre. I think it would be more useful in a spreadsheet. Thus, I'd be glad to see it in some format (like a CSV, I guess?) that a spreadsheet program like LibreOffice or Google Sheets can interpret. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How could I document my reading history in Calibre (book status read / not-read / fin | markus98 | Library Management | 15 | 02-15-2020 02:29 AM |
Tracking time spent reading on a kindle with sideloaded books | cmoim | Amazon Kindle | 1 | 02-05-2018 08:24 AM |
Paperwhite 2: know how much time I spent reading a book? | chlorine | Amazon Kindle | 38 | 08-27-2015 12:06 PM |
Hours spent reading books around the world | Soldim | News | 42 | 07-07-2013 04:18 AM |
New hack PRS-505: multi status line with %read, time&pages reading, pages per minute. | Car105 | Sony Reader Dev Corner | 5 | 01-03-2010 10:03 AM |