2016-03-07, 12:25
(2016-03-05, 12:50)sualfred Wrote: I won't be annoying, but I have another request
Since we have no reload control for <content>$path</content>, is it possible to add something like this?
Code:plugin://script.skin.helper.service/?path=$INFO[Skin.String(MyPath)]&reload=$INFO[Window(Home).Property(widgetreload2)]
Looked into this and won't be possible as the script has no clue about the contents of that external path so it will be impossible to parse/request the proper listitem properties.
I struggled with the same thing in Titan, had to refresh some widgets after playback stopped.
As a workaround I used the following var:
PHP Code:
<!-- widget vars for widgets that do not auto refresh automatically -->
<variable name="widget510">
<value condition="!IsEmpty(Window(Home).property(skinhelper-refreshvideowidgetsbusy))">special://skin/extras/emptywidget.xsp</value>
<value>$INFO[Container(300).ListItem.Property(widgetPath)]</value>
</variable>
This will refresh the widget after playback stopped.
The other thing to try is to just append something to the widget path but that won't work for all plugins (as you've already found out):
PHP Code:
<content>$INFO[Skin.String(yourcustomwidgetpath)]&reloadwidget=$INFO[Window(Home).Property(widgetreload2)]</content>