![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 100
Karma: 224118
Join Date: Dec 2014
Device: Kobo H20 Aura
|
Replacing book ToC
Hey, I looked at this thread https://www.mobileread.com/forums/sh...ad.php?t=94772 and my issue seems to be similar that when I use Calibres edit book and add updated versions of the book and send it to the device. In this case I still get to see my old ToC but the new book has updated with the contents. This messes up ToC as I heard it was only generated while the book was being imported. Is there any way to update this metadata?
|
![]() |
![]() |
![]() |
#2 |
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
|
That thread is basically correct, but I have to wonder why you chose what might be the oldest thread here on the topic rather than a more recent one. It has been discussed plenty of times since then, with recommendations for how to solve the problem. But, there has been one change more recently that hasn't really been discussed.
The basics are that when the firmware sees a book, it imports details of the book into an internal database. Those details are the metadata and the ToC. The library lists are built from the database and when reading the book, the ToC from the database is used. If the book is replaced, and the firmware detects this, it will be deleted from the database and then imported as a new book. It means the reading status, bookmarks and collections for the books are lost. This is the default behaviour of the device. The drivers in calibre cheats. The change the device looks for is the size of the book. So, the when resending a book, the driver updates the size in the database to the new size and the device doesn't reimport the book. This means that the reading status is not lost. It would cause a problem when you changed the internal structure of the book, or the ToC, but if you were just fixing spelling or styles, it worked well. And if you needed to fix the ToC, you simply removed the book before resending it. Earlier in the year I added an option for this to the driver. If the options is not checked, the driver will let the device handle the book using its default behaviour. If the option is checked (which is the default for the driver) then the driver will do the above to prevent the book from being reimported as new. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 100
Karma: 224118
Join Date: Dec 2014
Device: Kobo H20 Aura
|
I tried rebuild index in KSM but I guess that was for the actual database and not ToC. Sorry for the late response but could you send me some of the newer threads about this. I guess my best solution is to transfer new one and then transfer read stats as doing it another way looks to be way harder.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TOC and the book title | Oldpilot | Sigil | 7 | 09-26-2012 05:07 AM |
Thinking of replacing Fire because of book collections | mcdebbie | Amazon Kindle | 39 | 06-26-2012 10:49 AM |
Replacing code without replacing text? | ElMiko | Sigil | 6 | 11-30-2011 08:14 PM |
Generated TOC links back to TOC page in the book | Caleb666 | Sigil | 7 | 08-17-2011 11:58 AM |
Creating a Book for each Article / replacing old books of the same source | Kaitatsu | Recipes | 1 | 02-20-2011 12:17 PM |