2015-10-06, 12:54
(2015-10-06, 06:36)Mr. V Wrote: For the widget, I do find it difficult to make use of it in visibility conditions. For example the library data provider is an addon and that is what is set for the widget property. So within the widget list there are around 15 selectable widgets using this addon. The addon library data provider is getting its information from the library. So to me it would make more sense if the widget property was set to library as that is where the data comes from for the widget.
Thanks for your list, I will update the code to improve the content detection.
Setting the widget type property to library is not very usefull because you will have to know what content you're skinning against, for exampe movies, episodes etc.
Just setting it to library won't tell you a thing about the content because it can be anything...
The whole idea for the type property is to help skinners a bit with determining the content type in their widget but you can't fully rely on it ever, there will always be addons that don't follow the normal guidelines and set the contenttype wrong or just provide something non standard.