2014-08-17, 14:41
Here's a weird one -
mainmenu.DATA.xml
Resulting script-skinshortcuts-includes.xml
mainmenu.DATA.xml
PHP Code:
<shortcut>
<label>$LOCALIZE[19023]</label>
<label2>Common Shortcut</label2>
<defaultID>livetv</defaultID>
<icon>DefaultTVShows.png</icon>
<thumb />
<action>ActivateWindow(TVChannels)</action>
<visible>PVR.HasTVChannels</visible>
</shortcut>
<shortcut>
<label>$LOCALIZE[19024]</label>
<label2>Common Shortcut</label2>
<defaultID>liveradio</defaultID>
<icon>DefaultTVShows.png</icon>
<thumb />
<action>ActivateWindow(RadioChannels)</action>
<visible>PVR.HasRadioChannels</visible>
</shortcut>
Resulting script-skinshortcuts-includes.xml
PHP Code:
<item id="14">
<label>$LOCALIZE[19023]</label>
<label2>Common Shortcut</label2>
<icon>DefaultTVShows.png</icon>
<thumb />
<property name="labelID">19023</property>
<property name="defaultID">19023</property>
<visible>[PVR.HasTVChannels] + [
]</visible>
<onclick>ActivateWindow(TVChannels)</onclick>
<visible>StringCompare(System.ProfileName,Master user)</visible>
<property name="submenuVisibility">$NUMBER[19023]</property>
<property name="group">mainmenu</property>
</item>
<item id="15">
<label>$LOCALIZE[19024]</label>
<label2>Common Shortcut</label2>
<icon>DefaultTVShows.png</icon>
<thumb />
<property name="labelID">19024</property>
<property name="defaultID">19024</property>
<visible>[PVR.HasRadioChannels] + [
]</visible>
<onclick>ActivateWindow(RadioChannels)</onclick>
<visible>StringCompare(System.ProfileName,Master user)</visible>
<property name="submenuVisibility">$NUMBER[19024]</property>
<property name="group">mainmenu</property>
</item>