View Single Post
Old 09-20-2015, 05:15 PM   #11
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Mrs_Often View Post
Any idea on whether I need to delete a book with Calibre before re-sending it to the device if I made any changes with Sigil? Edit: apparently not, same thing I tried before worked perfectly this time now the database doesn't have its knickers in a twist
It depends on what changes you make. If you change the file structure of the book (add, rename or delete files) or if you change parts the OPF or NCX or the places in the book that are linked to in the NCX then you should delete the book before reloading it, otherwise the database will still have the info from the old book which won't match the new book. This can cause unpredictable effects while trying to navigate the book.

If you just change the content of the book, fixing spellng mistakes or replacing images (without changng their filenames) etc., then it is okay to resend the updated book to the device without deleting it first.

Quote:
Also still interested to know about question 3, for future reference or for when I'd like to cheat my statistics...
I don't think there are any running totals stored in the database. When you open the stats page it seems to trawl through the database to compile the stats from the raw data on each reading session, which is why it can take a long time to bring up the stats page the first time after rebooting the device. After that it might keep running totals in memory, but they don't appear to be saved anywhere when the device is powered off.

So in short, it is probably possible to fake the statistics, but it would be a lot of effort, I think you would have to insert a lot of fake reading sessions into the database.
GeoffR is offline   Reply With Quote