2020-01-10, 12:34
As soon as I switch to using a VAR the list doesn't get populated.
Works -
Doesn't work -
Any ideas?
Works -
xml:<control id="9001" type="list">
<include>HiddenHomeList</include>
<visible>System.HasAddon(script.embuary.helper) + !String.IsEmpty(ListItem.DBID)</visible>
<content>plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]</content>
</control>
Doesn't work -
xml:<control id="9001" type="list">
<include>HiddenHomeList</include>
<visible>System.HasAddon(script.embuary.helper)</visible>
<content>$VAR[EmbuaryItemDetails]</content>
</control>
xml:<variable name="EmbuaryItemDetails">
<value condition="!String.IsEmpty(ListItem.DBID) + [String.Compare(ListItem.DBType,movie) | String.Compare(ListItem.DBType,tvshow) | String.Compare(ListItem.DBType,episode)]">plugin://script.embuary.helper/?info=getbydbid&dbid=$INFO[ListItem.DBID]&type=$INFO[ListItem.DBType]</value>
<value></value>
</variable>
Any ideas?