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-24-2024, 05:22 PM   #556
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by thiago.eec View Post
1) Add the book to your goal (the date/percentage doesn't matter)
2) Then, when you start reading, update the date field
3) Open the Edit Reading Goal dialog and delete the old entry

That's it.
Okay, I should have explained it in more detail right away.
I want to add a start date with 0% to my 100% books without having to temporarily change any columns, or at least to have to change them as less as possible

Last edited by Wiggo; 09-24-2024 at 05:24 PM.
Wiggo is offline   Reply With Quote
Old 09-24-2024, 10:35 PM   #557
guhangsong
Junior Member
guhangsong began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2024
Device: kindle, boox, andriod, ipad
Can the json config in the library path?

Thanks for your useful plugin, I use syncthing to sync my calibre library between two computers, if the plugin data is located in the same path as the library, it would be great, thanks!
guhangsong is offline   Reply With Quote
Old 09-25-2024, 07:25 AM   #558
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,018
Karma: 1189271
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by Wiggo View Post
Okay, I should have explained it in more detail right away.
I want to add a start date with 0% to my 100% books without having to temporarily change any columns, or at least to have to change them as less as possible
Well, there is no easy way. You have two options:

1) Change it manually, deleting the existing records and creating new ones by changing your #read column, for every book
2) Edit the JSON directly, like @ownedbycats said. If you have a lot of books to change, this might be easier, but also more dangerous. Be sure to backup your database before editing it.

Quote:
Originally Posted by guhangsong View Post
Thanks for your useful plugin, I use syncthing to sync my calibre library between two computers, if the plugin data is located in the same path as the library, it would be great, thanks!
Unfortunately, it's not about the library path. The database is tied to a particular library_id, which will change from one computer to another.
thiago.eec is offline   Reply With Quote
Old 09-25-2024, 01:24 PM   #559
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by thiago.eec View Post
Well, there is no easy way. You have two options:

1) Change it manually, deleting the existing records and creating new ones by changing your #read column, for every book
2) Edit the JSON directly, like @ownedbycats said. If you have a lot of books to change, this might be easier, but also more dangerous. Be sure to backup your database before editing it.
Thank you, I was afraid of that. I'll think about it
Wiggo is offline   Reply With Quote
Old 09-28-2024, 02:45 PM   #560
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
I have deleted the database to add the read start with 0% afterwards.
With chaley's help and search & replace it also worked easily.

Now the problem comes.
All the new date entries in Calibre have a 00:00:00 CEST. I now have a timeshift of -1 day.

Edit: A book about the turn of the year will not be moved to the next year. It remains ‘Want to read’ 2017.. Once again ignoring the difference between annual overview and all

Edit2: What am I doing wrong, no reread counter?

Click image for larger version

Name:	calibre_mC785XOAJO.jpg
Views:	18
Size:	43.7 KB
ID:	211093 Click image for larger version

Name:	calibre_w5oPqu7gkc.jpg
Views:	13
Size:	35.7 KB
ID:	211094

Edit3: I saw another thread and it looks like the timeshif is a DST thing. Does somebody know to change the 00:00:00?

Last edited by Wiggo; 09-29-2024 at 01:33 AM.
Wiggo is offline   Reply With Quote
Old 09-29-2024, 07:29 AM   #561
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Timeshift problem is solved

Quote:
Originally Posted by chaley View Post
Use date_arithmetic() to add the number of hours you want. Example: to add 12 hours to the date making it noon, use:
Code:
program: date_arithmetic(sublist($#startdates, 0, 1, ','), '12h')
Now only the rereading counter is left
Wiggo is offline   Reply With Quote
Old 09-30-2024, 06:39 AM   #562
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,018
Karma: 1189271
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by Wiggo View Post
Timeshift problem is solved

Now only the rereading counter is left
Please, send me your database file. I'll take a look.
thiago.eec is offline   Reply With Quote
Old 09-30-2024, 02:48 PM   #563
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by thiago.eec View Post
Please, send me your database file. I'll take a look.
Thank you, sent you a PM.

And one more question, please. I don't understand the ‘Migrate unfinished books to the next year's goal’ somehow

Click image for larger version

Name:	calibre_AOZMEE65nk.jpg
Views:	13
Size:	59.8 KB
ID:	211139 Click image for larger version

Name:	calibre_XZYu1JCBAB.jpg
Views:	11
Size:	47.2 KB
ID:	211140

Last edited by Wiggo; 09-30-2024 at 02:51 PM.
Wiggo is offline   Reply With Quote
Old 09-30-2024, 04:12 PM   #564
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,018
Karma: 1189271
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by Wiggo View Post
Thank you, sent you a PM.
Please, send it here. I wasn't able to download from that link.

Quote:
Originally Posted by Wiggo View Post
And one more question, please. I don't understand the ‘Migrate unfinished books to the next year's goal’ somehow
Here's how it works: on the first day of a new year, your reading/want-to-read books will migrate to the following year's goal. This migration happens on your first interaction with the plugin in the following year. It doesn't work if you edit the goal now.
thiago.eec is offline   Reply With Quote
Old 09-30-2024, 05:08 PM   #565
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by thiago.eec View Post
It doesn't work if you edit the goal now.
Got it.

Last edited by Wiggo; Yesterday at 01:13 PM.
Wiggo is offline   Reply With Quote
Old Yesterday, 12:07 PM   #566
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,018
Karma: 1189271
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Test version

Quote:
Originally Posted by Wiggo View Post
Got it.
I found the problem. The rereading counter was only updating the current year. Test this version to see if it works.
Attached Files
File Type: zip Reading_Goal_test_version.zip (380.0 KB, 5 views)
thiago.eec is offline   Reply With Quote
Old Yesterday, 01:23 PM   #567
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by thiago.eec View Post
I found the problem. The rereading counter was only updating the current year. Test this version to see if it works.
It works!

I would like to thank you especially for your helpfulness and always quick support and also for your patience with me, thiago!

P.S.: Now I have a normal reading progress column after all...
Wiggo is offline   Reply With Quote
Old Yesterday, 01:52 PM   #568
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,018
Karma: 1189271
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by Wiggo View Post
It works!
Nice. I'll release it soon.

Quote:
Originally Posted by Wiggo View Post
I would like to thank you especially for your helpfulness and always quick support and also for your patience with me, thiago!
You're welcome!

Quote:
Originally Posted by Wiggo View Post
P.S.: Now I have a normal reading progress column after all...
So you dropped the 0/100 scheme and now you are filling in the percentage? That's so much better for keeping records.
thiago.eec is offline   Reply With Quote
Old Yesterday, 02:49 PM   #569
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: 9,321
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
@Wiggo - if you track physical books as well: https://www.mobileread.com/forums/sh...&postcount=406
ownedbycats is offline   Reply With Quote
Old Today, 06:19 AM   #570
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 450
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Thank you obc, already had - You never know
Wiggo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Reading List kiwidude Plugins 1405 08-31-2024 05:29 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 04:37 PM.


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