2019-08-31, 08:06
Hello
i am trying to update the list items in an dynamic list control
i have set the content via an plugin:
in the skin the content is displayed, that works but how can i update single ListItems
my ideas was to set an Property on each ListItem:
and in the List is set the label:
now my ideas was to update the Home Property '1064' to update the label for the ListItem
but this doesnt work
i think i cant do an INFO Label into another one
i have seen in other Skins that they do this:
i have tried this in the list:
<focusedlayout width="580" height="98">
<include content="FocusLayoutProperty">
<param name="Propy" value="$INFO[Window(Home).Property($INFO[ListItem.Property(nfsId)])]" />
</include>
</focusedlayout>
but in that case it doesnt work with the List
is there any workaround for this ?
best regards
i am trying to update the list items in an dynamic list control
i have set the content via an plugin:
python:<content>plugin://plugin.video.nfs</content>
in the skin the content is displayed, that works but how can i update single ListItems
my ideas was to set an Property on each ListItem:
python:list_item.setProperties({ 'nfsId': '1064' })
and in the List is set the label:
xml:<label>$INFO[Window(Home).Property($INFO[ListItem.Property(nfsId)])]</label>
now my ideas was to update the Home Property '1064' to update the label for the ListItem
but this doesnt work
i think i cant do an INFO Label into another one
i have seen in other Skins that they do this:
xml:$INFO[Window(Home).Property($PARAM[Page])]
i have tried this in the list:
<focusedlayout width="580" height="98">
<include content="FocusLayoutProperty">
<param name="Propy" value="$INFO[Window(Home).Property($INFO[ListItem.Property(nfsId)])]" />
</include>
</focusedlayout>
but in that case it doesnt work with the List
is there any workaround for this ?
best regards