<?xml version="1.0" encoding="utf-8"?>
<includes>
    <!--

    CUSTOM WINDOWS LIST
    _1115 CustomPlexHomeSettings.xml * Plex Items Settings
    _1118 Custom_FullscreenMusic * start fullscreen audio playback
    _1119 CustomAddons * browse addons united under the same roof
    _1120 CustomStartupWindow.xml * define startup window

   -->
    <include file="Includes_Variables.xml"/>
    <include file="Includes_Animations.xml"/>
    <include file="Includes_Codec.xml"/>
    <include file="Includes_CustomColors.xml"/>
    <include file="defaults.xml"/>
    <include file="Includes_Home_Common.xml"/>
    <include file="Includes_Home_Common_Plexbmc.xml"/>
    <include file="Includes_Horizontal_Home.xml"/>
    <include file="Includes_Shelf.xml"/>
    <include file="Includes_Shelf_Contents.xml"/>
    <include file="Includes_Shelf_Plexbmc.xml"/>
    <include file="Includes_Shelf_Plexbmc_Contents.xml"/>
    <include file="Includes_PVR.xml"/>
    <include file="Includes_Weather.xml"/>
    <include file="Includes_SkinShortcuts.xml"/>
    <include file="Includes_View_Modes.xml"/>
    <include file="View_50_BigList.xml"/>
    <include file="View_51_SlimList.xml"/>
    <include file="View_52_ShortList.xml"/>
    <include file="View_54_Fanart.xml"/>
    <include file="View_53_Grid.xml"/>
    <include file="View_56_BannerList.xml"/>
    <include file="View_57_58_59_Showcase.xml"/>
    <include file="View_5050_CardList.xml"/>
    <include file="script-skinshortcuts-includes.xml"/>
    <include name="Player_Show">
        <control type="image">
            <visible>Player.HasVideo + !Skin.HasSetting(Show_Player) + !Window.IsVisible(script-Actors-DialogVideoInfo.xml)</visible>
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1080</height>
            <texture>$VAR[Theme.Color]/common/BlackDot.png</texture>
        </control>
        <control type="multiimage">
            <visible>[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))] + [!Skin.HasSetting(Show_Player)|window.isactive(visualisation)] + Skin.HasSetting(MusicPlayingFanart) + !IsEmpty(Window(Visualisation).Property(ArtistSlideshow))</visible>
            <include>KenBurns</include>
            <include>Dimensions_Fullscreen</include>
            <imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
            <aspectratio aligny="top">scale</aspectratio>
            <timeperimage>14000</timeperimage>
            <fadetime>400</fadetime>
            <randomize>true</randomize>
            <animation effect="fade" start="0" end="100" time="250">Visible</animation>
            <animation effect="fade" start="100" end="0" time="250">Hidden</animation>
        </control>
        <control type="image">
            <visible>[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))] + [!Skin.HasSetting(Show_Player)|window.isactive(visualisation)] + Skin.HasSetting(MusicPlayingFanart) + IsEmpty(Window(Visualisation).Property(ArtistSlideshow))</visible>
            <include>Dimensions_Fullscreen</include>
            <include>KenBurns</include>
            <fadetime>400</fadetime>
            <aspectratio>scale</aspectratio>
            <texture background="true">$INFO[MusicPlayer.Property(Fanart_Image)]</texture>
            <animation effect="fade" start="0" end="100" time="250">Visible</animation>
            <animation effect="fade" start="100" end="0" time="250">Hidden</animation>
        </control>
        <control type="visualisation">
            <visible>[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))] + [!Skin.HasSetting(Show_Player)|window.isactive(visualisation)]</visible>
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1080</height>
        </control>
        <control type="videowindow">
            <visible>Player.HasVideo + !Skin.HasSetting(Show_Player) + !Window.IsVisible(script-Actors-DialogVideoInfo.xml)</visible>
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1080</height>
        </control>
    </include>
    <include name="HiddenButton">
        <posx>-30</posx>
        <posy>-30</posy>
        <width>1</width>
        <height>1</height>
        <label>-</label>
        <texturenofocus>-</texturenofocus>
        <texturefocus>-</texturefocus>
    </include>
    <include name="DimBG">
        <control type="image">
            <posx>-1920</posx>
            <posy>-1080</posy>
            <width>5760</width>
            <height>3240</height>
            <colordiffuse>b0ffffff</colordiffuse>
            <texture>special://skin/backgrounds/default/$VAR[Theme.Color].png</texture>
        </control>
    </include>
    <include name="Dimensions_Fullscreen">
        <posx>0</posx>
        <posy>0</posy>
        <width>1920</width>
        <height>1080</height>
    </include>
    <include name="FakeTopbarButton">
        <width>10</width>
        <height>50</height>
        <texturenofocus>-</texturenofocus>
        <texturefocus>-</texturefocus>
    </include>
    <include name="TopBarButton">
        <animation type="Focus" reversible="false">
            <effect type="zoom" start="100" end="116" time="100" center="auto"/>
            <effect type="zoom" start="100" end="86.206896551724" time="50" delay="100" center="auto"/>
            <effect type="fade" start="10" end="100" time="100"/>
        </animation>
        <width>50</width>
        <height>50</height>
        <label>-</label>
        <font>-</font>
    </include>
    <include name="TopBar">
        <control type="image">
            <visible>!control.IsVisible(495678)</visible>
            <visible>!control.IsVisible(53)</visible>
            <include>TopBarVisibleFadeEffect</include>
            <posx>-200</posx>
            <posy>0</posy>
            <width>2320</width>
            <height>183</height>
            <texture border="150,40,150,40">$VAR[Theme.Color]/common/bg_dialog.png</texture>
        </control>
        <control type="button" id="8998">
            <description>Fake button for mouse control</description>
            <visible>!control.IsVisible(53)</visible>
            <posx>395</posx>
            <posy>0</posy>
            <width>1130</width>
            <height>183</height>
            <label>-</label>
            <font>-</font>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
            <visible>true</visible>
        </control>
        <control type="button" id="8997">
            <description>Fake button for mouse control</description>
            <visible>!control.IsVisible(53)</visible>
            <posx>395</posx>
            <posy>0</posy>
            <width>1130</width>
            <height>66</height>
            <label>-</label>
            <font>-</font>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
            <visible>true</visible>
        </control>
        <control type="grouplist" id="9900">
            <include>TopBarVisibleFadeEffect</include>
            <include>ConditionWhite</include>
            <visible>!control.IsVisible(53)</visible>
            <posx>395</posx>
            <posy>66</posy>
            <width>1130</width>
            <height>50</height>
            <itemgap>0</itemgap>
            <orientation>horizontal</orientation>
            <onleft>9900</onleft>
            <onright>9900</onright>
            <onup>9000</onup>
            <ondown condition="Window.IsActive(DialogMediaSource.xml)|Window.IsActive(FileBrowser.xml)">9001</ondown>
            <ondown condition="Window.IsActive(Home.xml)">701</ondown>
            <ondown condition="Window.IsActive(DialogContentSettings.xml)">21</ondown>
            <ondown condition="Window.IsActive(SettingsCategory.xml)">3</ondown>
            <ondown condition="Window.IsActive(DialogAddonSettings.xml)">9</ondown>
            <ondown condition="Window.IsActive(script-XBMC_Lyrics-main.xml)">110</ondown>
            <ondown>9000</ondown>
            <align>center</align>
            <control type="button" id="1600">
                <width>55</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_back_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_back_nofocus.png</texturenofocus>
                <onclick>back</onclick>
            </control>
            <control type="button" id="1602">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_home_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_home_nofocus.png</texturenofocus>
                <onclick>ActivateWindow(home)</onclick>
            </control>
            <control type="button" id="1604">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_skipback_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_skipback_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Previous)</onclick>
            </control>
            <control type="button" id="1606">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_rewind_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_rewind_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Rewind)</onclick>
            </control>
            <control type="togglebutton" id="1608">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_pause_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_pause_nofocus.png</texturenofocus>
                <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
                <alttexturefocus>white/topbar/large_topbar_play_focus.png</alttexturefocus>
                <alttexturenofocus>white/topbar/large_topbar_play_nofocus.png</alttexturenofocus>
                <onclick>PlayerControl(Play)</onclick>
            </control>
            <control type="button" id="1610">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_stop_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_stop_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Stop)</onclick>
            </control>
            <control type="button" id="1612">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_fastforward_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_fastforward_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Forward)</onclick>
            </control>
            <control type="button" id="1614">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_skipforward_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_skipforward_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Next)</onclick>
            </control>
            <control type="button" id="1616">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_volume_mute_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_volume_mute_nofocus.png</texturenofocus>
                <onclick>Mute</onclick>
            </control>
            <control type="button" id="1618">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_volume_down_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_volume_down_nofocus.png</texturenofocus>
                <onclick>VolumeDown</onclick>
            </control>
            <control type="button" id="1620">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_volume_up_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_volume_up_nofocus.png</texturenofocus>
                <onclick>VolumeUp</onclick>
            </control>
            <control type="button" id="1622">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_fullscreen_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_fullscreen_nofocus.png</texturenofocus>
                <onclick>fullscreen</onclick>
            </control>
            <control type="button" id="1624">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_settings_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_settings_nofocus.png</texturenofocus>
                <onclick>ActivateWindow(Settings,return)</onclick>
            </control>
            <control type="button" id="1626">
                <width>55</width>
                <include>TopBarButton</include>
                <texturefocus>white/topbar/large_topbar_shutdown_focus.png</texturefocus>
                <texturenofocus>white/topbar/large_topbar_shutdown_nofocus.png</texturenofocus>
                <onclick>ActivateWindow(shutdownmenu)</onclick>
            </control>
        </control>
        <control type="grouplist" id="9900">
            <include>TopBarVisibleFadeEffect</include>
            <include>ConditionBlack</include>
            <visible>!control.IsVisible(53)</visible>
            <posx>395</posx>
            <posy>66</posy>
            <width>1130</width>
            <height>50</height>
            <itemgap>0</itemgap>
            <orientation>horizontal</orientation>
            <onleft>9900</onleft>
            <onright>9900</onright>
            <onup>9000</onup>
            <ondown condition="Window.IsActive(DialogMediaSource.xml)|Window.IsActive(FileBrowser.xml)">9001</ondown>
            <ondown condition="Window.IsActive(Home.xml)">701</ondown>
            <ondown condition="Window.IsActive(DialogContentSettings.xml)">21</ondown>
            <ondown condition="Window.IsActive(SettingsCategory.xml)">3</ondown>
            <ondown condition="Window.IsActive(DialogAddonSettings.xml)">9</ondown>
            <ondown condition="Window.IsActive(script-XBMC_Lyrics-main.xml)">110</ondown>
            <ondown>9000</ondown>
            <align>center</align>
            <control type="button" id="1600">
                <width>55</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_back_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_back_nofocus.png</texturenofocus>
                <onclick>back</onclick>
            </control>
            <control type="button" id="1602">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_home_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_home_nofocus.png</texturenofocus>
                <onclick>ActivateWindow(home)</onclick>
            </control>
            <control type="button" id="1604">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_skipback_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_skipback_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Previous)</onclick>
            </control>
            <control type="button" id="1606">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_rewind_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_rewind_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Rewind)</onclick>
            </control>
            <control type="togglebutton" id="1608">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_pause_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_pause_nofocus.png</texturenofocus>
                <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
                <alttexturefocus>black/topbar/large_topbar_play_focus.png</alttexturefocus>
                <alttexturenofocus>black/topbar/large_topbar_play_nofocus.png</alttexturenofocus>
                <onclick>PlayerControl(Play)</onclick>
            </control>
            <control type="button" id="1610">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_stop_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_stop_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Stop)</onclick>
            </control>
            <control type="button" id="1612">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_fastforward_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_fastforward_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Forward)</onclick>
            </control>
            <control type="button" id="1614">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_skipforward_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_skipforward_nofocus.png</texturenofocus>
                <onclick>PlayerControl(Next)</onclick>
            </control>
            <control type="button" id="1616">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_volume_mute_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_volume_mute_nofocus.png</texturenofocus>
                <onclick>Mute</onclick>
            </control>
            <control type="button" id="1618">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_volume_down_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_volume_down_nofocus.png</texturenofocus>
                <onclick>VolumeDown</onclick>
            </control>
            <control type="button" id="1620">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_volume_up_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_volume_up_nofocus.png</texturenofocus>
                <onclick>VolumeUp</onclick>
            </control>
            <control type="button" id="1622">
                <width>85</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_fullscreen_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_fullscreen_nofocus.png</texturenofocus>
                <onclick>fullscreen</onclick>
            </control>
            <control type="button" id="1624">
                <width>60</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_settings_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_settings_nofocus.png</texturenofocus>
                <onclick>ActivateWindow(Settings,return)</onclick>
            </control>
            <control type="button" id="1626">
                <width>55</width>
                <include>TopBarButton</include>
                <texturefocus>black/topbar/large_topbar_shutdown_focus.png</texturefocus>
                <texturenofocus>black/topbar/large_topbar_shutdown_nofocus.png</texturenofocus>
                <onclick>ActivateWindow(shutdownmenu)</onclick>
            </control>
        </control>
        <control type="button" id="8997">
            <description>Fake button for mouse control</description>
            <visible>!control.IsVisible(53)</visible>
            <posx>395</posx>
            <posy>116</posy>
            <width>1130</width>
            <height>65</height>
            <label>-</label>
            <font>-</font>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
            <visible>true</visible>
        </control>
    </include>
    <include name="OverlayFull">
        <control type="group">
            <visible>![Control.HasFocus(505050)]</visible>
            <include>Overlay_Fade</include>
            <control type="image">
                <visible>![
                    [Window.isVisible(MyWeather.xml)+Skin.String(WeatherView,fanart)]|
                    [!Window.isVisible(MyWeather.xml)+control.isvisible(54)]
                    ]+!Window.Isvisible(MusicVisualisation.xml)</visible>
                <include>Overlay_Fade</include>
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <colordiffuse>$VAR[OverlayTransparency]</colordiffuse>
                <texture>special://skin/backgrounds/default/$VAR[Theme.Color].png</texture>
            </control>
            <control type="image">
                <visible>[Window.Isvisible(MusicVisualisation.xml)+!Window.Isvisible(script-cu-lrclyrics-main.xml)+!Skin.HasSetting(DisableOverlayMusicPlaying)]|Window.Isvisible(script-cu-lrclyrics-main.xml)</visible>
                <include>Overlay_Fade</include>
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <colordiffuse>$VAR[OverlayTransparency]</colordiffuse>
                <texture>special://skin/backgrounds/default/$VAR[Theme.Color].png</texture>
            </control>
            <control type="group">
                <include>OpenClose</include>
                <visible>[[Window.isVisible(MyWeather.xml)+Skin.String(WeatherView,fanart)]|[!Window.isVisible(MyWeather.xml)+control.isvisible(54)]]</visible>
                <!--<animation effect="fade" time="250" start="0" end="100">Visible</animation>-->
                <!--<animation effect="fade" time="250" start="100" end="0">Hidden</animation>-->
                <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="660,0" condition="control.isvisible(9000)+[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)|Control.HasFocus(9060)]">Conditional</animation>
                <control type="image">
                    <posx>-1920</posx>
                    <posy>0</posy>
                    <width>1920</width>
                    <height>1080</height>
                    <colordiffuse>$VAR[OverlayTransparency]</colordiffuse>
                    <texture>special://skin/backgrounds/default/$VAR[Theme.Color].png</texture>
                </control>
                <control type="image">
                    <visible>control.isvisible(9000)+[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)|Control.HasFocus(9060)]</visible>
                    <animation effect="fade" time="250" start="0" end="100">Visible</animation>
                    <animation effect="fade" time="250" start="100" end="0">Hidden</animation>
                    <posx>-1955</posx>
                    <posy>-35</posy>
                    <width>1990</width>
                    <height>1150</height>
                    <texture border="35">$VAR[Theme.Color]/common/JewelCase2.png</texture>
                </control>
            </control>
        </control>
        <include>FacadeFadeDialogs1stLevelCondition</include>
    </include>
    <include name="FacadeFadeDialogs1stLevelCondition">
        <!--DUMMY FOR DIALOG ANIMATIONS-->
        <control type="image" id="123001">
            <visible>![
                Window.IsVisible(DialogVideoInfo.xml)|
                Window.IsVisible(DialogAddonSettings.xml)|
                Window.IsVisible(DialogAddonInfo.xml)|
                Window.IsVisible(DialogKeyboard.xml)|
                Window.IsVisible(DialogOK.xml)|
                Window.IsVisible(DialogNumeric.xml)|
                Window.IsVisible(DialogPictureInfo.xml)|
                Window.IsVisible(DialogMediaFilter.xml)|
                Window.IsVisible(DialogMediaSource.xml)|
                Window.IsVisible(DialogNetworkSetup.xml)|
                Window.IsVisible(DialogAlbumInfo.xml)|
                Window.IsVisible(DialogSelect.xml)|
                Window.IsVisible(DialogContextMenu.xml)|
                Window.IsVisible(DialogSongInfo.xml)|
                Window.IsVisible(DialogButtonMenu.xml)|
                Window.IsVisible(DialogYesNo.xml)|
                Window.IsVisible(DialogAudioDSPManager.xml)|
                Window.IsVisible(DialogPVRInfo.xml)|
                Window.IsVisible(DialogPVRGuideSearch.xml)|
                Window.IsVisible(DialogPVRTimerSettings.xml)|
                Window.IsVisible(DialogPVRGroupManager.xml)|
                Window.IsVisible(DialogPVRChannelManager.xml)|
                Window.IsVisible(DialogRecordSettings.xml)|
                Window.IsVisible(DialogPeripheralManager.xml)|
                Window.IsVisible(DialogPeripheralSettings.xml)|
                Window.IsVisible(DialogAccessPoints.xml)|
                Window.IsVisible(DialogFileStacking.xml)|
                Window.IsVisible(DialogContentSettings.xml)|
                Window.IsVisible(DialogTextViewer.xml)|
                Window.IsVisible(DialogProgress.xml)|
                Window.IsVisible(DialogGamepad.xml)|
                Window.IsVisible(SmartPlaylistRule.xml)|
                Window.IsVisible(DeleteTimer.xml)|
                Window.IsVisible(LockSettings.xml)|
                Window.IsVisible(FileBrowser.xml)|
                Window.IsVisible(RecordPrefs.xml)|
                Window.IsVisible(ProfileSettings.xml)|
                Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml)|
                Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml)|
                Window.IsVisible(script-ExtendedInfo Script-SlideShow.xml)|
                Window.IsVisible(script-globalsearch-contextmenu.xml)|
                Window.IsVisible(script-globalsearch-infodialog.xml)|
                Window.IsVisible(script-globalsearch-main.xml)|
                Window.IsVisible(script-RSS_Editor-rssEditor.xml)|
                Window.IsVisible(script-RSS_Editor-setEditor.xml)|
                Window.IsVisible(script-videoextras-context.xml)|
                Window.IsVisible(script-videoextras-resume.xml)
                ]</visible>
            <posx>-30</posx>
            <posy>-30</posy>
            <width>1</width>
            <height>1</height>
            <texture>-</texture>
        </control>
    </include>
    <include name="FacadeFadeDialogs2ndLevelCondition">
        <visible>![
            Window.IsVisible(DialogButtonMenu.xml)|
            Window.IsVisible(DialogKeyboard.xml)|
            Window.IsVisible(DialogNumeric.xml)|
            Window.IsVisible(DialogOk.xml)|
            Window.IsVisible(DialogFileStacking.xml)|
            Window.IsVisible(DialogContextMenu.xml)|
            Window.IsVisible(DialogYesNo.xml)|
            Window.IsVisible(DialogSelect.xml)|
            Window.IsVisible(FileBrowser.xml)|
            Window.IsVisible(DialogTextViewer.xml)|
            Window.IsVisible(DialogProgress.xml)|
            Window.IsVisible(DialogGamepad.xml)|
            Window.IsVisible(script-globalsearch-contextmenu.xml)|
            Window.IsVisible(script-globalsearch-infodialog.xml)
            ]</visible>
    </include>
    <include name="FacadeFadeDialogs3rdLevelCondition">
        <visible>![
            Window.IsVisible(DialogButtonMenu.xml)
            ]</visible>
    </include>
    <include name="Time">
        <control type="group">
            <control type="label">
                <visible>![control.hasfocus(505050)|control.hasfocus(53)|[control.isvisible(53)+[control.hasfocus(60)|ControlGroup(9900).HasFocus()|Control.HasFocus(8998)|Control.HasFocus(8997)]]]</visible>
                <include>OpenClose</include>
                <include>VisibleFadeEffect</include>
                <posx>TextMarginR</posx>
                <posy>48</posy>
                <width>500</width>
                <align>right</align>
                <aligny>top</aligny>
                <font>WindowTitleFont</font>
                <include>TextColor_AlternateColor</include>
                <label>$INFO[System.Time]</label>
            </control>
            <control type="label">
                <visible>![control.hasfocus(505050)|control.hasfocus(53)|[control.isvisible(53)+[control.hasfocus(60)|ControlGroup(9900).HasFocus()|Control.HasFocus(8998)|Control.HasFocus(8997)]]]</visible>
                <include>OpenClose</include>
                <include>VisibleFadeEffect</include>
                <posx>TextMarginR</posx>
                <posy>105</posy>
                <width>500</width>
                <align>right</align>
                <aligny>top</aligny>
                <font>WindowTitleSubFont</font>
                <include>TextColor_AlternateColor</include>
                <label>$INFO[System.Date]</label>
            </control>
            <control type="image">
                <include>OpenClose</include>
                <posx>1881</posx>
                <posy>-25</posy>
                <width>64</width>
                <height>64</height>
                <texture>$VAR[Theme.Color]/OverlayTopRecording.png</texture>
                <visible>PVR.IsRecording</visible>
                <animation effect="fade" start="65" time="3000" condition="true" pulse="true">Conditional</animation>
            </control>
            <control type="button" id="505050">
                <visible>!window.isactive(home)+!Skin.HasSetting(DisableFanart)</visible>
                <posx>1920</posx>
                <posy>0</posy>
                <width>100</width>
                <height>100</height>
                <texturefocus>-</texturefocus>
                <texturenofocus>-</texturenofocus>
                <onleft condition="Control.isvisible(500)">500</onleft>
                <onleft condition="Window.IsActive(EventLog.xml)">570</onleft>
                <onright condition="!window.isactive(MyWeather.xml)">50</onright>
                <onleft condition="!window.isactive(MyWeather.xml)">50</onleft>
                <onup condition="!window.isactive(MyWeather.xml)">50</onup>
                <ondown condition="!window.isactive(MyWeather.xml)">50</ondown>
                <onright condition="window.isactive(MyWeather.xml)">49</onright>
                <onleft condition="window.isactive(MyWeather.xml)">49</onleft>
                <onup condition="window.isactive(MyWeather.xml)">49</onup>
                <ondown condition="window.isactive(MyWeather.xml)">49</ondown>
                <!-- <onclick>SendClick(10025,50)</onclick> -->
                <onclick condition="!window.isactive(MyWeather.xml)">Control.SetFocus(50)</onclick>
                <onclick condition="window.isactive(MyWeather.xml)">Control.SetFocus(49)</onclick>
                <!-- <onup>Control.Move(50,-1)</onup>
                <ondown>Control.Move(50,1)</ondown> -->
            </control>
            <control type="group">
                <include condition="Skin.HasSetting(plexbmc)">PlexbmcFixTrick</include>
                <control type="group">
                    <control type="progress">
                        <visible>[[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))]|Player.HasVideo]</visible>
                        <include>ConditionWhite</include>
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1920</width>
                        <height>14</height>
                        <texturebg border="1,1,1,1">white/OSD/osd_progress_background.png</texturebg>
                        <midtexture border="1,1,5,1">white/OSD/osd_progress_mid.png</midtexture>
                        <righttexture>-</righttexture>
                        <lefttexture>-</lefttexture>
                        <info>Player.Progress</info>
                    </control>
                    <control type="progress">
                        <visible>[[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))]|Player.HasVideo]</visible>
                        <include>ConditionBlack</include>
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>1920</width>
                        <height>14</height>
                        <texturebg border="1,1,1,1">black/OSD/osd_progress_background.png</texturebg>
                        <midtexture border="1,1,5,1">black/OSD/osd_progress_mid.png</midtexture>
                        <righttexture>-</righttexture>
                        <lefttexture>-</lefttexture>
                        <info>Player.Progress</info>
                    </control>
                    <control type="image" id="495678">
                        <visible>[[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))]|Player.HasVideo]</visible>
                        <include>NowPlayingVisibleFadeEffect</include>
                        <posx>-200</posx>
                        <posy>0</posy>
                        <width>2320</width>
                        <height>183</height>
                        <texture border="150,40,150,40">$VAR[Theme.Color]/common/bg_dialog.png</texture>
                    </control>
                    <control type="group">
                        <visible>[[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))]|Player.HasVideo] + ![ControlGroup(9900).HasFocus()|Control.HasFocus(8998)|Control.HasFocus(8997)]</visible>
                        <include>NowPlayingVisibleFadeEffect</include>
                        <control type="label">
                            <animation effect="slide" tween="circle" easing="in" time="150" start="0,0" end="0,22" condition="![Player.Caching | Player.Seeking | player.forwarding | player.rewinding | Player.DisplayAfterSeek | Player.Paused | Player.ChapterCount]">Conditional</animation>
                            <visible>Player.hasvideo + VideoPlayer.Content(livetv)</visible>
                            <posx>250</posx>
                            <posy>55</posy>
                            <height>30</height>
                            <width>1420</width>
                            <align>center</align>
                            <font>NotificationFontDouble</font>
                            <include>TextColor_MainColor</include>
                            <label>$INFO[VideoPlayer.ChannelNumber,, - ]$INFO[VideoPlayer.ChannelName]$INFO[VideoPlayer.Title, - ]</label>
                        </control>
                        <control type="label">
                            <animation effect="slide" tween="circle" easing="in" time="150" start="0,0" end="0,22" condition="![Player.Caching | Player.Seeking | player.forwarding | player.rewinding | Player.DisplayAfterSeek | Player.Paused | Player.ChapterCount]">Conditional</animation>
                            <visible>Player.hasvideo + !VideoPlayer.Content(livetv)</visible>
                            <posx>250</posx>
                            <posy>55</posy>
                            <height>30</height>
                            <width>1420</width>
                            <align>center</align>
                            <font>NotificationFontDouble</font>
                            <include>TextColor_MainColor</include>
                            <label>$INFO[MusicPlayer.Title]$INFO[VideoPlayer.TVShowTitle]$INFO[VideoPlayer.Artist,, - ]$INFO[VideoPlayer.Album,, - ]$INFO[VideoPlayer.Season, - $LOCALIZE[31973],.]$INFO[VideoPlayer.Episode,, - ]$INFO[VideoPlayer.Title]</label>
                        </control>
                        <control type="label">
                            <animation effect="slide" tween="circle" easing="in" time="150" start="0,0" end="0,22" condition="![Player.Caching | Player.Seeking | player.forwarding | player.rewinding | Player.DisplayAfterSeek | Player.Paused | Player.ChapterCount]">Conditional</animation>
                            <visible>[Player.HasAudio + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))]</visible>
                            <posx>250</posx>
                            <posy>55</posy>
                            <height>30</height>
                            <width>1420</width>
                            <align>center</align>
                            <font>NotificationFontDouble</font>
                            <include>TextColor_MainColor</include>
                            <label>$INFO[MusicPlayer.Artist,, - ]$INFO[MusicPlayer.Title]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>55</posy>
                            <height>30</height>
                            <width>300</width>
                            <align>left</align>
                            <font>NotificationFontDouble</font>
                            <label>$INFO[Player.Time]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>95</posy>
                            <height>41</height>
                            <width>300</width>
                            <align>left</align>
                            <font>NotificationFont</font>
                            <include>TextColor_AlternateColor</include>
                            <label>$INFO[System.Time]</label>
                        </control>
                        <control type="label">
                            <posx>TextMarginR</posx>
                            <posy>55</posy>
                            <height>30</height>
                            <width>300</width>
                            <align>right</align>
                            <font>NotificationFontDouble</font>
                            <label>$INFO[Player.TimeRemaining]</label>
                        </control>
                        <control type="label">
                            <visible>![!VideoPlayer.HasEpg+VideoPlayer.Content(livetv)]</visible>
                            <posx>TextMarginR</posx>
                            <posy>95</posy>
                            <height>41</height>
                            <width>300</width>
                            <align>right</align>
                            <font>NotificationFont</font>
                            <include>TextColor_AlternateColor</include>
                            <label>$INFO[Player.FinishTime]</label>
                        </control>
                        <include>SeekBar</include>
                    </control>
                </control>
                <include>TopBar</include>
            </control>
        </control>
    </include>
    <include name="SeekBar">
        <control type="label">
            <visible>![Player.Caching | Player.Seeking | player.forwarding | player.rewinding | Player.DisplayAfterSeek] + [Player.Paused]</visible>
            <include>SeekbarLabels</include>
            <label>$LOCALIZE[112]</label>
        </control>
        <control type="label" id="24">
            <visible>[Player.Paused + Player.Caching] + !Player.Seeking</visible>
            <include>SeekbarLabels</include>
            <label>$INFO[Player.CacheLevel,$LOCALIZE[15107] ,%]</label>
        </control>
        <control type="label">
            <visible>player.forwarding2x | player.rewinding2x</visible>
            <include>SeekbarLabels</include>
            <label>2 X</label>
        </control>
        <control type="label">
            <visible>player.forwarding4x | player.rewinding4x</visible>
            <include>SeekbarLabels</include>
            <label>4 X</label>
        </control>
        <control type="label">
            <visible>player.forwarding8x | player.rewinding8x</visible>
            <include>SeekbarLabels</include>
            <label>8 X</label>
        </control>
        <control type="label">
            <visible>player.forwarding16x | player.rewinding16x</visible>
            <include>SeekbarLabels</include>
            <label>16 X</label>
        </control>
        <control type="label">
            <visible>player.forwarding32x | player.rewinding32x</visible>
            <include>SeekbarLabels</include>
            <label>32 X</label>
        </control>
        <control type="label">
            <include>SeekbarLabels</include>
            <label>$VAR[SeekLabel]</label>
        </control>
        <control type="label">
            <visible>Player.ChapterCount + ![Player.Caching | Player.Seeking | player.forwarding | player.rewinding | Player.DisplayAfterSeek | Player.Paused]</visible>
            <include>SeekbarLabels</include>
            <label>$VAR[ChapterLabel]</label>
        </control>
        <control type="image">
            <visible>player.rewinding</visible>
            <posx>850</posx>
            <posy>91</posy>
            <width>50</width>
            <height>50</height>
            <texture>$VAR[Theme.Color]/topbar/topbar_rewind_nofocus.png</texture>
        </control>
        <control type="image">
            <visible>player.forwarding</visible>
            <posx>1020</posx>
            <posy>91</posy>
            <width>50</width>
            <height>50</height>
            <texture>$VAR[Theme.Color]/topbar/topbar_fastforward_nofocus.png</texture>
        </control>
    </include>
    <include name="SeekbarLabels">
        <posx>250</posx>
        <posy>95</posy>
        <height>41</height>
        <width>1420</width>
        <align>center</align>
        <include>TextColor_AlternateColor</include>
        <font>NotificationFont</font>
        <animation effect="fade" time="250">Visible</animation>
    </include>
    <include name="PosterThumbBig">
        <texture background="true">$VAR[ThumbsBig]</texture>
        <aspectratio scalediffuse="false">keep</aspectratio>
    </include>
    <include name="SquareThumbBig">
        <texture background="true">$VAR[ThumbsBig]</texture>
        <aspectratio scalediffuse="false">keep</aspectratio>
    </include>
    <include name="EpisodeThumbBig">
        <texture background="true">$VAR[ThumbsBig]</texture>
        <aspectratio scalediffuse="false">keep</aspectratio>
    </include>
    <include name="9000GrouplistParameters">
        <control type="button" id="2">
            <include>LeftMenuButton</include>
        </control>
        <control type="radiobutton" id="9156">
            <visible>Control.IsVisible(53) + [Container.Content(TVShows)|Container.Content(movies)|Container.Content(sets)|Container.Content(seasons)]</visible>
            <font>LeftMenuSubButtonFont</font>
            <textwidth>450</textwidth>
            <include>LeftMenuButton</include>
            <onclick>Skin.ToggleSetting(53_UseBanners)</onclick>
            <selected>Skin.HasSetting(53_UseBanners)</selected>
            <label>$LOCALIZE[31992]</label>
        </control>
        <control type="radiobutton" id="9157">
            <visible>Control.IsVisible(53)+!Skin.HasSetting(53_UseBanners)+!Container.Content(episodes)</visible>
            <font>LeftMenuSubButtonFont</font>
            <textwidth>450</textwidth>
            <include>LeftMenuButton</include>
            <onclick>Skin.ToggleSetting(53_BigGrid)</onclick>
            <selected>Skin.HasSetting(53_BigGrid)</selected>
            <label>$LOCALIZE[538]</label>
        </control>
        <control type="radiobutton" id="9158">
            <visible>Control.IsVisible(52)</visible>
            <font>LeftMenuSubButtonFont</font>
            <textwidth>450</textwidth>
            <include>LeftMenuButton</include>
            <onclick>Skin.ToggleSetting(52_ShowPlot)</onclick>
            <selected>Skin.HasSetting(52_ShowPlot)</selected>
            <label>$LOCALIZE[31968]</label>
        </control>
        <control type="label" id="9181">
            <include>LeftMenuTitleLabel</include>
            <include>LeftMenuButton</include>
            <label>$LOCALIZE[581]</label>
        </control>
    </include>
    <include name="KeyboardButtons">
        <include>ButtonFocusAnimation</include>
        <align>center</align>
        <aligny>center</aligny>
        <textoffsetx>0</textoffsetx>
        <width>82</width>
        <height>78</height>
        <font>ButtonFont</font>
        <include>FocusedColor_MainColor</include>
        <include>TextureFocus</include>
        <texturenofocus>-</texturenofocus>
        <include>AltTextureFocus</include>
        <alttexturenofocus>-</alttexturenofocus>
    </include>
    <include name="List_9009_Commons">
        <posx>500</posx>
        <posy>318</posy>
        <width>1420</width>
        <height>546</height>
        <onleft>9000</onleft>
        <onright>60</onright>
        <onup>9000</onup>
        <ondown>9000</ondown>
        <pagecontrol>60</pagecontrol>
        <itemlayout height="78" width="1420">
            <control type="label">
                <include>ConditionWhite</include>
                <posx>TextMargin</posx>
                <posy>0</posy>
                <height>78</height>
                <width>1300</width>
                <font>FacadeListMainFont</font>
                <include>TextColor_MainColor</include>
                <label>[COLOR=AlternateColor_white]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
            </control>
            <control type="label">
                <include>ConditionBlack</include>
                <posx>TextMargin</posx>
                <posy>0</posy>
                <height>78</height>
                <width>1300</width>
                <font>FacadeListMainFont</font>
                <include>TextColor_MainColor</include>
                <label>[COLOR=AlternateColor_black]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
            </control>
        </itemlayout>
        <focusedlayout height="78" width="1420">
            <control type="group">
                <include>ButtonWideFocusAnimation</include>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <height>78</height>
                    <width>1420</width>
                    <texture border="1">$VAR[Theme.Color]/list/bg_facade_focus.png</texture>
                </control>
                <control type="label">
                    <include>ConditionWhite</include>
                    <posx>TextMargin</posx>
                    <posy>0</posy>
                    <height>78</height>
                    <width>1300</width>
                    <font>FacadeListMainFont</font>
                    <include>TextColor_MainColor</include>
                    <label>[COLOR=AlternateColor_white]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
                </control>
                <control type="label">
                    <include>ConditionBlack</include>
                    <posx>TextMargin</posx>
                    <posy>0</posy>
                    <height>78</height>
                    <width>1300</width>
                    <font>FacadeListMainFont</font>
                    <include>TextColor_MainColor</include>
                    <label>[COLOR=AlternateColor_black]$INFO[ListItem.Label,, ][/COLOR]$INFO[ListItem.Label2]</label>
                </control>
            </control>
        </focusedlayout>
    </include>
    <include name="Fanart_Art_Extra">
        <control type="multiimage">
            <include>KenBurns</include>
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1080</height>
            <timeperimage>9000</timeperimage>
            <randomize>true</randomize>
            <fadetime>400</fadetime>
            <aspectratio aligny="top">scale</aspectratio>
            <imagepath background="true">$INFO[ListItem.Path]extrafanart/</imagepath>
        </control>
    </include>
    <include name="Fanart_Art">
        <!-- <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1080</height>
            <texture>$VAR[Theme.Color]/common/WhiteDot.png</texture>
        </control> -->
        <control type="multiimage">
            <!-- <include>OpenClose</include> -->
            <include>KenBurns</include>
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>1080</height>
            <timeperimage>9000</timeperimage>
            <randomize>true</randomize>
            <fadetime>400</fadetime>
            <aspectratio aligny="top">scale</aspectratio>
            <imagepath background="true">$VAR[Fanart.Art]</imagepath>
        </control>
        <include condition="!Skin.HasSetting(DisableFanart)+Skin.HasSetting(EnableExtraFanart)">Fanart_Art_Extra</include>
    </include>
    <constant name="TextMargin">60</constant>
    <constant name="TextMarginR">60r</constant>
    <include name="WindowTitle">
        <visible>![control.hasfocus(505050)|control.hasfocus(53)|[control.isvisible(53)+[control.hasfocus(60)|ControlGroup(9900).HasFocus()|Control.HasFocus(8998)|Control.HasFocus(8997)]]]</visible>
        <posx>TextMargin</posx>
        <posy>48</posy>
        <width>1200</width>
        <aligny>top</aligny>
        <font>WindowTitleFont</font>
        <include>TextColor_AlternateColor</include>
    </include>
    <include name="WindowTitleSub">
        <visible>![control.hasfocus(505050)|control.hasfocus(53)|[control.isvisible(53)+[control.hasfocus(60)|ControlGroup(9900).HasFocus()|Control.HasFocus(8998)|Control.HasFocus(8997)]]]</visible>
        <posx>TextMargin</posx>
        <posy>105</posy>
        <width>1200</width>
        <aligny>top</aligny>
        <font>WindowTitleSubFont</font>
        <include>TextColor_AlternateColor</include>
    </include>
    <include name="LeftMenu">
        <animation effect="slide" tween="circle" easing="out" time="250" start="0,0" end="660,0" condition="control.isvisible(9000)+[ControlGroup(9000).HasFocus()|Control.HasFocus(8999)|Control.HasFocus(9060)]">Conditional</animation>
        <!-- <animation effect="slide" time="150" end="-660,0">WindowClose</animation> -->
        <include>OpenClose</include>
        <control type="image">
            <posx>-660</posx>
            <posy>142</posy>
            <width>660</width>
            <height>892</height>
            <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
        </control>
        <control type="button" id="8999">
            <description>Fake button for mouse control</description>
            <posx>-660</posx>
            <posy>142</posy>
            <width>700</width>
            <height>892</height>
            <label>-</label>
            <font>-</font>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
            <visible>true</visible>
            <onfocus>SetFocus(9000)</onfocus>
        </control>
    </include>
    <include name="LeftMenuScroller">
        <control type="scrollbar" id="9060">
            <posx>-680</posx>
            <posy>183</posy>
            <height>810</height>
            <include>VerticalScroller</include>
            <onright condition="Window.IsActive(DialogMediaSource.xml)|Window.IsActive(FileBrowser.xml)">9001</onright>
            <onright condition="Window.IsActive(DialogContentSettings.xml)">4</onright>
            <onright condition="Window.IsActive(SettingsCategory.xml)">3</onright>
            <onright condition="Window.IsActive(DialogAddonSettings.xml)">9</onright>
            <onright condition="Window.IsActive(script-skinshortcuts.xml)">9000</onright>
            <onright condition="Window.IsActive(SkinSettings.xml)">90000</onright>
            <onright>9000</onright>
        </control>
    </include>
    <include name="LeftMenuTitleLabel">
        <textoffsetx>TextMargin</textoffsetx>
        <textoffsety>45</textoffsety>
        <align>left</align>
        <aligny>top</aligny>
        <width>590</width>
        <height>78</height>
        <font>LeftMenuTitleFont</font>
        <include>TextColor_MidColor</include>
    </include>
    <include name="LeftMenuButtonGroup">
        <posx>-660</posx>
        <posy>183</posy>
        <width>660</width>
        <height>780</height>
        <itemgap>0</itemgap>
        <orientation>vertical</orientation>
        <pagecontrol>9060</pagecontrol>
        <onleft>9060</onleft>
        <onup>9900</onup>
    </include>
    <include name="LeftMenuButton">
        <include>ButtonFocusAnimation</include>
        <height>78</height>
        <width>660</width>
        <font>LeftMenuButtonFont</font>
        <align>left</align>
        <radioposx>546</radioposx>
        <textoffsetx>TextMargin</textoffsetx>
        <include>TextureFocus</include>
        <include>AltTextureFocus</include>
    </include>
    <include name="LeftMenuButtonWide">
        <include>ButtonWideFocusAnimation</include>
        <height>78</height>
        <width>1920</width>
        <font>LeftMenuButtonFont</font>
        <align>left</align>
        <radioposx>546</radioposx>
        <textoffsetx>TextMargin</textoffsetx>
        <include>TextureFocus</include>
        <include>AltTextureFocus</include>
    </include>
    <include name="VerticalScroller">
        <animation type="Focus" reversible="false">
            <effect type="zoom" start="100,100" end="150,100" time="100" center="auto"/>
            <effect type="zoom" start="100,100" end="66.666666666667,100" time="50" delay="100" center="auto"/>
            <effect type="fade" start="10" end="100" time="100"/>
        </animation>
        <include>VerticalTextureSliderBackground</include>
        <include>VerticalTextureSliderBarFocus</include>
        <include>VerticalTextureSliderBarNoFocus</include>
        <textureslidernib>-</textureslidernib>
        <textureslidernibfocus>-</textureslidernibfocus>
        <!-- <showonepage>true</showonepage> -->
        <orientation>vertical</orientation>
        <width>54</width>
    </include>
    <include name="HorizontalScroller">
        <animation type="Focus" reversible="false">
            <effect type="zoom" start="100,100" end="100,150" time="100" center="auto"/>
            <effect type="zoom" start="100,100" end="100,66.666666666667" time="50" delay="100" center="auto"/>
            <effect type="fade" start="10" end="100" time="100"/>
        </animation>
        <include>HorizontalTextureSliderBackground</include>
        <include>HorizontalTextureSliderBarFocus</include>
        <include>HorizontalTextureSliderBarNoFocus</include>
        <textureslidernib>-</textureslidernib>
        <textureslidernibfocus>-</textureslidernibfocus>
        <!-- <showonepage>true</showonepage> -->
        <orientation>horizontal</orientation>
        <height>54</height>
    </include>
    <include name="myautoscroll">
        <autoscroll delay="5000" time="2500" repeat="10000">true</autoscroll>
    </include>
    <include name="rssTicker">
        <control type="group">
            <visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
            <control type="rss">
                <include>RssVisibleFadeEffect</include>
                <visible>[control.isvisible(300)|control.isvisible(50)|control.isvisible(52)|control.isvisible(56)|control.isvisible(5050)|window.isvisible(DialogFavourites.xml)]+![control.hasfocus(505050)|control.isvisible(10)]</visible>
                <animation effect="slide" time="0" start="0,0" end="0,-15" condition="!window.isvisible(home)+control.isvisible(5050)">Conditional</animation>
                <animation effect="slide" time="0" start="0,0" end="0,-10" condition="!window.isvisible(home)+[control.isvisible(50)|control.isvisible(52)|control.isvisible(56)|window.isvisible(DialogFavourites.xml)]">Conditional</animation>
                <posx>0</posx>
                <posy>1033</posy>
                <width>1920</width>
                <height>40</height>
                <font>rss</font>
                <urlset>1</urlset>
                <font>WindowTitleSubFont</font>
                <include>TitleColor_MainColor</include>
                <include>HeadLineColor_AlternateColor</include>
                <include>TextColor_AlternateColor</include>
            </control>
        </control>
    </include>
    <include name="SkinSettingsButton">
        <width>297</width>
        <height>90</height>
        <radioposx>215</radioposx>
        <align>center</align>
        <aligny>center</aligny>
        <font>SmallButtonFont</font>
        <textoffsetx>0</textoffsetx>
        <include>TextColor_AlternateColor</include>
        <include>FocusedColor_MainColor</include>
        <include>SelectedColor_SelectedColor</include>
        <include>DisabledColor_DisabledColor</include>
        <include>TextureFocus</include>
        <texturenofocus>-</texturenofocus>
        <pulseonselect>false</pulseonselect>
    </include>
    <include name="SkinSettings_DefaultLayout">
        <itemlayout width="1920" height="78">
            <control type="label">
                <visible>!StringCompare(ListItem.Label,)</visible>
                <posx>TextMargin</posx>
                <height>78</height>
                <width>900</width>
                <font>FacadeListMainFont</font>
                <include>TextColor_AlternateColor</include>
                <label>$INFO[ListItem.Label]</label>
            </control>
            <control type="label">
                <posx>960r</posx>
                <visible>!StringCompare(ListItem.Label,)</visible>
                <height>78</height>
                <width>900</width>
                <align>right</align>
                <font>FacadeListMainFont</font>
                <include>TextColor_MainColor</include>
                <label>$INFO[ListItem.Label2]</label>
            </control>
            <control type="image">
                <visible>StringCompare(ListItem.Label,)+!StringCompare(ListItem.Label2,$LOCALIZE[128])</visible>
                <posx>0</posx>
                <posy>19</posy>
                <height>1</height>
                <width>1920</width>
                <texture border="150,0,150,0">$VAR[Theme.Color]/list/bg_facade_separator.png</texture>
            </control>
            <control type="label">
                <visible>StringCompare(ListItem.Label,)</visible>
                <posx>TextMargin</posx>
                <posy>19</posy>
                <height>78</height>
                <width>900</width>
                <font>LeftMenuTitleFont</font>
                <include>TextColor_AlternateColor</include>
                <label>$INFO[ListItem.Label2]</label>
            </control>
        </itemlayout>
        <focusedlayout width="1920" height="78">
            <control type="group">
                <include>ButtonWideFocusAnimation</include>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <height>78</height>
                    <width>1920</width>
                    <texture border="1">$VAR[Theme.Color]/list/bg_facade_focus.png</texture>
                </control>
                <control type="label">
                    <visible>!StringCompare(ListItem.Label,)</visible>
                    <posx>TextMargin</posx>
                    <height>78</height>
                    <width>900</width>
                    <scroll>true</scroll>
                    <font>FacadeListMainFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$INFO[ListItem.Label]</label>
                </control>
                <control type="label">
                    <posx>960r</posx>
                    <visible>!StringCompare(ListItem.Label,)</visible>
                    <height>78</height>
                    <width>900</width>
                    <scroll>true</scroll>
                    <align>right</align>
                    <font>FacadeListMainFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$INFO[ListItem.Label2]</label>
                </control>
                <control type="image">
                    <visible>StringCompare(ListItem.Label,)+!StringCompare(ListItem.Label2,$LOCALIZE[128])</visible>
                    <posx>0</posx>
                    <posy>19</posy>
                    <height>1</height>
                    <width>1920</width>
                    <texture border="150,0,150,0">$VAR[Theme.Color]/list/bg_facade_separator.png</texture>
                </control>
                <control type="label">
                    <visible>StringCompare(ListItem.Label,)</visible>
                    <posx>TextMargin</posx>
                    <posy>19</posy>
                    <height>78</height>
                    <width>900</width>
                    <scroll>true</scroll>
                    <font>LeftMenuTitleFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$INFO[ListItem.Label2]</label>
                </control>
            </control>
        </focusedlayout>
    </include>
    <include name="CoverWrapSquareBounds">
        <control type="image">
            <posx>550</posx>
            <posy>142</posy>
            <width>1370</width>
            <height>3892</height>
            <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>-858</posy>
            <width>1920</width>
            <height>1892</height>
            <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
        </control>
    </include>
    <include name="CoverWrapPosterBounds">
        <control type="image">
            <posx>550</posx>
            <posy>142</posy>
            <width>1370</width>
            <height>892</height>
            <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
        </control>
    </include>
    <include name="TVNextAiredListCommonLayout">
        <posx>0</posx>
        <width>1455</width>
        <height>66</height>
        <scrolltime>200</scrolltime>
        <orientation>horizontal</orientation>
        <onleft>9000</onleft>
        <itemlayout height="66" width="970">
            <control type="label">
                <posx>25</posx>
                <height>66</height>
                <width>920</width>
                <font>TvGuideChannelFont</font>
                <include>TextColor_AlternateColor</include>
                <label>$INFO[ListItem.Label]$INFO[ListItem.Property(ShortTime),  -  ]$INFO[ListItem.Property(Network),  -  ]</label>
            </control>
        </itemlayout>
        <focusedlayout height="66" width="970">
            <control type="group">
                <include>ButtonFocusAnimation</include>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>970</width>
                    <height>66</height>
                    <bordersize>0</bordersize>
                    <texture border="1">$VAR[Theme.Color]/list/bg_facade_focus.png</texture>
                </control>
                <control type="label">
                    <posx>25</posx>
                    <height>66</height>
                    <width>920</width>
                    <font>TvGuideChannelFont</font>
                    <include>TextColor_MainColor</include>
                    <label>$INFO[ListItem.Label]$INFO[ListItem.Property(ShortTime),  -  ]$INFO[ListItem.Property(Network),  -  ]</label>
                </control>
            </control>
        </focusedlayout>
    </include>
    <include name="OSDInfoPanel">
        <control type="group">
            <include>FacadeFadeDialogs2ndLevelCondition</include>
            <include>Icon_Fade</include>
            <control type="group">
                <include>OpenClose</include>
                <posy>-56</posy>
                <!--<control type="button" id="9001">-->
                <!--<include>ConditionWhite</include>-->
                <!--<posx>1887</posx>-->
                <!--<posy>609</posy>-->
                <!--<height>33</height>-->
                <!--<width>33</width>-->
                <!--<colordiffuse>90ffffff</colordiffuse>-->
                <!--<texturenofocus>white/topbar/topbar_exit_nofocus.png</texturenofocus>-->
                <!--<texturefocus>white/topbar/topbar_exit_focus.png</texturefocus>-->
                <!--<onleft>Dialog.Close(10142)</onleft>-->
                <!--<onright>Dialog.Close(10142)</onright>-->
                <!--<onup>Dialog.Close(10142)</onup>-->
                <!--<ondown>Dialog.Close(10142)</ondown>-->
                <!--<onback>Dialog.Close(10142)</onback>-->
                <!--<onclick>Dialog.Close(10142)</onclick>-->
                <!--<label>-</label>-->
                <!--<onfocus>noop</onfocus>-->
                <!--</control>-->
                <!--<control type="button" id="9001">-->
                <!--<include>ConditionBlack</include>-->
                <!--<posx>1887</posx>-->
                <!--<posy>609</posy>-->
                <!--<height>33</height>-->
                <!--<width>33</width>-->
                <!--<colordiffuse>90ffffff</colordiffuse>-->
                <!--<texturenofocus>black/topbar/topbar_exit_nofocus.png</texturenofocus>-->
                <!--<texturefocus>black/topbar/topbar_exit_focus.png</texturefocus>-->
                <!--<onleft>Dialog.Close(10142)</onleft>-->
                <!--<onright>Dialog.Close(10142)</onright>-->
                <!--<onup>Dialog.Close(10142)</onup>-->
                <!--<ondown>Dialog.Close(10142)</ondown>-->
                <!--<onback>Dialog.Close(10142)</onback>-->
                <!--<onclick>Dialog.Close(10142)</onclick>-->
                <!--<label>-</label>-->
                <!--<onfocus>noop</onfocus>-->
                <!--</control>-->
                <control type="group">
                    <!-- CLEAR ART / LOGO -->
                    <control type="image">
                        <visible>Skin.HasSetting(EnableClearArt)</visible>
                        <animation type="Conditional" pulse="true" reversible="false" condition="Skin.HasSetting(EnableClearLogo)+
                    [!IsEmpty(Player.Art(clearlogo))|!IsEmpty(Player.Art(tvshow.clearlogo))]+
                    [!IsEmpty(Player.Art(clearart))|!IsEmpty(Player.Art(tvshow.clearart))]">
                            <effect type="slide" start="0,0" end="0,0" time="1500" delay="3500"/>
                            <effect type="fade" start="100" end="0" time="500" delay="3000"/>
                        </animation>
                        <posx>1560</posx>
                        <posy>407</posy>
                        <width>300</width>
                        <height>235</height>
                        <aspectratio align="right" aligny="bottom">keep</aspectratio>
                        <texture background="true">$VAR[VideoPlayerClearArt]</texture>
                    </control>
                    <control type="image">
                        <visible>Skin.HasSetting(EnableClearLogo)</visible>
                        <animation type="Conditional" pulse="true" reversible="false" condition="Skin.HasSetting(EnableClearArt)+
                    [!IsEmpty(Player.Art(clearlogo))|!IsEmpty(Player.Art(tvshow.clearlogo))]+
                    [!IsEmpty(Player.Art(clearart))|!IsEmpty(Player.Art(tvshow.clearart))]">
                            <effect type="slide" start="0,0" end="0,0" time="1500" delay="3500"/>
                            <effect type="fade" start="0" end="100" time="500" delay="3000"/>
                        </animation>
                        <posx>1560</posx>
                        <posy>407</posy>
                        <width>300</width>
                        <height>235</height>
                        <aspectratio align="right" aligny="bottom">keep</aspectratio>
                        <texture background="true">$VAR[VideoPlayerClearLogo]</texture>
                    </control>
                </control>
                <control type="image">
                    <posx>-200</posx>
                    <posy>609</posy>
                    <width>2320</width>
                    <height>471</height>
                    <include>DialogTransparency</include>
                    <texture border="150,40,150,40">$VAR[Theme.Color]/common/bg_dialog.png</texture>
                </control>
                <control type="group">
                    <posy>642</posy>
                    <control type="group">
                        <!-- CDART -->
                        <visible>!Skin.HasSetting(plexbmc)</visible>
                        <visible>Skin.HasSetting(EnableCdArt)+!IsEmpty(VideoPlayer.Cover)</visible>
                        <control type="image">
                            <posx>122</posx>
                            <posy>-70</posy>
                            <width>211</width>
                            <height>211</height>
                            <texture background="true" diffuse="white/common/cdart_diffuse.png">$INFO[Player.Art(discart)]</texture>
                            <aspectratio align="center" aligny="center">keep</aspectratio>
                            <include>Animation_ViewsCDart</include>
                        </control>
                    </control>
                    <control type="group">
                        <control type="image">
                            <include>ConditionWhite</include>
                            <posx>25</posx>
                            <posy>0</posy>
                            <width>405</width>
                            <height>405</height>
                            <texture background="true" fallback="white/defaultVideoBig.png">$INFO[VideoPlayer.Cover]</texture>
                            <include>ThumbBorder</include>
                            <aspectratio>keep</aspectratio>
                        </control>
                        <control type="image">
                            <include>ConditionBlack</include>
                            <posx>25</posx>
                            <posy>0</posy>
                            <width>405</width>
                            <height>405</height>
                            <texture background="true" fallback="black/defaultVideoBig.png">$INFO[VideoPlayer.Cover]</texture>
                            <include>ThumbBorder</include>
                            <aspectratio>keep</aspectratio>
                        </control>
                    </control>
                    <control type="label">
                        <visible>VideoPlayer.Content(livetv)</visible>
                        <posx>455</posx>
                        <posy>25</posy>
                        <width>1405</width>
                        <aligny>top</aligny>
                        <font>InfoTitleFont</font>
                        <include>TextColor_MainColor</include>
                        <label>$INFO[VideoPlayer.ChannelNumber,, - ]$INFO[VideoPlayer.ChannelName]$INFO[VideoPlayer.Title, - ]</label>
                    </control>
                    <control type="label">
                        <visible>!VideoPlayer.Content(livetv)</visible>
                        <posx>455</posx>
                        <posy>25</posy>
                        <width>1405</width>
                        <aligny>top</aligny>
                        <font>InfoTitleFont</font>
                        <include>TextColor_MainColor</include>
                        <label>$INFO[VideoPlayer.Artist,, - ]$INFO[VideoPlayer.Album,, - ]$INFO[VideoPlayer.Season,$LOCALIZE[31973],.]$INFO[VideoPlayer.Episode,, - ]$INFO[VideoPlayer.Title]</label>
                    </control>
                    <control type="image">
                        <description>Default Seperator</description>
                        <posx>355</posx>
                        <posy>96</posy>
                        <width>1575</width>
                        <height>1</height>
                        <texture border="150,0,150,0">$VAR[Theme.Color]/list/bg_facade_separator.png</texture>
                    </control>
                    <control type="group">
                        <posx>395</posx>
                        <posy>35</posy>
                        <control type="group">
                            <visible>!VideoPlayer.Content(LiveTV)</visible>
                            <control type="image">
                                <posx>TextMargin</posx>
                                <posy>85</posy>
                                <height>37</height>
                                <width>185</width>
                                <aspectratio align="left">keep</aspectratio>
                                <texture>$VAR[Theme.Color]/badges/rating.png</texture>
                            </control>
                            <control type="label">
                                <posx>112</posx>
                                <posy>68</posy>
                                <width>460</width>
                                <height>71</height>
                                <font>InfoRatingFont</font>
                                <include>TextColor_MainColor</include>
                                <scroll>false</scroll>
                                <label fallback="416">$INFO[VideoPlayer.RatingAndVotes]</label>
                            </control>
                        </control>
                        <control type="label">
                            <visible>VideoPlayer.Content(LiveTV)+VideoPlayer.HasEpg</visible>
                            <posx>TextMargin</posx>
                            <posy>65</posy>
                            <width>672</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$INFO[VideoPlayer.StartTime,, / ]$INFO[VideoPlayer.EndTime]</label>
                        </control>
                        <control type="label">
                            <visible>![VideoPlayer.Content(LiveTV)+!VideoPlayer.HasEpg]</visible>
                            <posx>TextMargin</posx>
                            <posy>135</posy>
                            <width>672</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$INFO[VideoPlayer.Year,,     ]$INFO[VideoPlayer.Duration,, $LOCALIZE[31297]     ]$INFO[VideoPlayer.MPAA]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>205</posy>
                            <width>672</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$INFO[VideoPlayer.Genre]$INFO[VideoPlayer.Season,$LOCALIZE[31973],.]$INFO[VideoPlayer.Episode,,     ]$INFO[VideoPlayer.TVShowTitle]</label>
                        </control>
                        <control type="grouplist">
                            <animation type="Conditional" pulse="true" reversible="false" condition="[!IsEmpty(VideoPlayer.AudioLanguage)+!StringCompare(VideoPlayer.AudioLanguage,und)]
                        |[!IsEmpty(VideoPlayer.SubtitlesLanguage)+!StringCompare(VideoPlayer.SubtitlesLanguage,und)]">
                                <include>PulseBasicVisible</include>
                            </animation>
                            <visible>!IsEmpty(VideoPlayer.VideoResolution)</visible>
                            <posx>40</posx>
                            <posy>285</posy>
                            <width>1006</width>
                            <height>408</height>
                            <itemgap>-3</itemgap>
                            <orientation>horizontal</orientation>
                            <align>left</align>
                            <aligny>center</aligny>
                            <include>CodecsVideoOSD</include>
                        </control>
                        <control type="grouplist">
                            <animation type="Conditional" pulse="true" reversible="false" condition="[!IsEmpty(VideoPlayer.AudioLanguage)+!StringCompare(VideoPlayer.AudioLanguage,und)]
                        |[!IsEmpty(VideoPlayer.SubtitlesLanguage)+!StringCompare(VideoPlayer.SubtitlesLanguage,und)]">
                                <include>PulseBasicHidden</include>
                            </animation>
                            <posx>50</posx>
                            <posy>285</posy>
                            <width>1006</width>
                            <height>408</height>
                            <itemgap>0</itemgap>
                            <orientation>horizontal</orientation>
                            <align>left</align>
                            <aligny>center</aligny>
                            <include>CodecsVideoOSD2</include>
                        </control>
                        <control type="textbox">
                            <posx>772</posx>
                            <posy>80</posy>
                            <width>672</width>
                            <height>250</height>
                            <font>InfoPlotFont</font>
                            <include>TextColor_MainColor</include>
                            <label>$INFO[VideoPlayer.Plot]</label>
                            <include>myautoscroll</include>
                        </control>
                    </control>
                </control>
            </control>
        </control>
    </include>
    <include name="DialogTransparency">
        <colordiffuse>ddffffff</colordiffuse>
    </include>
    <include name="ScrollOffsetLabel">
        <!--<visible>Container.Scrolling</visible>-->
        <visible>Skin.HasSetting(ScrollOffsetLabelEnabled)</visible>
        <visible>Container.Scrolling + [StringCompare(Container.SortMethod,$LOCALIZE[551]) | StringCompare(Container.SortMethod,$LOCALIZE[561]) | StringCompare(Container.SortMethod,$LOCALIZE[558]) | StringCompare(Container.SortMethod,$LOCALIZE[557]) | StringCompare(Container.SortMethod,$LOCALIZE[556])]</visible>
        <include>ScrollOffsetLabelVisibleFadeEffect</include>
        <control type="image">
            <posx>0</posx>
            <posy>10</posy>
            <width>300</width>
            <height>163</height>
            <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>10</posy>
            <width>300</width>
            <height>163</height>
            <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
        </control>
        <control type="label">
            <left>0</left>
            <top>0</top>
            <width>300</width>
            <height>183</height>
            <align>center</align>
            <aligny>center</aligny>
            <label>$INFO[ListItem.SortLetter]</label>
            <include>TextColor_AlternateColor</include>
            <font>WindowTitleFont</font>
        </control>
    </include>
    <include name="TextboxAlignment">
        <align>justify</align>
    </include>
</includes>
