<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="true">50</defaultcontrol>
    <menucontrol>9000</menucontrol>
    <include>ViewModes</include>
    <include condition="!Skin.HasSetting(BlackGlassMode)|Skin.HasSetting(DisableSlidingAnimations)">OpenClose</include>
    <controls>
        <include>Fanart_Art</include>
        <include>Player_Show</include>
        <include>Time</include>
        <include>InfoBackground</include>
        <control type="label">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <include>WindowTitle</include>
            <label>$LOCALIZE[3]</label>
        </control>
        <control type="label">
            <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <include>WindowTitleSub</include>
            <label>$VAR[GlobalSubTitles]</label>
        </control>
        <!-- BGN -->
        <control type="group">
            <visible>!Skin.HasSetting(BlackGlassMode)</visible>
            <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="-2690,0" condition="Control.HasFocus(505050)">conditional</animation>
            <include condition="!Skin.HasSetting(BlackGlassMode)+Skin.HasSetting(plexbmc)">PlexbmcFixTrick</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_50</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">Info_50_List</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_51_Panel</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">Info_51_Panel</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_52_BigList</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">Info_52_BigList</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_56_BannerList</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">Info_56_BannerList</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_53_Grid</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_54_LowList</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">Info_54_LowList</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_55_BigPanel</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">Info_55_BigPanel</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_59_Showcase</include>
            <include condition="!Skin.HasSetting(BlackGlassMode)">View_5050_CardList</include>
            <!-- COMMON -->
            <control type="group" id="81257">
                <visible>[ListItem.IsParentFolder+![Control.IsVisible(5050)|Control.IsVisible(53)|Control.IsVisible(57)|Control.IsVisible(58)|Control.IsVisible(59)]]|
                    [[Control.IsVisible(50)|Control.IsVisible(51)|Control.IsVisible(52)|Control.IsVisible(54)|Control.IsVisible(55)|Control.IsVisible(56)]+![!String.IsEmpty(ListItem.Plot)|!String.IsEmpty(ListItem.AddonDescription)]]|
                    [control.hasfocus(60)+[Control.IsVisible(50)|Control.IsVisible(52)|Control.IsVisible(56)|Control.IsVisible(54)]]</visible>
                <include>Icon_Fade</include>
                <include>DetatchedThumb_50</include>
                <include>DetatchedThumb_51</include>
                <include>DetatchedThumb_52</include>
                <include>DetatchedThumb_54</include>
                <include>DetatchedThumb_55</include>
                <include>DetatchedThumb_56</include>
            </control>
        </control>
        <!-- BG -->
        <control type="group">
            <visible>Skin.HasSetting(BlackGlassMode)</visible>
            <include condition="!Skin.HasSetting(DisableSlidingAnimations)">OpenCloseSlideRight</include>
            <control type="group">
                <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="580,0" condition="[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)]+!Skin.HasSetting(DisableSlidingAnimations)">conditional</animation>
                <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="-2090,0" condition="Control.HasFocus(505050)">conditional</animation>
                <include condition="Skin.HasSetting(BlackGlassMode)+Skin.HasSetting(plexbmc)">PlexbmcFixTrick</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">View_50_BG</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">Info_50_List_BG</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">View_53_Grid</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">View_55_BigPanel_BG</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">Info_55_BigPanel_BG</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">View_56_BannerList_BG</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">Info_56_BannerList_BG</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">View_59_Showcase</include>
                <include condition="Skin.HasSetting(BlackGlassMode)">View_5050_CardList</include>
                <!-- COMMON -->
                <control type="group">
                    <visible>[ListItem.IsParentFolder+![Control.IsVisible(5050)|Control.IsVisible(53)|Control.IsVisible(57)|Control.IsVisible(58)|Control.IsVisible(59)]]|[[Control.IsVisible(50)|Control.IsVisible(55)|Control.IsVisible(56)]+![!String.IsEmpty(ListItem.Plot)|!String.IsEmpty(ListItem.AddonDescription)]]</visible>
                    <include>Icon_Fade</include>
                    <include>DetatchedThumb_50_BG</include>
                    <include>DetatchedThumb_55_BG</include>
                    <include>DetatchedThumb_56_BG</include>
                </control>
            </control>
        </control>
        <include>FooterInfo</include>
        <!-- SIDE MENU -->
        <control type="group">
            <visible>!Skin.HasSetting(EnableKioskMode)</visible>
            <include>LeftMenu</include>
            <control type="label">
                <include>LeftMenuTitleLabel</include>
                <label>$LOCALIZE[582]</label>
            </control>
            <control type="grouplist" id="9000">
                <include>LeftMenuButtonGroup</include>
                <onleft>9000</onleft>
                <onright>50</onright>
                <onup>9000</onup>
                <ondown>9000</ondown>
                <onback>50</onback>
                <include>9000GrouplistParameters</include>
                <control type="button" id="10">
                    <description>Watched Toggle</description>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[137]</label>
                </control>
                <control type="button" id="3">
                    <description>Sort</description>
                    <include>LeftMenuButton</include>
                </control>
                <control type="togglebutton" id="4">
                    <description>Order By</description>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[21429]:  $LOCALIZE[21430]</label>
                    <altlabel>$LOCALIZE[21429]:  $LOCALIZE[21431]</altlabel>
                </control>
                <control type="label" id="9183">
                    <textoffsety>35</textoffsety>
                    <height>69</height>
                    <include>LeftMenuTitleLabel</include>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[1034]</label>
                </control>
                <control type="image" id="9184">
                    <width>577</width>
                    <height>2</height>
                    <texture border="0,0,0,2">list/bg_facade_nofocus_top.png</texture>
                </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>Advanced Filter</description>
                    <include>LeftMenuButton</include>
                    <label>587</label>
                    <selected>Container.Filtered</selected>
                    <onclick>right</onclick>
                    <onclick>Filter</onclick>
                </control>
                <control type="button" id="8">
                    <description>Search</description>
                    <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>
                    <visible>Container.Content(MusicVideos)</visible>
                </control>
                <control type="togglebutton" id="20">
                    <description>Update Library</description>
                    <include>LeftMenuButton</include>
                    <label>653</label>
                    <altlabel>13353</altlabel>
                    <usealttexture>library.isscanningvideo</usealttexture>
                </control>
                <control type="button" 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(videoplaylist)</onclick>
                    <visible>Integer.IsGreater(Playlist.Length(video),0)</visible>
                </control>
                <control type="radiobutton" id="11">
                    <description>Unlock Shares</description>
                    <textwidth>450</textwidth>
                    <include>LeftMenuButton</include>
                    <label>$LOCALIZE[20336]</label>
                    <onclick>mastermode</onclick>
                    <selected>system.ismaster</selected>
                    <visible>system.haslocks</visible>
                </control>
            </control>
        </control>
    </controls>
</window>
