Release script.embuary.helper - a skin helper service / widgets alternative
As soon as I switch to using a VAR the list doesn't get populated.

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&amp;dbid=$INFO[ListItem.DBID]&amp;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&amp;dbid=$INFO[ListItem.DBID]&amp;type=$INFO[ListItem.DBType]</value>
        <value></value>
    </variable>

Any ideas?
Reply


Messages In This Thread
RE: script.embuary.helper - a skin helper service / widgets alternative - by Hitcher - 2020-01-10, 12:34
Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3