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: 445
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,014
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: 445
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 Yesterday, 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: 445
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:	12
Size:	43.7 KB
ID:	211093 Click image for larger version

Name:	calibre_w5oPqu7gkc.jpg
Views:	9
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; Today at 01:33 AM.
Wiggo is offline   Reply With Quote
Old Today, 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: 445
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
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 03:36 PM.


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