![]() |
#226 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,599
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#227 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,344
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#228 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,756
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#229 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,344
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#230 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,184
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
It's a minimal amount of work to set up two custom columns for reading time and time remaining with a template to display hours:minutes:seconds and hide the two columns displaying the seconds only from view.
|
![]() |
![]() |
![]() |
#231 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,344
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's not the amount of time to set it up. It's the excess resources needed that I don't feel need to be used.
|
![]() |
![]() |
![]() |
#232 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,184
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what little it may be worth, here are the two templates I use for the Time Read and Remaining Reading Time with hr:min:sec displayed. Basically a borrow from the original template in message#2 in this thread and chaley's template in the message #820 in the Templates: various questions not worth their own thread thread. My original code wasn't nearly as pretty since I tried using gmtime and strftime in a Python template.
Code:
program: total = $#kobo_time_spent_reading; hours = floor(total/3600); minutes = floor(mod(total, 3600)/60); seconds = mod(total, 60); def format(v, str): if v == 0 then return '' fi; return v & ' ' & str & ' ' fed; format(hours, 'hr') & format(minutes, 'min') & format(seconds, 'sec') Code:
program: total = $#kobo_rest_of_book_estimate; hours = floor(total/3600); minutes = floor(mod(total, 3600)/60); seconds = mod(total, 60); def format(v, str): if v == 0 then return '' fi; return v & ' ' & str & ' ' fed; format(hours, 'hr') & format(minutes, 'min') & format(seconds, 'sec') Last edited by DNSB; 03-28-2025 at 03:32 PM. |
![]() |
![]() |
![]() |
#233 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 94
Karma: 8592
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
|
Quote:
As for resources, I don't see how additional columns consume any noticeable resources other than a small bit of storage. |
|
![]() |
![]() |
![]() |
#234 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,756
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Composite columns are different. It takes not storage but CPU cycles. Can't remember words. But it can be slow. Probably not this one.
Last edited by ownedbycats; 03-28-2025 at 09:35 PM. |
![]() |
![]() |
![]() |
#235 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,184
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The only time I've—in person—seen slowdown from composite columns was when the calibre install had over 80 custom columns with some rather complex and weird templates. That one was solved by asking what use was made of the columns and disabling the ones for which no use was found.
Even then, the major effect was reducing the startup time by about 4 seconds since the values for fewer composite columns needed to be calculated at startup. Last edited by DNSB; 03-28-2025 at 11:11 PM. |
![]() |
![]() |
![]() |
#236 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,344
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#237 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#238 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,184
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If nothing else, my time spent reading method needs the raw seconds and I do not want to waste the time and effort to convert hr:min:sec back to seconds to satisfy your demands.
|
![]() |
![]() |
![]() |
#239 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 235
Karma: 1028440
Join Date: May 2024
Location: Salisbury, UK
Device: Clara BW, Mini, Libra H2O, Kindle (11G), Paperwhite (10G), Boox Poke 5
|
Problem setting time
I use my primary e-reader (a Kobo Clara BW) in sideloaded mode, with books managed by Calibre. I have the Kobo Utilities plugin (v. 2.21.1), and use it to set the time on my e-reader. We switched from GMT to BST (aka DST) yesterday. My laptop clock is correct: it updated to BST automatically. However, I used Kobo Utilities to set the clock on my e-reader a few minutes ago. The clock on the computer said 19:31. However, it set the Kobo's clock to 18:31 - i.e., it's still on GMT.
What am I doing wrong? How can I get Kobo Utilities to take account of summer time (when appropriate) as it sets the e-reader's clock? |
![]() |
![]() |
![]() |
#240 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,184
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
At Mon, 31 Mar 2025 12:18:02 PDT, the epoch time was 1743448682. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Kobo Utilities | davidfor | Plugins | 3216 | 02-08-2025 04:23 AM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[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 |