2016-03-17, 21:52
(2016-03-17, 19:08)baruchin Wrote:(2016-03-13, 17:11)braz Wrote: @Talguy and JurialMunkey
The disappearing widgets are due to the use of templates I believe. There is a way to use unique IDs and there is a autoreload method to keep them from disappearing.
http://forum.kodi.tv/showthread.php?tid=...pid2278901
Is this related?
Since introducing templates, widgets aren't autoupdating. I have my YouTube subs as a widget but it doesn't autoupdate once I watched a video. I have to either reassign the widget on Home Menu skin settings, or quit and open Kodi again.
We're aware of this issue with skins using Skin Shortcuts templates feature to build widgets, and we're considering options for solving it in the future. As an interim solution, I've PR'd this branch which allows you to edit a widget (Choose Widget, then Custom Item - the last item in the list). With that, you can add one of Skin Helper's reload parameters to the widget path, which will update the widget after media is played.
To install the branch, download the zip and manually extract it, then replace the contents of addons/script.skinshortcuts with the contents of the zip. The addons folder can be found one folder 'up' from the userdata (wiki) folder.
The various reload parameters are detailed here - to use them:-
If the path already has a question mark - ? - in it, at the end of the path add a '&' and...
If the path doesn't have a question mark in it, at the end of the path add a '?' and...
...add widgetReload= and the appropriate widget reload from that post. For example, to refresh after watching a movie only for a path that already has a ? in it, you'd add
Code:
&widgetReload=$INFO[Window(Home).Property(widgetreload-movies)]
Note this won't work for all widgets (extended info widgets, for example, will break with this method). So if the widget stops returning the results you'd expect, delete the parameter you added.