View Single Post
Old 09-24-2023, 06:08 AM   #270
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,235
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
Small bug: I re-read a book from 2021. Now 2021 shows 312/313 books read. (The giant yellow number is because I left FRAPS running.)

Additionally, re-adding a book to an older goal (to update genres) while re-reading makes a new entry - in this case, 23%. It can't be deleted normally as it's the 'newest' entry. See book 2050 in the json database.

EDIT: The 312/313 didn't resolve if I json-edit to remove the phantom 23% entry and change the status back to 'Read.'
If I understand this correctly, this is not a bug.

When you re-add a book, the plugin will read your columns and use those values to update the database (otherwise it wouldn't update the genres, which is your goal). Since the reading progress value is now 21%, it will be used. The plugin compares this with the existing value, and if they are different, a new entry is added.

So, you had 100% and now 21%. This is, by definition, rereading a book. Also, the book is not 100%, so it won't be counted as read, hence the 312/313 count.

Anyway, I changed the JSON for you. The current status is based on the last record, so it is used to populate the read pages, reading progress, shelf, etc.

Last edited by thiago.eec; 09-24-2023 at 06:26 AM.
thiago.eec is offline   Reply With Quote