View Single Post
Old 01-03-2021, 08:14 AM   #2080
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 ownedbycats View Post
Honestly, I'll just be glad if it means I don't have to keep unplugging my device only to immediately plug it back in.
I worked out how to handle the problem I have. I am still validating this against what Kobo does, but, I'm pretty sure it matches.

For the others, this is code to update the ToC entries in the database after sending a changed book. I have had this working for epubs for a while, but, have been writing the code for kepubs in the last few days. This will allow books with modified ToC and internal files to be sent and then update the ToC without disconnecting the device. For cases like @ownedbycats has been talking about, books downloaded using FFF where extra chapters are being added, this will allow the book to be updated without losing the reading position and any annotations.
davidfor is offline