View Single Post
Old 12-06-2020, 03:33 AM   #2025
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
Beta - fetch problems and setting time

Attached is a beta that should fix the problems fetching the reading status that @pricciar has reported. The problem is partly due to the changes needed for Python 3, and some resulting bad logic in working out what had changed. I'm pretty sure this will fix that issue.

The other change in this beta is to add a way to set the time on the device. Tha Kobo desktop application writes a file names "epoch.conf" on the device when it ejects the device. This contains the current time and the device sets the time from this after it is ejected. This is not really needed if WiFi is used. The deivce will sync the time when it is connected WiFi is connected.

The function "Set time on device" will do the same as the desktop application. It writes the time when the function is used to the file. If you eject the device immediately after using this, the time on the device will be reasonably accurate.

As usual, if there are any problems, please report them here.
Attached Files
File Type: zip KoboUtilities-beta.zip (293.0 KB, 986 views)
davidfor is offline