![]() |
#916 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,257
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Quote:
In my testings, the code you provided got the wrong page count, though. For one thing, it was working with accumulated values: Code:
read_pages_month_count[month] += read_page_count - last_year_pages_count To get only the month values, I used the existing 'daily_page_count' method. Anyway, test the version attached. P.S.: Note what I wrote above, replying to @ownedbycats. There is an unfinished feature in this test version, but it doesn't affect any other feature or modify the database. Last edited by thiago.eec; 09-18-2025 at 05:52 PM. Reason: Removed test version. |
||
![]() |
![]() |
![]() |
#917 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,186
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I tried test version.
1. Noticed in Statistics dialog, hovering over graph shows '0' for pagecount. 2. Can't get the edit to work. For the single-record fic, I created a record, set it to one day before I completed and percent 99%. Pressing apply, it just... disappeared? |
![]() |
![]() |
![]() |
#918 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,257
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Quote:
Maybe I shouldn't send it like that. But only after I finished adding the new option I remembered I had started working on the new records dialog. Tomorrow I'll send the working version. |
||
![]() |
![]() |
![]() |
#919 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,186
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#920 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,257
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
|
|
![]() |
![]() |
![]() |
#921 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,257
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
New test version:
1) Now we have a records editor. You can add, remove and edit your records (except for the last one, matching your calibre library info). It works for any year. When you change the progress, the page count is calculated automatically. 2) Added a new option to the config: you can choose to show read books or read pages in the statistics dialog. The other info will be available hovering the bars. Last edited by thiago.eec; Yesterday at 08:28 AM. Reason: New test version |
![]() |
![]() |
![]() |
#922 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,257
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Test Version
- Bug fix: sort the records dict treating the idx as integer, instead of text, avoiding the wrong order like '0, 1, 10 ,11, 2, 3,...9'
If you test this version, please leave your feedback. Does the page count show when hovering? Does the records editing work perfectly? Any other suggestions? ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1430 | 09-03-2025 05:14 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Reading Goal | KyBunnies | Audiobook Discussions | 12 | 10-25-2017 05:29 PM |