View Single Post
Old 02-05-2017, 03:26 AM   #51
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@kido.resuri: Have you actually looked at what happens when you swap cards?

The way it works is:
  • When you first insert a card, all books on it are added to the database. The "ExternalID" is set to the partition serial number for each book.
  • If you eject the card and reinsert it, the device looks for changes. New books are added, missing books are removed and changed books (different file size) are removed and then treated as new books. Unchanged books keep their reading status, collections and bookmarks.
  • If you insert a different card, all books that were on the previous SD card are removed from the database.
  • If something does happen that there are books in the database for two different cards, only those for the current card (current External) are displayed.
  • If there is no card, books with an External are not displayed in the lists.
  • After a reboot, the external card is processed once nickel has restarted. (Note: for the Touch, this doesn't happen, you have to eject the card after nickel has started. This is a very long standing bug.)

If you are simulating an external SD card, you would not want to lose the reading status, bookmarks and collections for books on it. Or as you put in a real card.

Last edited by davidfor; 02-05-2017 at 08:04 PM. Reason: spelling and clarity in what happens in the third point.
davidfor is offline   Reply With Quote