![]() |
#2476 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I was able to get rid of the dummytemplatetest subtitles by emptying the subtitle field, letting it update, and then putting my template code back.
![]() |
![]() |
![]() |
![]() |
#2477 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
But, that should work the same with the previous template. Unless that is returning None or something like that when the condition returns false. You could try adding an else to return an empty string (just two quotes together). I'll have to experiment and see. And check the code. I might have deliberately decide to not change the subtitle if the template doesn't return anything. |
|
![]() |
![]() |
![]() |
#2478 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I wondered if the gpm might be messing things up? I just have "IF #fanficcat exists, THEN use this" but no "ELSE use an empty string" that would overwrite the existing subtitles.
|
![]() |
![]() |
![]() |
#2479 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
This is how all the metadata updating in the driver works. It compares the current library value (after applying plugboards or templates) with what is in the database on the device. Then it updates the database with the differences. And that includes clearing the metadata value in the database. If you just want to set the subtitle for a few books, I would not use the driver for the subtitle. Disable the option in the driver. Then use the metadata update in the Kobo Utilities plugin. You can select the books you want to set the subtitle on, which will make the template simpler. But, this should work in the same way as the driver, just on the selected books and when you want to run it. |
|
![]() |
![]() |
![]() |
#2480 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Ah that makes sense. I have a lot of fanfics that would be annoying to manually update so if it becomes a problem again i can add an ELSE for empty string.
|
![]() |
![]() |
![]() |
#2481 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Small UI bug: In the configuration, the tooltip for Ignore Collections seems to be wrong. it shows information about Create Collections instead.
|
![]() |
![]() |
![]() |
#2482 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
![]() And for the record, anything in the first three tabs of the configuration of the KoboTouchExtended driver is inherited from the built-in KoboTouch driver. All the function comes from their. The actual configuration is stored separately for the two drivers. Changing from one to the other does not copy these parts of the configuration. |
|
![]() |
![]() |
![]() |
#2483 |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Jan 2013
Device: Kobo Libra 2 & Aura HD, Cybook Muse
|
I fear I triggered an unhandled corner case in the KTE conversion:
Last day, a friend gave me an epub to read, that I put into my Calibre and transfered onto my Kobo using KTE driver in order to get all the bell & whistle from the kepub format. Then, I noticed that each time I powered on the kobo and resumed reading this book, the reading app couldn't set me back to my last reading position and let me at a chapter start. So, I decided to open the original epub in the Calibre editor and found that the book was already a kepub, with the kobo.js script and the "koboSpan" spans. I think that KTE's kepub generation isn't handling very well the case and is building a kepub with self-enclosed "koboSpan" spans or such, which definitely can't be handled as expected by the reader application. Last edited by Dfaure; 03-15-2021 at 05:19 PM. Reason: typo |
![]() |
![]() |
![]() |
#2484 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
You say this happens after powering the device off. Losing reading positions when powering of is a common sign of a corrupt database on the device. What happens if you close the book and reopen it? That will be working from the what is in memory. If it opens in the right place, it is most likely the database. Otherwise, what you describe is a symptom of missing the spans or an error in how they are setup. There could also be an issue if the ToC did not match the book. This could be in the original book or if you edited it and resent it. It would help to see the both versions of the book. If it is legal to post, you can attach them here. Or you can use the ScrambleEbook plugin to produce a version you can post. Or upload them somewhere and PM me a link to them. |
|
![]() |
![]() |
![]() |
#2485 | ||
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Jan 2013
Device: Kobo Libra 2 & Aura HD, Cybook Muse
|
Quote:
In fact, the reading position was not fullly lost between open/close : I only had to restart from the beginning of the chapter I was in. Quote:
|
||
![]() |
![]() |
![]() |
#2486 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Code:
<span class="koboSpan"> Code:
<span class="koboSpan" id="kobo.1.1"> I'd love to know where these came from. The spans without the ids are useless. I'm not sure if adding support for this in the driver is worth it. It is a very unusual case. Or at least I hope it is. The check for the spans is simplistic and just checks that spans with this class or ids like the above exist. It doesn't check that they are valid. Adding something that fixes this would be beyond what I think is intended in the plugin. And I'm not sure how hard it would be or what risk of producing a bad result would be. You can fix this with the editor. You can use Diap's Editing Toolbag plugin to remove them easily. The Modify ePub plugin can also remove spans. I can't remember if it has code to handle the kepubs spans or not. I know it was discussed, but, I don't remember whether it was added or not. |
|
![]() |
![]() |
![]() |
#2487 |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kobo Libra H2O
|
I keep reading that I can convert to kepub before transferring to my Kobo and it will discard the file after transfer. I have been able to convert it, but not automatically as far as I know and it keeps the kepub in my library. Is there some seeing I am missing. Right now I select a book and use the transfer specific format, then select kepub. It converts and transfers as expected but the file remains. Do I need to just transfer and not use the specific format. Is there a setting I'm missing or need to enable? Thanks in advance.
Sent from my SM-G930V using Tapatalk |
![]() |
![]() |
![]() |
#2488 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
If you 'Convert' (before), it stays as part of the library.
If you just transfer with the Plugin active, it does not keep it Unless you have a slow machine, the on-the-fly (from EPUB) conversion happens pretty fast |
![]() |
![]() |
![]() |
#2489 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Oct 2020
Device: Kobo Libra H2O
|
Quote:
Sent from my SM-G930V using Tapatalk |
|
![]() |
![]() |
![]() |
#2490 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7
Karma: 81728
Join Date: Nov 2017
Location: Austria
Device: Kobo Glo HD
|
Genre, Pages, Year as subtitle - KoboTouchExtended
Hi guys, thanks to all of you for your amazing work on mobileread.com!
Sorry, if this is the wrong forum, this is my first posting... My problem: I added some additional information (genre, number of pages and the year of publishing) as a subtitle to the ebooks on my Kobo Glo HD (Firmware 4.24.15676) see (Fig.1). In Calibre (5.14 64bit) I created custom columns #genre, #seiten and #year. I'm using the KoboTouchExtended-Driver (3.4.4) to send the books from Calibre to the device, I select "subtitle" and enter the code {#genre} - {#seiten} Seiten {#year:| (|)} see (Fig.2) When the ebooks have been sent to the device, the subtitles are missing (screenshot in Fig.1a). I need to plug it off, then plug in again, then open Kobo Utilities -> "Update metadata in device library" -> then select "subtitle" and "Use Plugboard" and put that code there (Fig.2b). When plugging the device off, the subtitles are there (Fig.1b). Is there a way to achieve the desired result by sending the ebook via Kobo-driver only and skip step two (sending metadata via Kobo Utilities)? I tried the metadata-plugboard, but there is no destination "subtitle"... Thanks in advance! |
![]() |
![]() |
![]() |
Tags |
error, kobo aura one |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Device Driver Update | davidfor | Devices | 284 | 05-24-2019 05:24 PM |
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod | cryzed | Plugins | 7 | 10-28-2012 04:58 PM |
[Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 10:11 AM |
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 08-31-2011 11:47 PM |
Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 04:08 AM |