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

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 01-20-2025, 03:21 PM   #3181
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,314
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I found I had to remove the Only if more recent checkmark before running Store booksmarks to fetch the time reading and estimated time left for one in progress book. I also removed the Not if finished in library checkmark and it made no difference. Sadly, I am now trying to create a template to translate a reading time of 7619 for example.

Last edited by DNSB; 01-20-2025 at 03:24 PM.
DNSB is offline  
Old 01-20-2025, 03:36 PM   #3182
Lys
Groupie
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: 156
Karma: 722116
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by JSWolf View Post
What you can do is filter by reading and go in and read at least one page of every book. Then you'll get their reading positions added to your library. You do not need the reading positions of books you've not yet read.
My KoboUtilities is set up to avoid making any changes to calibre if I already stored a book as "read", and I would rather avoid changing that behaviour just to get the "reading time" stat.

But since I can see that stat on the device, I wondered if there was a way to store that data too from the device to calibre, in the same way you can force a "store" of reading status/date/position from the device to calibre.
Lys is offline  
Advert
Old 01-20-2025, 03:48 PM   #3183
Lys
Groupie
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: 156
Karma: 722116
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by DNSB View Post
Sadly, I am now trying to create a template to translate a reading time of 7619 for example.
Probably there's a more elegant way, but it seems to work:

Code:
program:
      tot_seconds = $#readingtime;    
      hours = floor(tot_seconds/3600);
      minutes = floor((tot_seconds-hours*3600)/60);
      seconds = tot_seconds - hours*3600 - minutes*60;

def to_plural(v, str):
              if v == 0 then return '' fi;
             return v & ' ' & str & ' '
      fed;
      to_plural(hours, 'hr') & to_plural(minutes, 'min') & to_plural(seconds, 'sec')

Last edited by Lys; 01-20-2025 at 03:52 PM.
Lys is offline  
Old 01-20-2025, 08:32 PM   #3184
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,314
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Lys View Post
Probably there's a more elegant way, but it seems to work:
Pretty much what I ended up with on my first pass with hours/minutes/seconds. My second pass used hours with a fractional part. So my 7619 seconds comes up as 2.12 hours instead of 2 hours, 6 minutes and 59 seconds.

Last edited by DNSB; 01-20-2025 at 08:36 PM.
DNSB is offline  
Old 01-21-2025, 01:34 AM   #3185
Majutsushi
Connoisseur
Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.
 
Posts: 54
Karma: 6306
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
Quote:
Originally Posted by Lys View Post
Yep, I tried, but no data was retrieved from my Kobo.
I also changed the last reading time stored on Calibre to run the store of the data for books whose data on Calibre is earlier than the one on the device, and the data got updated correctly for the "old" columns, while reading time column remained empty
I'll have a look at that, I thought I had set things up so that all of the columns behave the same.
Majutsushi is offline  
Advert
Old 01-22-2025, 03:38 PM   #3186
Lys
Groupie
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: 156
Karma: 722116
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by Majutsushi View Post
I'll have a look at that, I thought I had set things up so that all of the columns behave the same.
I played a bit around with the current options, and the columns get updated if I flag the "run in background" when running the "store/restore" option

If I uncheck the flag, they don't get updated instead.


Edited to add: run in the background needs to be run with "only if more recent" unflagged, but doing so, it's not possible to store reading time without changing the other data already stored in calibre.

Last edited by Lys; 01-22-2025 at 04:08 PM.
Lys is offline  
Old 01-23-2025, 10:39 AM   #3187
matt123d
Junior Member
matt123d began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2025
Device: Kobo Libra Colour
Syncing using Calibre-Web

Hi,

I am using Calibre-Web to sync my library to my Kobo Libra Colour. That all seems to be working well. But I am now trying to get read percentage, current location and last read to sync back to my Calibre database when pressing the sync button on my device. I have the columns setup in Calibre as can be seen in the attached screenshots. These columns successfully update when I connect my device directly to my computer. But these values are not being updated when pressing the sync button on my device. Is this something that is possible?

Thanks
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	56
Size:	680.9 KB
ID:	213237   Click image for larger version

Name:	2.png
Views:	45
Size:	642.3 KB
ID:	213238  
matt123d is offline  
Old 01-23-2025, 10:58 AM   #3188
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 43,314
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
That would have to come from the developer of Calibre-Web.
DNSB is offline  
Old 01-23-2025, 11:18 AM   #3189
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 78,374
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by matt123d View Post
Hi,

