Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-22-2025, 03:07 PM   #931
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: 11,217
Karma: 77935877
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I am not seeing a % in the Edit Records dialog
ownedbycats is offline   Reply With Quote
Old 09-22-2025, 07:20 PM   #932
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,272
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
I am not seeing a % in the Edit Records dialog
You should see something like this:

Click image for larger version

Name:	Records editor.png
Views:	21
Size:	20.7 KB
ID:	218227

If you're not, try erasing this key from the JSON config file (not the database):
Code:
['state']['EditRecordsDialog'][...]
_________
Edit: Close calibre before editing the JSON. After saving, start calibre.

Last edited by thiago.eec; 09-22-2025 at 09:02 PM. Reason: More info
thiago.eec is offline   Reply With Quote
Old 09-22-2025, 10:58 PM   #933
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: 11,217
Karma: 77935877
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That fixed it. Did the progress somehow resized to nothing?
ownedbycats is offline   Reply With Quote
Old 09-23-2025, 07:26 AM   #934
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,272
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
That fixed it. Did the progress somehow resized to nothing?
It was probably hidden.

I've elimited a hidden column at some point in the first versions. I'm not sure, but it's possible Qt stores the geometry based on the column index, which would cause the mismatch when the progress column took the index of the eliminated hidden column.

I'll add a geometry reset in the code to automatically deal with it for others that might have the same problem.
thiago.eec is offline   Reply With Quote
Old 09-24-2025, 10:14 AM   #935
Feoras
Member
Feoras began at the beginning.
 
Posts: 15
Karma: 10
Join Date: May 2023
Device: Kobo Glo
Quote:
Originally Posted by thiago.eec View Post
Bug fix: when adding a record for a different year, the plugin still locked the date to the current year
Seems to be working now, thank you so much!

Just out of interest I took a look into the "edit book records" feature.
The only issue I found there is, if you edit a book entry, the progress % changes. My progress is in float with 2 decimals points. E.g. it is "34.03 %". Clicking edit, I now only can edit up to one decimal after the dot - so it is automatically changed from 34.03 to 34.0. Based on the books total page count, this loss of one decimal can actual be the difference of 1-2 pages.
Is it intentional that you can only enter one decimal instead of two?
Feoras is offline   Reply With Quote
Old 09-24-2025, 12:21 PM   #936
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,272
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Feoras View Post
Seems to be working now, thank you so much!

Just out of interest I took a look into the "edit book records" feature.
The only issue I found there is, if you edit a book entry, the progress % changes. My progress is in float with 2 decimals points. E.g. it is "34.03 %". Clicking edit, I now only can edit up to one decimal after the dot - so it is automatically changed from 34.03 to 34.0. Based on the books total page count, this loss of one decimal can actual be the difference of 1-2 pages.
Is it intentional that you can only enter one decimal instead of two?
I'll change the precision to 2 digits.
thiago.eec is offline   Reply With Quote
Old 09-24-2025, 01:06 PM   #937
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: 11,217
Karma: 77935877
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Will this affect my action chain? Calculates #percentread from this, often makes 34.58324424%.

Code:
program:
	if 
		globals(currentPage)==''
	then
		$#percentread
	else
		totalpage = $#pagecount;
		currentpage = globals(currentPage=1);
		newpercent = multiply ((currentpage / totalpage), 100)
	fi
ownedbycats is offline   Reply With Quote
Old 09-24-2025, 01:17 PM   #938
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,272
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
Will this affect my action chain? Calculates #percentread from this, often makes 34.58324424%.
Not at all. 34.58324424% will be rounded to 34.58%, which makes no difference even on a 10,000 pages book (the difference would be 0.3 pages).
thiago.eec is offline   Reply With Quote
Old 09-24-2025, 01:31 PM   #939
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,272
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Version 2.0.0 - 24 Sep 2025

- New feature: Records editor
- New config option: choose between displaying the read pages or read books in the statistics window (the other info will be displayed when hovering the month bars).
thiago.eec is offline   Reply With Quote
Old 09-24-2025, 02:22 PM   #940
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: 11,217
Karma: 77935877
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by thiago.eec View Post
Version 2.0.0 - 24 Sep 2025

- New feature: Records editor
- New config option: choose between displaying the read pages or read books in the statistics window (the other info will be displayed when hovering the month bars).
ownedbycats is offline   Reply With Quote
Old 09-26-2025, 09:24 AM   #941
Feoras
Member
Feoras began at the beginning.
 
Posts: 15
Karma: 10
Join Date: May 2023
Device: Kobo Glo
Thank you again!


