<?xml version="1.0" encoding="UTF-8"?>
<window id="1101">
    <defaultcontrol always="yes">400</defaultcontrol>
    <menucontrol>9001</menucontrol>
    <onload condition="!String.IsEmpty(Window.Property(MenuTitle))">Skin.SetString(MyItems.MenuTitle,$INFO[Window.Property(MenuTitle)])</onload>
    <onload condition="!String.IsEmpty(Window.Property(SourceInfo))">Skin.SetString(MyItems.SourceInfo,$INFO[Window.Property(SourceInfo)])</onload>
    <onload condition="String.IsEmpty(Window.Property(MenuTitle))">SetProperty(MenuTitle,$INFO[Skin.String(MyItems.MenuTitle)])</onload>
    <onload condition="String.IsEmpty(Window.Property(SourceInfo))">SetProperty(SourceInfo,$INFO[Skin.String(MyItems.SourceInfo)])</onload>
    <onload>RunScript(script.revolve.service,PopulateStaticItemsFromHomeProperties,$INFO[Window.Property(SourceInfo)],MyItems%02dOption,1101)</onload>
    <onunload>RunScript(script.revolve.service,ClearProperties,MyItems%02dOption,1101)</onunload>

    <controls>
        <include content="FullscreenDimensions" />
        <include content="GlobalBackground" />

        <control type="fixedlist" id="400">
            <visible allowhiddenfocus="true">Skin.HasSetting(Debug.ListBorder.Visible)</visible>
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1080</height>
            <focusposition>4</focusposition>
            <defaultcontrol>1</defaultcontrol>
            <onup>400</onup>
            <ondown>400</ondown>
            <onleft>9000</onleft>

            <include content="InvisibleVerticalListItemsForMenu" />
        
            <content>
                <item id="1">
                    <visible>!String.IsEmpty(Window.Property(MyItems01Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems01Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems01Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems01Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems01Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems01Option.Action)]</onclick>
                </item>
                <item id="2">
                    <visible>!String.IsEmpty(Window.Property(MyItems02Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems02Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems02Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems02Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems02Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems02Option.Action)]</onclick>
                </item>
                <item id="3">
                    <visible>!String.IsEmpty(Window.Property(MyItems03Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems03Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems03Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems03Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems03Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems03Option.Action)]</onclick>
                </item>
                <item id="4">
                    <visible>!String.IsEmpty(Window.Property(MyItems04Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems04Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems04Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems04Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems04Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems04Option.Action)]</onclick>
                </item>
                <item id="5">
                    <visible>!String.IsEmpty(Window.Property(MyItems05Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems05Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems05Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems05Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems05Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems05Option.Action)]</onclick>
                </item>
                <item id="6">
                    <visible>!String.IsEmpty(Window.Property(MyItems06Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems06Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems06Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems06Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems06Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems06Option.Action)]</onclick>
                </item>
                <item id="7">
                    <visible>!String.IsEmpty(Window.Property(MyItems07Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems07Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems07Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems07Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems07Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems07Option.Action)]</onclick>
                </item>
                <item id="8">
                    <visible>!String.IsEmpty(Window.Property(MyItems08Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems08Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems08Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems08Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems08Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems08Option.Action)]</onclick>
                </item>
                <item id="9">
                    <visible>!String.IsEmpty(Window.Property(MyItems09Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems09Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems09Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems09Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems09Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems09Option.Action)]</onclick>
                </item>
                <item id="10">
                    <visible>!String.IsEmpty(Window.Property(MyItems10Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems10Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems10Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems10Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems10Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems10Option.Action)]</onclick>
                </item>
                <item id="11">
                    <visible>!String.IsEmpty(Window.Property(MyItems11Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems11Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems11Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems11Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems11Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems11Option.Action)]</onclick>
                </item>
                <item id="12">
                    <visible>!String.IsEmpty(Window.Property(MyItems12Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems12Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems12Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems12Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems12Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems12Option.Action)]</onclick>
                </item>
                <item id="13">
                    <visible>!String.IsEmpty(Window.Property(MyItems13Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems13Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems13Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems13Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems13Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems13Option.Action)]</onclick>
                </item>
                <item id="14">
                    <visible>!String.IsEmpty(Window.Property(MyItems14Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems14Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems14Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems14Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems14Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems14Option.Action)]</onclick>
                </item>
                <item id="15">
                    <visible>!String.IsEmpty(Window.Property(MyItems15Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems15Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems15Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems15Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems15Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems15Option.Action)]</onclick>
                </item>
                <item id="16">
                    <visible>!String.IsEmpty(Window.Property(MyItems16Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems16Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems16Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems16Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems16Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems16Option.Action)]</onclick>
                </item>
                <item id="17">
                    <visible>!String.IsEmpty(Window.Property(MyItems17Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems17Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems17Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems17Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems17Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems17Option.Action)]</onclick>
                </item>
                <item id="18">
                    <visible>!String.IsEmpty(Window.Property(MyItems18Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems18Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems18Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems18Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems18Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems18Option.Action)]</onclick>
                </item>
                <item id="19">
                    <visible>!String.IsEmpty(Window.Property(MyItems19Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems19Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems19Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems19Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems19Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems19Option.Action)]</onclick>
                </item>
                <item id="20">
                    <visible>!String.IsEmpty(Window.Property(MyItems20Option.Name))</visible>
                    <label>$INFO[Window.Property(MyItems20Option.Name)]</label>
                    <label2>$INFO[Window.Property(MyItems20Option.Subtitle)]</label2>
                    <icon>$INFO[Window.Property(MyItems20Option.Thumbnail)]</icon>
                    <property name="BackgroundImage">$INFO[Window.Property(MyItems20Option.BackgroundImage)]</property>
                    <onclick>$INFO[Window.Property(MyItems20Option.Action)]</onclick>
                </item>
                <item id="99">
                    <visible>String.IsEmpty(Window.Property(MyItems01Option.Name))</visible>
                    <label>-</label>
                    <label2>-</label2>
                    <icon>-</icon>
                    <property name="BackgroundImage">-</property>
                    <onclick>Noop</onclick>
                </item>
            </content>
        </control>

        <control type="group">
            <visible>Skin.HasSetting(MyItemsMenu.Default)</visible>
            <include content="RevolveMenu">
                <param name="label" value="$INFO[Window.Property(MenuTitle)]" />
            </include>
        </control>
        
        <control type="group">
            <visible>!Skin.HasSetting(MyItemsMenu.Default)</visible>
            <include content="CircleMenu">
                <param name="label" value="$INFO[Window.Property(MenuTitle)]" />
            </include>
        </control>
        
        <control type="group" id="9000">
            <include content="SideMenu" />

            <control type="grouplist" id="9001">
                <include content="BeginOfButtonListForSideMenu">
                    <param name="onright" value="400" />
                </include>

                <include content="ViewGroupLabelForSideMenu" />
                <include content="MyItemsMenuTypeButtonForSideMenu" />

                <include content="PlaylistLibraryGroupLabelForSideMenu" />
                <include content="GenericPlaylistButtonForSideMenu" />
                <include content="ClearPlaylistButtonForSideMenu" />

                <include content="NavigationGroupLabelForSideMenu">
                    <param name="visible" value="Skin.HasSetting(SideMenu.Grouped) + Control.IsVisible(91)" />
                </include>
                <include content="GlobalSearchButtonForSideMenu" />
                
                <include content="EndOfButtonListForSideMenu" />
            </control>

            <include content="PlayerControlsForSideMenu">
                <param name="onright" value="400" />
            </include>
        </control>
        
        <include content="GlobalOverlay" />
    </controls>
</window>
