<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">50</defaultcontrol>
    <menucontrol>9000</menucontrol>
    <include>ViewModes</include>
    <controls>
        <include condition="!Skin.HasSetting(DisableFanart)">Fanart_Art</include>
        <include>Player_Show</include>
        <include>OverlayFull</include>
        <include>InfoBackground</include>
        <include condition="skin.HasSetting(rssTicker)">rssTicker</include>
        <control type="group">
            <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="660,0" condition="[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)|Control.HasFocus(9060)]">conditional</animation>
            <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="-2090,0" condition="Control.HasFocus(505050)">conditional</animation>
            <include>OpenClose</include>
            <control type="group">
                <include condition="Skin.HasSetting(plexbmc)">PlexbmcFixTrick</include>
                <include>View_50_BigList</include>
                <include>View_51_SlimList</include>
                <include>View_52_ShortList</include>
                <include>Info_52_ShortList</include>
                <include>View_59_Showcase</include>
                <include>View_53_Grid</include>
                <include>Info_53_Grid</include>
                <include>View_54_Fanart</include>
                <!--<include>Info_54_Fanart</include>-->
                <include>View_5050_CardList</include>
            </control>
        </control>
        <control type="label">
            <include>OpenClose</include>
            <include>WindowTitle</include>
            <label>$VAR[GlobalSubTitles]</label>
        </control>
        <control type="label">
            <include>OpenClose</include>
            <include>WindowTitleSub</include>
            <label>$INFO[Container.NumItems,, $LOCALIZE[31025]]$INFO[Container.CurrentPage,  -  ]$INFO[Container.NumPages,/]</label>
        </control>
        <include>FooterInfo</include>
        <include>Time</include>
        <!-- SIDE MENU -->
        <control type="group">
            <visible>!Skin.HasSetting(EnableKioskMode)</visible>
            <include>LeftMenu</include>
            <include>FacadeFadeDialogs</include>
            <include>Icon_Fade</include>
            <control type="grouplist" id="9000">
                <include>LeftMenuButtonGroup</include>
                <onright>50</onright>
                <ondown>9000</ondown>
                <onback>50</onback>
                <control type="label" id="7965">
                    <include>LeftMenuTitleLabel</include>
                    <label>$LOCALIZE[582]</label>
                </control>
                <include>9000GrouplistParameters</include>
                <control type="button" id="3">
                    <include>LeftMenuButton</include>
                </control>
                <control type="togglebutton" id="4">
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[21429]:  $LOCALIZE[21430]</label>
                    <altlabel>$LOCALIZE[21429]:  $LOCALIZE[21431]</altlabel>
                </control>
                <control type="label" id="9183">
                    <include>LeftMenuTitleLabel</include>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[1034]</label>
                </control>
                <control type="edit" id="19">
                    <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible>
                    <description>Filter</description>
                    <textwidth>520</textwidth>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[587]</label>
                </control>
                <control type="radiobutton" id="98">
                    <visible>Container.CanFilterAdvanced</visible>
                    <description>Filter</description>
                    <include>LeftMenuButton</include>
                    <label>587</label>
                    <selected>Container.Filtered</selected>
                    <onclick>right</onclick>
                    <onclick>Filter</onclick>
                </control>
                <control type="button" id="8">
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[137]</label>
                </control>
                <control type="radiobutton" id="16">
                    <description>PartyMode</description>
                    <label>$LOCALIZE[589]</label>
                    <textwidth>450</textwidth>
                    <include>LeftMenuButton</include>
                </control>
                <control type="button" id="697">
                    <visible>!Skin.HasSetting(plexbmc)</visible>
                    <visible>Library.HasContent(music) | Library.HasContent(musicvideos)</visible>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[1024] $LOCALIZE[14022]</label>
                    <onclick>ActivateWindow(Music,root)</onclick>
                </control>
                <control type="togglebutton" id="699">
                    <enable>Player.HasMedia</enable>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[16003]</label>
                    <onclick>fullscreen</onclick>
                </control>
                <control type="button" id="612">
                    <description>Go to playlist</description>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[13350]</label>
                    <onclick>ActivateWindow(musicplaylist)</onclick>
                    <visible>!StringCompare(Playlist.Length(music),0)</visible>
                </control>
            </control>
            <include>LeftMenuScroller</include>
        </control>
    </controls>
</window>
