Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2025, 06:41 AM   #1
remizik
Member
remizik began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2025
Device: kobo clara BW
Reading Stats problem

Somehow, my reading stats were disabled since a few days, I only realized it yesterday evening.
My calendar view doesn't reflect reality and my OCD can't take it.
Is there an easy way to edit the reading statistics ?

Thanks

Last edited by pdurrant; 03-07-2025 at 03:40 AM.
remizik is offline   Reply With Quote
Old 03-05-2025, 11:28 AM   #2
AsherMaximum
Member
AsherMaximum began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2025
Device: Kobo Libra 2
Quote:
Originally Posted by remizik View Post
Bumping this in 2025
Somehow, my reading stats were disabled since a few days, I only realized it yesterday evening.
My calendar view doesn't reflect reality and my OCD can't take it.
Is there an easy way to edit the reading statistics ?

Thanks
Calendar view? Are you using KOReader? I haven't seen a calendar view in NickelReader
AsherMaximum is offline   Reply With Quote
Advert
Old 03-06-2025, 04:09 AM   #3
remizik
Member
remizik began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2025
Device: kobo clara BW
Quote:
Originally Posted by AsherMaximum View Post
Calendar view? Are you using KOReader? I haven't seen a calendar view in NickelReader
Yes I'm using KOReader, I guess I trusted google to bring me to a relevant thread ! My bad
remizik is offline   Reply With Quote
Old 03-07-2025, 03:40 AM   #4
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,897
Karma: 319562480
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Posts moved to new thread in KOReader forum.
pdurrant is offline   Reply With Quote
Old 03-07-2025, 09:13 AM   #5
jonnyl
Groupie
jonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolatejonnyl is generous with chocolate
 
Posts: 159
Karma: 33086
Join Date: Jan 2021
Device: Likebook Mars
No, there is no easy way to retroactively update the statistics database for unrecorded read pages. You'd have to do SQL queries to the statistics database for each read page that was missed, in the exact format KOReader would have done it. (Disclaimer: And even if you tried this, I couldn't guarantee that this would work without causing other issues.)

Last edited by jonnyl; 03-07-2025 at 09:15 AM.
jonnyl is offline   Reply With Quote
Advert
Old 03-19-2025, 12:23 PM   #6
remizik
Member
remizik began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2025
Device: kobo clara BW
Quote:
Originally Posted by jonnyl View Post
No, there is no easy way to retroactively update the statistics database for unrecorded read pages. You'd have to do SQL queries to the statistics database for each read page that was missed, in the exact format KOReader would have done it. (Disclaimer: And even if you tried this, I couldn't guarantee that this would work without causing other issues.)
Thanks for your answer, I guess I'll fight my OCD
remizik is offline   Reply With Quote
Old Yesterday, 08:52 AM   #7
jandamm
Junior Member
jandamm doesn't litterjandamm doesn't litterjandamm doesn't litter
 
Posts: 2
Karma: 240
Join Date: Feb 2026
Device: Tolino Shine 5 -> Kobo Clara BW with KOReader
Just for posterity:

I did modify the statistics and it's working fine.

I did migrate a LotR 1 to the 3 in 1 book of LotR and added stats for a new book (from another app which I used to track reading sessions).

How:

Open koreader/settings/statistics.sqlite3 with a SQLite Editor (I did use TablePlus - just because it's included in my Setapp subscription).

You find two relevant tables there: `book` and `page_stat_data`.
First you open `book` and search for the book you need to modify. Note down it's `id`.

Then you go into `page_stat_data` and search for the entries where the `id_book` is identical to the one from `book`.

The first column is the `id` from `book` then it's the `page` you've read.
`start_time` is the unix epoch when the page was opened.
`duration` is the time in seconds you were on the page.
`total_pages` is the number of pages in the book when the page was read (might change due to font size changes etc.)

So let's say you read book id `25` with 800 pages on 12th of February 2026 starting at 12:00 for 2 minutes and you were reading two pages (80 and 81) this is what you need to add:

25 80 1770897600 60 800
25 81 1770897660 60 800

1770897600 is the unix epoch. For the second line it's always epoch + time on page (60 = 2 minutes / 2 pages in seconds).

Then you add those to `page_stat_data`.

Finally you go into `book` again and update `total_read_time` and `total_read_pages` by adding 120 (2 minutes) and 2 pages to those columns.
You can skip this step since it's recalculated when the next timestamp is saved. (But better be safe than sorry)
jandamm is offline   Reply With Quote
Old Yesterday, 10:23 AM   #8
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,806
Karma: 731691
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O, Kobo Libra 2
And keep a copy of the file from before you start editing it.
Frenzie is offline   Reply With Quote
Old Yesterday, 02:14 PM   #9
jandamm
Junior Member
jandamm doesn't litterjandamm doesn't litterjandamm doesn't litter
 
Posts: 2
Karma: 240
Join Date: Feb 2026
Device: Tolino Shine 5 -> Kobo Clara BW with KOReader
Quote:
Originally Posted by Frenzie View Post
And keep a copy of the file from before you start editing it.
That is a very good idea!
jandamm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Libra Colour Reading stats are off Poppaea Kobo Reader 6 03-07-2025 02:29 PM
Glo Reading Life Reading Stats inaccuracy Uschiekid Kobo Reader 18 02-08-2014 09:57 PM
Glo How to access Reading Menu Stats reading sideloaded epubs cinetici Kobo Reader 23 05-27-2013 08:43 AM
Reading stats Pardoner General Discussions 20 06-25-2012 02:11 PM
Reading stats Mear Sony Reader 0 02-26-2012 08:53 PM


All times are GMT -4. The time now is 10:26 AM.


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