I am using Calibre-Web to sync my library to my Kobo Libra Colour. That all seems to be working well. But I am now trying to get read percentage, current location and last read to sync back to my Calibre database when pressing the sync button on my device. I have the columns setup in Calibre as can be seen in the attached screenshots. These columns successfully update when I connect my device directly to my computer. But these values are not being updated when pressing the sync button on my device. Is this something that is possible?

Thanks
You cannot store the reading positions wirelessly. You will have to connect via USB so Kobo Utilities can save your reading positions.
JSWolf is offline  
Old 01-26-2025, 12:49 AM   #3190
Majutsushi
Connoisseur
Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.Majutsushi got an A in P-Chem.
 
Posts: 54
Karma: 6306
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
Quote:
Originally Posted by Lys View Post
I played a bit around with the current options, and the columns get updated if I flag the "run in background" when running the "store/restore" option

If I uncheck the flag, they don't get updated instead.


Edited to add: run in the background needs to be run with "only if more recent" unflagged, but doing so, it's not possible to store reading time without changing the other data already stored in calibre.
Thanks for the investigation, it helped me track down another location where KU was updating reading locations that I had missed. I have now changed it so that storing the reading positions from that dialog should work correctly.

In the process I also realized that I wasn't handling the "restore bookmarks" feature, so running that doesn't restore the two new columns at the moment. I'm working on that, but since it updates the device database I want to make sure I don't corrupt the database in some way and so want to put some tests in place first.
Attached Files
File Type: zip KoboUtilities-unknown.zip (324.7 KB, 39 views)
Majutsushi is offline  
Old 01-26-2025, 05:53 AM   #3191
Lys
Groupie
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: 156
Karma: 722116
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
Quote:
Originally Posted by Majutsushi View Post
Thanks for the investigation, it helped me track down another location where KU was updating reading locations that I had missed. I have now changed it so that storing the reading positions from that dialog should work correctly.
Thank you, Majutsushi

I can confirm that now storing the data for the two new columns works correctly on my side, and now you don't need anymore to flag the "Run in background" check-button

I haven't tested all Kobo Utilities functionalities, but for my user-case, I haven't noticed any issue/bug
Lys is offline  
Old 01-28-2025, 10:11 PM   #3192
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
I'm sorry if i missed discussion of the question i have to ask; 213 pages is an awful lot to scan for answers!

So a lot of what's said here is over my head. I added **Kobo Utilities** plugins several years ago to my **Kobo Glo HD**. It worked perfectly and it definitely improved my ebook experience and calibre. Specifically the #Complete function giving a percentage read column.

Recently I updated the firmware (?) of my Kobo. At least, for some reason I tried a factory reset and immediately regretted doing so. The process was a nightmare.

I have tried finding the version of the software running on the Kobo but cannot find it.

Anyway, my problem is, while the Reading Progress of books prior to the Kobo firmware update remains as it was, I have no Reading Progress of books read since updating the Kobo.

I updated Calibre to the latest version last night. It's now 7.3.0.

I see under menu *Device > Metadata on device & advanced* there's a checkbox for *Attempt to support newer hardware*. Is this something I should try?

I also see in *Kobo Utilities* plugin options an option to backup the device database. Is this a good idea?

Can anyone give me advice on what I might try to get this working again? Thanks.
TomCanute is offline  
Old 01-28-2025, 10:26 PM   #3193
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: 10,282
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Since you did a factory reset, you may need to re-associate because it forgot your device assocation:

Click image for larger version

Name:	2025-01-28 23_24_59-Customize Kobo Utilities.png
Views:	50
Size:	29.6 KB
ID:	213328

I can't think of all the words right now but i think this is where you do it.
ownedbycats is offline  
Old 01-28-2025, 11:03 PM   #3194
TomCanute
Junior Member
TomCanute began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2025
Device: kobo glo hd
I tried your suggestion but nothing changed. I tried adding custom column using #percentread (integer) as I saw you were using this in image you shared. I now have #complete and #precentread. Only books prior to firmware update show in #complete column. Other column is blank.
TomCanute is offline  
Old 01-28-2025, 11:05 PM   #3195
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: 10,282
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
No, look at the part where my cursor is. Device this profile is for. I think you need to change that.
ownedbycats is offline  
Closed Thread

Tags
calibre, kobo, kobo utilities, kobo-utilities, plugins

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Manga plugin mastertea Plugins 6 01-06-2022 02:43 AM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
Kobo Utilities Plugin Question nikev Kobo Reader 10 09-25-2018 11:55 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 12:33 AM.


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