![]() |
#181 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
I tried the updated PI and get this error after adding books.
Spoiler:
|
![]() |
![]() |
![]() |
#182 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,233
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
|
![]() |
![]() |
![]() |
#183 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Still an error
Spoiler:
I don't know if it's important, but my #read column has 3 entries, yes, no, unknown. I checked this in the options Last edited by Wiggo; 09-12-2023 at 02:38 PM. |
![]() |
![]() |
![]() |
#184 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,233
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
I got the error here too. I tested other approaches (even using Python), but it looks like it always return a string. I even tried using the 'round' formula, that is supposed to return an integer, and still got a string. I'll see what I can do.
|
![]() |
![]() |
![]() |
#185 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,233
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
P.S.: You must understand that since you don't want to use a reading progress column, you will never have a 'Reading' or 'Rereading' shelf. It will always be 'Want to read' for 0%, or 'Read' for 100%. |
|
![]() |
![]() |
![]() |
#186 | |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
It works!
![]() Quote:
But I have a question, please. How do I assign a book that I have read more than once, to several years? My reading date always contains only the last year. edit: I love your PI Last edited by Wiggo; 09-12-2023 at 03:21 PM. |
|
![]() |
![]() |
![]() |
#187 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,110
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
- Manually change the date then add to each year. - JSON editing. It's possible to copy entries between years and then change the dates on them. Not the recommended method unless you're very familiar with JSON structure, and even then it's very easy to blank the file. Last edited by ownedbycats; 09-12-2023 at 04:02 PM. |
|
![]() |
![]() |
![]() |
#188 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#189 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,233
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Great!
Quote:
I'm planning to add the option to manually set the date. This was also requested by @ownedbycats. Thank you! |
|
![]() |
![]() |
![]() |
#190 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#191 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,110
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
A small suggestion: I have an Action Chain that uses a template selectively adds the readinggoal:yyyy tag to books, then opens Edit Reading Goal to trigger autoadd.
Would there be much general use for an action that just runs the autoadd then displays a 'x books added' dialog? (Ideally, it would be silent if 0 books added.) This would be helpful for the chains. edit: Having an option to only have this action trigger autoadd would also fix it being slow to open statistics/edit goal, which is something I've noticed. Last edited by ownedbycats; 09-13-2023 at 05:24 PM. |
![]() |
![]() |
![]() |
#192 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,233
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
As for being slow, I noticed this with your database. My database (with a maximum of 139 books in a year) is very fast to load. It takes only 0,1s to load the 'Edit reading goal' dialog in my laptop (5 years old). It feels almost instantaneous. With your database, it took 2.5s. I see you have around 685 book entries in a year, with a lot of reading records. Because I noticed this, I was talking to Kovid to get some tips about using SQLite (instead of JSON), as calibre does. It would be faster. The problem is I know nothing about SQLite. ![]() But... I also knew nothing about python when I decided to create my first plugin. I only knew some HTML/CSS back then. So, maybe I can learn how to do it. I'll give it a try when I have some time. In the meantime, you could modify your chain. You don't need to open the 'Edit reading goal' dialog every time you run the chain. Just set the tag and leave it. The next time you interact with the plugin, it will update automatically. It makes no difference for you. |
|
![]() |
![]() |
![]() |
#193 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,110
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Yeah, that makes sense - in this case, I'm loading a bunch of books onto my eReader (storm preparation) using my 'send to device + add to tbr list' chain and it would make more sense to tag them and then open the edit goal once it's done.
|
![]() |
![]() |
![]() |
#194 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,110
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
In Statistics, what is 'ideal' speed? It only appears on this year. I'm guessing it has something to do with unread books as I noticed it changing when I added more unreads to the goal.
Additionally: I didn't start recording my reading status until April 2020 (and one random book from March): Will the missing months skew any numbers? Last edited by ownedbycats; 09-14-2023 at 03:07 AM. |
![]() |
![]() |
![]() |
#195 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,233
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Yes, speed and average. The plugin uses a 12-month period in its calculations. The exception is the current year: the period is counted from January to the current month. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1427 | 08-17-2025 07:09 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 |