View Single Post
Old 06-13-2015, 08:51 AM   #9
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
Quote:
Originally Posted by chrisridd View Post
Does anyone know what the Kobo actually does when it is "Processing" new books?

Pulling metadata out of an epub/kepub's OPF file should not be an expensive operation.
Between the time you disconnect and the home screen is displayed, it:
  1. Scans the database for any books missing on the disk or whose size has changed. For both, it removes all details of the book from the database
  2. Scans the disk for new books not in the database
  3. For each new or changed book, extract the metadata from the book. For books formats with a ToC, extracts the ToC.
  4. Add the books and their metadata plus the ToC to the database

I think the first two steps are why the processing screen always starts at 6%. The third step is what takes the time as the percent complete increments. I'm pretty sure the last step happens after the books have been processed. But, older firmware did this while the books were being processed.

The third step is obviously the most intensive. For epubs and kepubs, it has to open a zip file to read the OPF and NCX files. It will take time, but I agree it seems to take more time than I would expect. There might be something else happening, but I don't know what it would be.
davidfor is offline   Reply With Quote