fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
966 stars 94 forks source link

Limit syncs to a configurable interval #98

Closed michaelarnauts closed 1 year ago

michaelarnauts commented 2 years ago

Right now, every time WiFi is turned on, the sync will start. This causes the Kobo to sync every time something is looked up online (online search, actual sync, ...). I think it would make sense to only sync once a day, or (if possible), tied into the actual syncing to the Kobo service itself.

Also, right now (with the nextcloud integration, but I assume it happens with every integration) it tries to download every file (curl does something to check if the filesize had changed) and this can take quite a while. Maybe it shouldn't try to download files that are already on the device? You can always delete them and they will be redownload anyway.

mswitakowski commented 2 years ago

I was wondering whether it would be possible to add a button to Nickel Menu that would trigger the sync on demand. Maybe this would reduce the overall overhead of unnecessary syncs and help with https://github.com/fsantini/KoboCloud/issues/113?

groentebroer commented 1 year ago

You dan influence the sync with enabling/disabling the WiFi. Just put out WiFi, will save your battery as well (even without KoboCloud).