2017-02-18, 07:19
Yeah, widget refreshing is a pain. There are some options though - the following works for any dynamic list content (not just skin helper widgets)
See:
http://forum.kodi.tv/showthread.php?tid=...pid2284606
http://forum.kodi.tv/showthread.php?tid=...pid2279905
The following works to refresh every time you enter the home screen:
And then in your home.xml have the following onload conditions:
Basically the ?widgetreload part forces a refresh when the window property changes because the content now has a different path. So if we just switch the window property onload then every entry into that screen will reload the widget.
Other option is to use two looping silent AlarmClocks at alternate intervals that switch the property
See:
http://forum.kodi.tv/showthread.php?tid=...pid2284606
http://forum.kodi.tv/showthread.php?tid=...pid2279905
The following works to refresh every time you enter the home screen:
Code:
<content target="music">playlistmusic://?widgetreload=$INFO[Window(Home).Property(WidgetRefresh)]</content>
And then in your home.xml have the following onload conditions:
Code:
<onload condition="!Integer.IsEqual(Window(Home).Property(WidgetRefresh),1)">SetProperty(WidgetRefresh,1,Home)</onload>
<onload condition="Integer.IsEqual(Window(Home).Property(WidgetRefresh),1)">SetProperty(WidgetRefresh,2,Home)</onload>
Basically the ?widgetreload part forces a refresh when the window property changes because the content now has a different path. So if we just switch the window property onload then every entry into that screen will reload the widget.
Other option is to use two looping silent AlarmClocks at alternate intervals that switch the property