As of right now, there is no method I am aware of to trigger a full sync on time-based interval on any platform. Manual sync works properly. Since one of the goals of synchronizing is switching between devices, the user may have the application open for days with listening history being made on one device that has not been pushed to the server. This could cause the various other devices to be out of sync frequently. This is especially true if using the "Run Kasts in System Tray" option. It would be nice to have a setting where the user could select a sync interval of something like 1 min, 5 min, 10 min, 1 hr, 8hr, etc. Or just a number of minutes between syncs.
*** Bug 467400 has been marked as a duplicate of this bug. ***
The request is noted. Makes sense to have this. Just as background info: if the "Upload episode play positions on play/pause toggle" is switched on (which it is by default), then Kasts will upload any local change to the server immediately. All changes are recorded with accurate timestamps, so if changes are pulled from the server later on, the clients will first resolve all possible conflicts before applying changes locally. So while this existing option doesn't cover all cases, the one you mentioned in the first comment (about changes not being pushed to the server) is actually already covered. The only situation that's not covered by any of the existing settings is if you start listening to an episode that you were listening to on another device without syncing (manually) first.
Another potential stop gap in the mean time and potentially could be a useful feature even with interval based syncing would be to have a static Manual Sync button just above the static Settings button. This would make syncing 1 click rather than 3.
The implementation is not necessarily very difficult, so no need for a new stop gap solution. FYI: If you use the setting "Do full sync when fetching podcasts" (which is on by default) it will do a sync whenever you press the "Refresh All Podcasts" button. This is only one click.
That's exactly what I do at the moment bart@mogwai.be. Thank you to look into it.
I've opened an MR with an implementation. It currently offers the option of updating: - never - every 1, 2, 4, 8, or 12 hours - every 1 or 3 days I don't actually want to add options to do it more frequently to avoid hammering the RSS feed servers (which is needed for a full sync). Any concerns from anyone?
Seems like a good idea to me
Git commit 6822304c567b76e7c43d227b3de7eef38856c6ba by Bart De Vries. Committed on 18/04/2024 at 12:56. Pushed by bdevries into branch 'master'. Implement interval-based automatic podcast updates This also includes a restructuring of some of the settings. M +44 -0 src/fetcher.cpp M +9 -0 src/fetcher.h M +60 -27 src/qml/Settings/GeneralSettingsPage.qml M +48 -42 src/settingsmanager.kcfg https://invent.kde.org/multimedia/kasts/-/commit/6822304c567b76e7c43d227b3de7eef38856c6ba