Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-06-2023, 10:31 AM   #136
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,887
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also, just curious. I have a specific case:

I read fanfiction a lot. A lot of these are still in-progress.

When I'm finished up to the current chapter, I set percent-read to 100 to mark it as read (both in the Calibre library and on my Kobo device).

When a new chapter comes out, I then re-calculate the percent-read.

With Reading Goal, this would result in a lot of books being marked as re-reading, so I just skip them.

Is there a better way to deal with this? Leaving at 99% could possible work, but has other issues with library organization.
ownedbycats is offline   Reply With Quote
Old 09-06-2023, 01:38 PM   #137
thiago.eec
Guru
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: 947
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by ownedbycats View Post
Is there a way to add a previously-read book to 'want to read' of the current year? Setting percent to 0 didn't work.
This was fixed in the last release. Setting to 0% will put it on the 'Want to read' shelf.

Quote:
Originally Posted by ownedbycats View Post
Also, just curious. I have a specific case...
To be honest, leaving it at 99% would be the ideal solution for me. I don't know what other issues this could cause.
Another possibility would be setting a special tag for these books, and the plugin would skip the update for them.

Last edited by thiago.eec; 09-06-2023 at 02:54 PM.
thiago.eec is offline   Reply With Quote
Advert
Old 09-06-2023, 02:19 PM   #138
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,069
Karma: 6425108
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by thiago.eec View Post
This was fixed in the last release. Setting to 0% will put it on the 'Want to read' shelf.
I can confirm this is fixed, thank you. Interestingly, at the exact time @ownedbycats asked about this, I was actually adding to RG a pBook I've read a long time ago and don't have anymore, to the 2023 "want to read again" goal. I've finally found on the web a digitized version.

Question: I'm using a RG specific custom column for the Genre view. For any book I'm adding to RG, I do fill in this field, so that I can track what books were already added to RG, by searching for #rg_genre:true.

It may be possible that, in some cases, I forget to do so. So I wonder if there should be another way to track what titles are currently in RG json database. Probably not, as I understand that you made RG in a way that it can't by itself modify Calibre's metadata.db.


Last edited by Comfy.n; 09-11-2023 at 11:57 AM.
Comfy.n is online now   Reply With Quote
Old 09-06-2023, 02:34 PM   #139
thiago.eec
Guru
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: 947
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by Comfy.n View Post
Question: I'm using a RG specific custom column for the Genre Shelf. For any book I'm adding to RG, I do fill in this field, so that I can track what books were already added to RG, by searching for #rg_genre:true.
In case it helps, my tag fields has other info besides genres, so I created a composite column that filter the genres. This way I don't need to do anything manually.

Quote:
Originally Posted by Comfy.n View Post
It may be possible that, in some cases, I forget to do so. So I wonder if there should be another way to track what titles are currently in RG json database. Probably not, as I understand that you made RG in a way that it can't by itself modify Calibre's metadata.db.
Did you noticed that I added the option you asked for? An 'All' year option on the 'Edit reading goal' dialog? It will list all your books in the database (with reareads defaulting to the last entry).
thiago.eec is offline   Reply With Quote
Old 09-06-2023, 02:42 PM   #140
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,069
Karma: 6425108
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by thiago.eec View Post
Did you notice that I added the option you asked for? An 'All' year option on the 'Edit reading goal' dialog? It will list all your books in the database (with reareads defaulting to the last entry).
Wheee!!!!!!!! xD

that's awesome, I hadn't noticed!

Comfy.n is online now   Reply With Quote
Advert
Old 09-08-2023, 02:20 PM   #141
Lys
Zealot
Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.
 
Posts: 129
Karma: 721208
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by thiago.eec View Post
You're welcome.
Let me know when you test it.
Just tried it, it's awesome!

To be sure, I'm not messing anything up: before adding a book to a challenge, it's mandatory to add it to a regular reading goal, correct? If I try to add a book I haven't added to the reading goal, I get an error. It's not a bother, but I just want to be sure it's working as expected

Lys is offline   Reply With Quote
Old 09-08-2023, 02:39 PM   #142
thiago.eec
Guru
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: 947
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by Lys View Post
Just tried it, it's awesome!

To be sure, I'm not messing anything up: before adding a book to a challenge, it's mandatory to add it to a regular reading goal, correct? If I try to add a book I haven't added to the reading goal, I get an error. It's not a bother, but I just want to be sure it's working as expected

Hi, Lys.

You do need to add the book to your current goal. Like I said before, Custom Challenges are a subset of your current reading goal.
At first, the plugin just warned the user, now it offers the option to add the books to both current goal and custom challenge.
I don't remember if this is on 1.1.0 or if it is not released yet.

