View Single Post
Old 04-01-2015, 08:18 AM   #923
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 iostrym View Post
So, kobo driver modifie filesize so that kobo don't see the epub/pdf as modified to save kobo processing time. But what if epub is really modified, kobo driver can't know it so we have to remove it manually from kobo, disconnect and then reconnect and add the new one. right ?
And what if the new modified epub is added in calibre as the new epub (with same title and author as the old one, toc may be modified, and metadata that indicate version number), is the behavior the same ? Because I do modification in pdf and epub outside calibre and then add the new modified file in calibre.
It's a choice. The firmware uses the full file path to identify a book. If there is a file there, it is assumed to be the same book. But, if the file size changes the book is reprocessed. It doesn't matter where the replacement copy comes from and it doesn't matter what is in the file. If it is the same size as in the database, it's left alone. If the file size is changed, it is completely reprocessed.

The driver updates the file size when the book is replaced so that it won't be removed. It doesn't matter what was done with the book. It could have been edited using the calibre editor, Sigil or something else. Or a new copy downloaded from somewhere. Doing this is a risk. If the book has changed to much, then it could cause problems. But, if it isn't done, there is no way to replace a book and not lose the reading status, bookmarks and collections. You can get around this by removing the book first.
Quote:
do you prefer me to ask those question in private messages so that this thread is not "polluted" ?
This is much better in the forum where others can see it and join in if they want to. Though it would be more appropriate for the KoboTouch driver thread.
davidfor is offline