2015-11-14, 17:21
(2015-11-14, 06:34)Mr. V Wrote: Hi Marcel,
Having Some issues with what I would like to do. I am trying to get discart to display in a dynamic list panel container on the home screen for library data provider music widgets.
I'm actually thinking it may be a limitation of the script so it may border on a feature request or quite possibly something I have missed.
For music artwork such as Window(Home).Property(SkinHelper.Music.DiscArt).
In the home.xml I have <onload>SetProperty(SkinHelper.WidgetContainer,8001,home)</onload>
It works fine using $INFO[Window(Home).Property(SkinHelper.Music.DiscArt)] outside of container 8001.
So I have two issues
1. Within the panel container 8001 it will not show any discart.
2. I have two containers for widget 1 (8001) and widget 2 (8002). So setting the onload property will not work for each container.
You can't use $INFO properties (home properties or skin settings) inside a container, it's a Kodi limitation.
Even if that would work it wouldn't be a great idea because this method will only provide you the details for the current focused listitem.
I have 2 solutions for your 2 problems
1) Look in the documentation for the webservice which you can use inside panels/containers. For example:
<texture background="true">http://localhost:52307/getmusicart&dbid=$INFO[Listitem.DBID]&type=banner,clearlogo,discart&contenttype=artists</texture>
2) You can set onfocus on the panel/container itself, so on your 8001 panel <onfocus>SetProperty(SkinHelper.WidgetContainer,8001,home)</panel>