You said there is an error. Do you mean a real error os just a warning?
thiago.eec is offline   Reply With Quote
Old 09-08-2023, 04:00 PM   #143
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,887
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
When is 'auto add to goal' toggled? This is for Action Chain purposes.
ownedbycats is offline   Reply With Quote
Old 09-08-2023, 05:34 PM   #144
thiago.eec
Guru
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: 947
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by ownedbycats View Post
When is 'auto add to goal' toggled? This is for Action Chain purposes.
It is triggered when you open the 'Statistics', 'Edit reading goal' or 'Custom challenges' dialogs. It will search calibre for books matching the criteria.
thiago.eec is offline   Reply With Quote
Old 09-08-2023, 05:57 PM   #145
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,887
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Glitch:

Code:
calibre, version 6.26.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'value' referenced before assignment

...

Successfully initialized third party plugins: ... Reading Goal (1, 1, 0) ...
Traceback (most recent call last):
  File "calibre_plugins.Reading_Goal.main", line 201, in manage_reading_goal
  File "calibre_plugins.Reading_Goal.main", line 783, in update_database
UnboundLocalError: local variable 'value' referenced before assignment
Steps to replicate:

1. In Auto-add to goal, set #admintags (tag-like) and readinggoal:2023
2. Add readinggoal:2023 to #admintags in a book. For replication purposes, there were also other entries in #admintags.
3. Open Edit Reading Goal.
ownedbycats is offline   Reply With Quote
Old 09-08-2023, 06:16 PM   #146
thiago.eec
Guru
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: 947
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by ownedbycats View Post
Glitch:
Steps to replicate:

1. In Auto-add to goal, set #admintags (tag-like) and readinggoal:2023
2. Add readinggoal:2023 to #admintags in a book. For replication purposes, there were also other entries in #admintags.
3. Open Edit Reading Goal.
I'll check this. Definitely a bug.
thiago.eec is offline   Reply With Quote
Old 09-08-2023, 06:30 PM   #147
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,887
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I found out that step 2 isn't necessary - just having #admintag and readinggoal:2023 set is enough to trigger it when opening the dialog.
ownedbycats is offline   Reply With Quote
Old 09-09-2023, 03:57 AM   #148
Lys
Zealot
Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.
 
Posts: 129
Karma: 721208
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by thiago.eec View Post
Hi, Lys.

You do need to add the book to your current goal. Like I said before, Custom Challenges are a subset of your current reading goal.
At first, the plugin just warned the user, now it offers the option to add the books to both current goal and custom challenge.
I don't remember if this is on 1.1.0 or if it is not released yet.

You said there is an error. Do you mean a real error os just a warning?
Just a warning, sorry! (and yeah, it makes sense that you need to add them to the internal DB first)

1.1.0 warns you no books were added, and after the warning ask you if you want to add them to the reading goal. If you add to the reading goal, then you can repeat the step to add them to the challenge.

Lys is offline   Reply With Quote
Old 09-09-2023, 12:57 PM   #149
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,887
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I came across a very weird data-loss glitch:

I wanted to remove a large amount, think a few hundred, books (fanfiction oneshots) from my goal. I selected them all, then used 'remove from goal', but it said it only removed 50 (which is the amount I have from this year).

I used 'Remove From Reading Goal' on a few books confirmed to be still on the list, but it said no books removed. So I opened Edit Reading Goal and removed one of the books to see if that worked.

But now when I open Edit Reading Goal, it selects all my pre-2023 books on the list and tells me that they can't be added to the list. I have autoadd disabled.

I tried re-adding the books to that year but no books were added and I still see them in the json file. A lot of the 2023 books are missing from the json though.

EDIT: The db itself is bugged - moving the json out to let it regenerate work. I can send it to you if you want to look at it.

ANOTHER EDIT: I was able to restore some of the entries by manually reconstructing them from the bugged json and another backup from a few days ago. (Some still have missing entries, sadly, I guess I should start taking separate daily backups of the json.)

Last edited by ownedbycats; 09-09-2023 at 03:21 PM.
ownedbycats is offline   Reply With Quote
Old 09-09-2023, 03:27 PM   #150
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 735
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
@thiago.eec I have problems displaying the bar columns in the statistics.
In Linux mint, as an operating system
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	46
Size:	93.8 KB
ID:	203676  
dunhill is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Reading List kiwidude Plugins 1332 06-05-2024 06:31 PM
[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


All times are GMT -4. The time now is 09:46 PM.


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