refresh widgets on demand
#1
Hi!
I'm testing the performance of my attempt at a new Estuary-based skin (just to learn) and I've encountered a problem that I believe is not unique to my mod or estuary. The truth is that I have a dozen widgets in different categories created using SSC and stopping the playback of some content from one of those widgets causes all the Home widgets to refresh. If I play another video, without the widgets having finished refreshing and I stop it again, the system freezes and Kodi closes (especially on Android). I suspect that due to lack of resources (when stopping the second video, the processes are launched to refresh all the widgets again).
Is there a way for Kodi not to refresh all the widgets or to be able to do it on demand?
Reply
#2
Nope, unfortunately no way for a skin to control the refresh. It's hardcoded into Kodi's core to force all containers to refresh on start/stop of playback.
Arctic Fuse 2 - Alpha now available. Support me on Ko-fi.
Reply
#3
(2024-07-21, 08:16)jurialmunkey Wrote: It's hardcoded into Kodi's core to force all containers to refresh on start/stop of playback.

I've never understood why Kodi refreshes containers on playback start, seems unnecessary. Is there a reason for it?
Reply
#4
To update their watched statuses I guess.
Reply
#5
(2024-07-21, 09:59)Hitcher Wrote: To update their watched statuses I guess.

I don't think so, what if you start a video then stop it 2 seconds later, the watched status would not need to be updated. Watched states only needs to be updated when a video is stopped.
Reply
#6
(2024-07-21, 10:51)roidy Wrote: Watched states only needs to be updated when a video is stopped.
(2024-07-21, 10:51)roidy Wrote: what if you start a video then stop it 2 seconds later
Wink
Reply
#7
Ok.... Not quite sure what that reply means.
Reply
#8
Thank you very much for your answers.
The truth is that I don't see any point in updating the containers when starting playback either.
Reply

Logout Mark Read Team Forum Stats Members Help
refresh widgets on demand0