View Single Post
Old 10-12-2016, 08:47 PM   #45
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 frostschutz View Post
Usually that's a quick(er than byte-by-byte comparisons / checksums) check to see if a file changed... same timestamp, same size = probably the same file. Size changed? Timestamp changed? New file -> update database ... better not to mess with it.
Yes, for sideloaded books, the firmware checks the file size. If it is different from the database, then the book is removed and added as a new book. The calibre KoboTouch driver updates the file size to prevent this from happening if you resend a book.
davidfor is offline   Reply With Quote