View Single Post
Old 03-23-2016, 09:19 AM   #11
drjd
The Couch Potato
drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.drjd ought to be getting tired of karma fortunes by now.
 
drjd's Avatar
 
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
Quote:
Originally Posted by davidfor View Post
It doesn't matter. The annotations for all books are stored in the database. tshering's Annotation Extractor is reading this database to extract the annotations and doesn't make any reference to the actual books. As long as the annotations are there, the application should find them.

As you were expecting to find annotations for the books on the SD card, the question is where did they go. The most likely reason for the annotations being lost, is that the book was replaced. When the device is ejected from the PC or an SD card is inserted, the device look for changes. If the size of a book changes, it is removed from the database and processed as a new book. That means the reading status and annotations are all removed. If you edit the book and replace it, this will happen.
Thank you very much davidfor, for the detailed explanation. I had not made any changes in the books affecting their sizes. Yes, but I had ejected and reinserted the card just to insure that it is clean and dust free.

Quote:
Originally Posted by davidfor View Post
If you simply remove the external SD card, add a couple of books and insert it again, the books already on the card and in the database should be seen as the same. But, this has not always been the case. Older firmware handled this differently. And there was at least one that always reprocessed all the books. I haven't had an external SD card in one of in devices for a long time, but a quick test with firmware 3.19.5671 has it working as I expected. The annotations were kept when I ejected and reinserted the card.
I did not remove the card from device, but have added and/or removed some books through caliber or directly from windows explorer. I am sure I did not remove any book which contains annotations/highlights, because I had planned to extract them later on.

Quote:
Originally Posted by davidfor View Post
Another reason to lose the annotations is if the external card is swapped. I can't check this at the moment, but the last time I tested, even if the exact same books were on the two cards in the same place, they would be treated as new books. The books on the first card would be removed from the database and the books on the new card would be added as new.

Some exceptions to all this:
- The driver in calibre will update the file size in the database when resending a book. This is to prevent the loss of reading status and annotations.
- For ePubs on the main memory, annotations are also stored in file. I find them more annoying than helpful.
I have not swapped the cards in device. So this possibility can be ruled out. Also, I make it sure that books are in kepub format, because either these are purchased from Kobo, or sideloaded through caliber, duly converted from epubs.

PS: I also tried to extract annotations through your Kobo Utility Plugin installed in Calibre, but while selecting a book in sd card, the "copy annotation for selected book" is grayed out.

Last edited by drjd; 03-23-2016 at 09:26 AM. Reason: spellings...
drjd is offline   Reply With Quote