04-05-2021, 06:10 AM | #2191 |
Custom User Title
Posts: 9,252
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you. Windows really doesn't like programs doing intensive things in the foreground and it whites out after five seconds or so.
|
04-05-2021, 06:26 AM | #2192 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Why would you think that that? Especially with how much discussion there has been on exactly what the differences between epub and kepub handing. And I have detailed how covers work on Kobo devices so many times that I find it hard to believe you have never seen it.
|
Advert | |
|
04-05-2021, 11:06 AM | #2193 |
Resident Curmudgeon
Posts: 75,810
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
With KePub, can a cover be displayed without an XML file to display the cover?
|
04-05-2021, 11:41 AM | #2194 |
the rook, bossing Never.
Posts: 12,248
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
|
04-05-2021, 11:47 AM | #2195 |
Custom User Title
Posts: 9,252
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If an application goes five seconds without reading the event queue, Windows assumes it's hung and whites it out. Most applications try to avoid this by shuffling the heavier stuff off to another thread.
There's some more reading here: https://docs.microsoft.com/en-us/win...s-applications Last edited by ownedbycats; 04-05-2021 at 12:19 PM. |
Advert | |
|
04-05-2021, 08:35 PM | #2196 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Either that, or you need to actually expand on the question you are asking. "Displayed" where? |
|
04-05-2021, 09:07 PM | #2197 |
Custom User Title
Posts: 9,252
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
now I am curious: What if a kepub doesn't have a cover marked in the OPF? Does it just try to show the first page?
|
04-05-2021, 10:08 PM | #2198 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
In that case, you get the default cover which has the title and format with boxes around the edge. This is also used for formats that do not have a cover (such as TXT) or when the cover image cannot be created.
|
04-05-2021, 11:48 PM | #2199 |
Custom User Title
Posts: 9,252
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I see that sometimes when my Kobo is a bit slow to generate a cover after re-importing an updated fanfic.
|
04-06-2021, 12:09 AM | #2200 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Yes, it is shown in the library when the cover image is being generated. And when your resend a book from calibre, the existing stored cover images are removed. The device sometimes doesn't regenerate the cover and you see this. It is probably related to caching on the device as it gets fixed after a restart.
|
04-06-2021, 12:51 AM | #2201 |
Custom User Title
Posts: 9,252
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
It does regenerate, it's just slow and I see the generic cover for a few seconds before it changes.
|
04-11-2021, 02:40 AM | #2202 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Beta - Update ToC in device database
Attached (assuming I remember to), is a beta with a new function. This is to update the ToC in the database for books on the device. The function checks for any differences, displays what books are different and then lets you update the books or the ToC.
At this point the ToC updating only supports kepub and epub on the device. And supports both epub2 and epub3. The function works by:
The dialog shows the results of the comparison and hence the status. The columns shown are:
The three status columns use the following icons to show the status:
The comparisons are done purely on what Kobo extracts from a book as the ToC. This is done when the book is imported on the device. The details are from the ToC in the book and the manifest. The changes considered are the actual ToC in the book and any related internal file names. This means the ToC will be considered different if any of the following are different:
No attempt to check for any other changes in the book are made. If things like spelling or styles are changed, these will not trigger any issues on the device if the book is replaced properly. When the ToC is updated in the database, it is completely replaced. It is always updated from the copy of the book on the device. If this copy does not match the book in the library, the book should be sent to the device first. The way I use this is:
As far as I can tell, everything is working after updating the ToC in the database. I have been using this for a while no for testing. I did the epub code several years ago with no issues. The kepub updating is much newer and more complex but works well. But, it is not very fast. It reads two copies of each book plus the database. This takes time. I recommend only using it for books where you believe there have been changes. The function in the beta is fully working and I do not believe there are any problems with the actual ToC updates. There are probably some things that can be done to make the interface better. Please try the function and report what happens, either good or bad. If there are problems, I will need to see a debug log from calibre and possibly the books involved. |
04-11-2021, 12:16 PM | #2203 |
Well trained by Cats
Posts: 30,348
Karma: 58032210
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Does this require the book have an Inline (HTML) TOC or does it work with the NCX or NAV?
|
04-11-2021, 12:54 PM | #2204 |
Custom User Title
Posts: 9,252
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I presume the NCX/NAV. I will test this as soon as I get another fanfic to update.
|
04-11-2021, 08:03 PM | #2205 |
Custom User Title
Posts: 9,252
Karma: 63194753
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I got some fanfic updates. I set KoboTouchExtended to "do not treat replacements as new books" and then put the books on my reading list then plugged in my Kobo and let it send and then restored ToC. It worked perfectly.
I will keep testing and mention if I come across any glitches. I swapped my "Restore Device Bookmarks" chain with an "Update Fanfics on Device" one. I did notice that the number of columns was rather high and I had to stretch it to nearly my entire screen width to see things well. Not sure if that can be fixed though unless you want to use something other than table layout. Being able to rearrange the columns would help a bit though. Last edited by ownedbycats; 04-11-2021 at 08:14 PM. |
Tags |
calibre, kobo, kobo utilities, kobo-utilities, plugins |
|
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 |