2015-12-01, 00:06
(2015-11-30, 23:49)Jeroen Wrote: Great, customization it is then
I had a feeling you'd say that
(2015-11-30, 23:49)Jeroen Wrote: I'm afraid I haven't been able to get it to work though I'm afraid.
'widgetName', not just 'name' (for both the <shortcut /> attribute and the property that is returned - the <widget /> attribute is 'name')
Code:
<shortcut label="342" type="32099" widgetName="Movies Watchlist" icon="DefaultIconWatchlist.png" widget="Addon" widgetType="movies" widgetTarget="video" condition="System.HasAddon(script.watchlist)">plugin://script.watchlist/?type=movies</shortcut>
Code:
<label>$INFO[Container(9000).ListItem.Property(widgetName)]</label>
It's always the same 5 properties that are returned for widgets, however they're defined:- widget, widgetName, widgetType, widgetTarget, widgetPath. More details