It pains me to do one more feature request.
I would like the option to have bars instead of the graph for the daily display as well.
It probably was quite the effort to put the graph in, but the issue with the graph, in my opinion, is how days close to each other are not really well distinguishable.

E.g. on day 19 I read 100 pages, on day 20 I read 50 pages. Day 21 then 0 pages. For the graph, this one one straight line where you can easily miss the read pages on day 20. With bars, this is visible out of the box.
I hacked the get_month_html function to display a specific month for the attached demo screenshots.
I took some sample screenshots with the described example: day 19 100 pages and day 20 50 pages, or only day 19 100 pages - for both graph and bar.

This is how the function looks for testing:
Code:
            def get_month_html(self, _data: dict[str, dict]) -> str:
                # Bar model
                daily_bar = v_bar

                daily_page_count = self.daily_page_count()

                # Get a bar for each day
                bars = []
                for i in daily_page_count["sep"]:
                    bar = daily_bar.format(str(daily_page_count["sep"][i]), daily_page_count["sep"][i], i, "")
                    bars.append(bar)
                bars_string = ''.join(str(b) for b in bars)

                # Insert the bars in the html file
                daily_html = v_html.replace('<!-- Placeholder -->', bars_string)

                # Format html
                bar_color, text_color, background_color = self.get_colors()
                daily_html = daily_html.format(text_color, bar_color, background_color, _('SEP READINGS'))
                return daily_html

Ideally there could also be another config setting like "Use bar graph for daily display" which will then switch between the two implementations inside the "daily_pages" function.

Thank your for your time you put into this project so far!
Attached Thumbnails
Click image for larger version

Name:	graph_1days.png
Views:	17
Size:	18.9 KB
ID:	218289   Click image for larger version

Name:	graph_2days.png
Views:	17
Size:	18.2 KB
ID:	218290   Click image for larger version

Name:	bar_1days.png
Views:	17
Size:	11.1 KB
ID:	218291   Click image for larger version

Name:	bar_2days.png
Views:	16
Size:	11.6 KB
ID:	218292  
Feoras is offline   Reply With Quote
Old 09-26-2025, 10:01 AM   #942
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,272
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Hi, @Feoras.

The config option is definitely needed.

I like to keep my statistcs window as narrow as possible (that's just my preference, but others might like it too). The daily graph adapts well for the screen width, while each bar need some fixed space, so for 30 bars, we need a lot more space then for 12 (months).

But I'll look into it.
thiago.eec is offline   Reply With Quote
Old 09-28-2025, 01:31 PM   #943
mgiuntoni
Junior Member
mgiuntoni began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2021
Device: ipad air 4g, kindle paperwhite
Edit Reading Goal not filtered by year

HI, I'm seeing the following issue. I' hope it's not in the previous 62 pages.
I have added several read books from year 2025 and 2024 and 2022.
If I select 2025 I see all of them
If I select 2024 I see both 2024 and 2025. Is this correct?
If I select 2022 I see only 2022 books.
Should I restart from scratch? I've tried to remove a book from 2025 and it disappeared in both lists (2025 and 2024) but when I added it again it appeared again in both.
I also see the Want to Read list of 2025 when I select 2024
Please help!
Attached Thumbnails
Click image for larger version

Name:	2025-09-28 19 20 36.png
Views:	8
Size:	44.6 KB
ID:	218351   Click image for larger version

Name:	2025-09-28 19 25 46.png
Views:	3
Size:	55.5 KB
ID:	218352   Click image for larger version

Name:	2025-09-28 19 26 16.png
Views:	5
Size:	17.2 KB
ID:	218353  
mgiuntoni is offline   Reply With Quote
Old 09-28-2025, 05:23 PM   #944
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,272
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Hi.

Can you please PM your plugin database (it's a JSON file; you can export it from the 'Edit reading goal' dialog)? I'll check if I can identifiy the problem. No one ever complaint about something like that before.

Also, please select the books in your goal and choose 'Mark selected books', then close it and take a screenshot of your calibre library main window (I hope the related columns are visible in the screenshot). This will give more info to investigate.
thiago.eec is offline   Reply With Quote
Old 09-28-2025, 05:39 PM   #945
mgiuntoni
Junior Member
mgiuntoni began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2021
Device: ipad air 4g, kindle paperwhite
@tiago.eec
I sent you PM for the db. Here is the screen shot you requested
Attached Thumbnails
Click image for larger version

Name:	2025-09-28 23 37 10.png
Views:	11
Size:	280.6 KB
ID:	218366  
mgiuntoni is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 01:43 AM.


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