<?xml version="1.0" encoding="utf-8"?>
<includes>
    <include name="5050_RecOverlayFocus">
        <control type="image">
            <posx>1819</posx>
            <posy>218</posy>
            <width>50</width>
            <height>76</height>
            <texture>$VAR[Theme.Color]/OverlayRecording.png</texture>
            <aspectratio>keep</aspectratio>
            <visible>ListItem.IsRecording</visible>
        </control>
        <control type="image">
            <posx>1819</posx>
            <posy>218</posy>
            <width>50</width>
            <height>76</height>
            <texture>$VAR[Theme.Color]/OverlayTimer.png</texture>
            <aspectratio>keep</aspectratio>
            <visible>ListItem.HasTimer</visible>
        </control>
    </include>
    <include name="CardList_Layout">
        <itemlayout height="1080" width="1920">
            <control type="group">
                <posy>-83</posy>
                <control type="image">
                    <visible>StringCompare(ListItem.Label,..)</visible>
                    <posx>735</posx>
                    <posy>315</posy>
                    <width>450</width>
                    <height>450</height>
                    <include>SquareThumb</include>
                </control>
                <control type="group">
                    <visible>!StringCompare(ListItem.Label,..)</visible>
                    <control type="image">
                        <visible>[IsEmpty(ListItem.thumb)|IsEmpty(ListItem.Art(thumb))]</visible>
                        <posx>60</posx>
                        <posy>183</posy>
                        <width>450</width>
                        <height>450</height>
                        <aspectratio>keep</aspectratio>
                        <include>SquareThumb</include>
                    </control>
                    <control type="group">
                        <!-- CDART VIDEO -->
                        <visible>!Skin.HasSetting(plexbmc)</visible>
                        <visible>!StringCompare(ListItem.Label,..)</visible>
                        <visible>!IsEmpty(ListItem.Art(discart))+Skin.HasSetting(EnableCdArt)+!IsEmpty(ListItem.Thumb)+[Container.content(movies)|Container.content(MusicVideos)]</visible>
                        <control type="image">
                            <posx>73</posx>
                            <posy>639</posy>
                            <width>424</width>
                            <height>424</height>
                            <texture background="true" diffuse="white/common/cdart_diffuse.png">$INFO[ListItem.Art(discart)]</texture>
                            <aspectratio align="center" aligny="center">keep</aspectratio>
                            <include>Animation_ViewsCDart</include>
                        </control>
                    </control>
                    <control type="group">
                        <!-- CDART AUDIO -->
                        <visible>!Skin.HasSetting(plexbmc)</visible>
                        <visible>!StringCompare(ListItem.Label,..)</visible>
                        <visible>Skin.HasSetting(EnableCdArt)+!IsEmpty(ListItem.Thumb)+[[[Container.content(albums)|Container.content(songs)]+Window.IsActive(MyMusicNav.xml)]|[Window.IsActive(MyMusicSongs.xml)+!Skin.HasSetting(plexbmc)]]</visible>
                        <control type="image">
                            <posx>73</posx>
                            <posy>456</posy>
                            <width>424</width>
                            <height>424</height>
                            <texture background="true" diffuse="white/common/cdart_diffuse.png">$VAR[Cd.Art]</texture>
                            <aspectratio align="center" aligny="center">keep</aspectratio>
                            <include>Animation_ViewsCDart</include>
                        </control>
                    </control>
                    <control type="image">
                        <posx>25</posx>
                        <posy>183</posy>
                        <width>520</width>
                        <height>703</height>
                        <aspectratio aligny="top">keep</aspectratio>
                        <include>PosterThumbBig</include>
                        <include>ThumbBorder</include>
                    </control>
                    <control type="progress">
                        <visible>Window.isActive(MyPVRChannels.xml)</visible>
                        <include>ConditionWhite</include>
                        <posx>TextMargin</posx>
                        <posy>686</posy>
                        <height>54</height>
                        <width>450</width>
                        <texturebg border="14,20,14,20">white/buttons/Scrollbar_Horizontal_bg.png</texturebg>
                        <!-- <reveal>true</reveal> -->
                        <lefttexture>-</lefttexture>
                        <midtexture border="14,20,14,20">white/buttons/Scrollbar_Horizontal_Focus.png</midtexture>
                        <righttexture>-</righttexture>
                        <overlaytexture>-</overlaytexture>
                        <info>ListItem.Progress</info>
                    </control>
                    <control type="progress">
                        <visible>Window.isActive(MyPVRChannels.xml)</visible>
                        <include>ConditionBlack</include>
                        <posx>TextMargin</posx>
                        <posy>686</posy>
                        <height>54</height>
                        <width>450</width>
                        <texturebg border="14,20,14,20">black/buttons/Scrollbar_Horizontal_bg.png</texturebg>
                        <!-- <reveal>true</reveal> -->
                        <lefttexture>-</lefttexture>
                        <midtexture border="14,20,14,20">black/buttons/Scrollbar_Horizontal_Focus.png</midtexture>
                        <righttexture>-</righttexture>
                        <overlaytexture>-</overlaytexture>
                        <info>ListItem.Progress</info>
                    </control>
                    <control type="image">
                        <!--<visible>![Container.Content(TVShows) | Container.Content(Seasons)]</visible>-->
                        <posx>545</posx>
                        <posy>228</posy>
                        <width>30</width>
                        <height>60</height>
                        <texture>$VAR[Overlay]</texture>
                        <aspectratio aligny="center">keep</aspectratio>
                    </control>
                    <control type="label">
                        <posx>590</posx>
                        <posy>228</posy>
                        <width>1270</width>
                        <aligny>top</aligny>
                        <font>InfoTitleFont</font>
                        <include>TextColor_MainColor</include>
                        <scroll>false</scroll>
                        <label>$VAR[DetailsTitle]</label>
                    </control>
                    <include>5050_RecOverlayFocus</include>
                    <control type="image">
                        <description>Default Seperator</description>
                        <posx>490</posx>
                        <posy>304</posy>
                        <width>1440</width>
                        <height>1</height>
                        <texture border="150,0,150,0">$VAR[Theme.Color]/list/bg_facade_separator.png</texture>
                    </control>
                    <control type="group">
                        <posx>530</posx>
                        <posy>248</posy>
                        <control type="group">
                            <visible>IntegerGreaterThan(ListItem.Rating,0)|[Container.Content(songs)+!StringCompare(ListItem.Label,..)+!Skin.HasSetting(plexbmc)]</visible>
                            <visible>!Container.Content(Addons)</visible>
                            <control type="image">
                                <posx>TextMargin</posx>
                                <posy>85</posy>
                                <include>Stars</include>
                            </control>
                            <control type="label">
                                <posx>260</posx>
                                <posy>68</posy>
                                <width>460</width>
                                <height>71</height>
                                <font>InfoRatingFont</font>
                                <include>TextColor_MainColor</include>
                                <scroll>false</scroll>
                                <label>$INFO[ListItem.RatingAndVotes]</label>
                            </control>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>65</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow1]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>138</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow2]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>211</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow3]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>284</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow4]</label>
                        </control>
                        <control type="group">
                            <visible>[Container.content(MusicVideos)|Container.Content(movies)|container.content(tvshows)|Container.Content(episodes)|Container.Content(seasons)]</visible>
                            <control type="textbox">
                                <posx>TextMargin</posx>
                                <posy>370</posy>
                                <width>1270</width>
                                <height>250</height>
                                <font>InfoPlotFont</font>
                                <include>TextColor_MainColor</include>
                                <label>$VAR[Plots]</label>
                                <include>myautoscroll</include>
                            </control>
                            <control type="group">
                                <visible>!IsEmpty(ListItem.VideoResolution)</visible>
                                <posx>36</posx>
                                <posy>645</posy>
                                <include>CodecsCard</include>
                            </control>
                        </control>
                        <control type="group">
                            <visible>![Container.content(MusicVideos)|Container.Content(movies)|container.content(tvshows)|Container.Content(episodes)|Container.Content(seasons)]</visible>
                            <control type="textbox">
                                <visible>![Skin.HasSetting(plexbmc)+Container.Content(Artists)]</visible>
                                <posx>TextMargin</posx>
                                <posy>370</posy>
                                <width>1270</width>
                                <height>333</height>
                                <font>InfoPlotFont</font>
                                <include>TextColor_MainColor</include>
                                <label>$VAR[Plots]</label>
                                <include>myautoscroll</include>
                            </control>
                            <control type="textbox">
                                <visible>[Skin.HasSetting(plexbmc)+Container.Content(Artists)]</visible>
                                <posx>TextMargin</posx>
                                <posy>85</posy>
                                <width>1270</width>
                                <height>620</height>
                                <font>InfoPlotFont</font>
                                <include>TextColor_MainColor</include>
                                <label>$VAR[Plots]</label>
                                <include>myautoscroll</include>
                            </control>
                        </control>
                    </control>
                </control>
            </control>
        </itemlayout>
        <focusedlayout height="1080" width="1920">
            <control type="group">
                <posy>-83</posy>
                <include>ListFocusAnimation</include>
                <control type="image">
                    <visible>StringCompare(ListItem.Label,..)</visible>
                    <posx>735</posx>
                    <posy>315</posy>
                    <width>450</width>
                    <height>450</height>
                    <include>SquareThumb</include>
                </control>
                <control type="group">
                    <visible>!StringCompare(ListItem.Label,..)</visible>
                    <control type="image">
                        <visible>[IsEmpty(ListItem.thumb)|IsEmpty(ListItem.Art(thumb))]</visible>
                        <posx>60</posx>
                        <posy>183</posy>
                        <width>450</width>
                        <height>450</height>
                        <aspectratio>keep</aspectratio>
                        <include>SquareThumb</include>
                    </control>
                    <control type="group">
                        <!-- CDART VIDEO -->
                        <visible>!Skin.HasSetting(plexbmc)</visible>
                        <visible>!StringCompare(ListItem.Label,..)</visible>
                        <visible>!IsEmpty(ListItem.Art(discart))+Skin.HasSetting(EnableCdArt)+!IsEmpty(ListItem.Thumb)+[Container.content(movies)|Container.content(MusicVideos)]</visible>
                        <control type="image">
                            <posx>73</posx>
                            <posy>639</posy>
                            <width>424</width>
                            <height>424</height>
                            <texture background="true" diffuse="white/common/cdart_diffuse.png">$INFO[ListItem.Art(discart)]</texture>
                            <aspectratio align="center" aligny="center">keep</aspectratio>
                            <include>Animation_ViewsCDart</include>
                        </control>
                    </control>
                    <control type="group">
                        <!-- CDART AUDIO -->
                        <visible>!Skin.HasSetting(plexbmc)</visible>
                        <visible>!StringCompare(ListItem.Label,..)</visible>
                        <visible>Skin.HasSetting(EnableCdArt)+!IsEmpty(ListItem.Thumb)+[[[Container.content(albums)|Container.content(songs)]+Window.IsActive(MyMusicNav.xml)]|[Window.IsActive(MyMusicSongs.xml)+!Skin.HasSetting(plexbmc)]]</visible>
                        <control type="image">
                            <posx>73</posx>
                            <posy>456</posy>
                            <width>424</width>
                            <height>424</height>
                            <texture background="true" diffuse="white/common/cdart_diffuse.png">$VAR[Cd.Art]</texture>
                            <aspectratio align="center" aligny="center">keep</aspectratio>
                            <include>Animation_ViewsCDart</include>
                        </control>
                    </control>
                    <control type="image">
                        <posx>25</posx>
                        <posy>183</posy>
                        <width>520</width>
                        <height>703</height>
                        <aspectratio aligny="top">keep</aspectratio>
                        <include>PosterThumbBig</include>
                        <include>ThumbBorder</include>
                    </control>
                    <control type="progress">
                        <visible>Window.isActive(MyPVRChannels.xml)</visible>
                        <include>ConditionWhite</include>
                        <posx>TextMargin</posx>
                        <posy>686</posy>
                        <height>54</height>
                        <width>450</width>
                        <texturebg border="14,20,14,20">white/buttons/Scrollbar_Horizontal_bg.png</texturebg>
                        <!-- <reveal>true</reveal> -->
                        <lefttexture>-</lefttexture>
                        <midtexture border="14,20,14,20">white/buttons/Scrollbar_Horizontal_Focus.png</midtexture>
                        <righttexture>-</righttexture>
                        <overlaytexture>-</overlaytexture>
                        <info>ListItem.Progress</info>
                    </control>
                    <control type="progress">
                        <visible>Window.isActive(MyPVRChannels.xml)</visible>
                        <include>ConditionBlack</include>
                        <posx>TextMargin</posx>
                        <posy>686</posy>
                        <height>54</height>
                        <width>450</width>
                        <texturebg border="14,20,14,20">black/buttons/Scrollbar_Horizontal_bg.png</texturebg>
                        <!-- <reveal>true</reveal> -->
                        <lefttexture>-</lefttexture>
                        <midtexture border="14,20,14,20">black/buttons/Scrollbar_Horizontal_Focus.png</midtexture>
                        <righttexture>-</righttexture>
                        <overlaytexture>-</overlaytexture>
                        <info>ListItem.Progress</info>
                    </control>
                    <control type="image">
                        <!--<visible>![Container.Content(TVShows) | Container.Content(Seasons)]</visible>-->
                        <posx>545</posx>
                        <posy>228</posy>
                        <width>30</width>
                        <height>60</height>
                        <texture>$VAR[Overlay]</texture>
                        <aspectratio aligny="center">keep</aspectratio>
                    </control>
                    <control type="label">
                        <posx>590</posx>
                        <posy>228</posy>
                        <width>1210</width>
                        <aligny>top</aligny>
                        <font>InfoTitleFont</font>
                        <include>TextColor_MainColor</include>
                        <scroll>false</scroll>
                        <label>$VAR[DetailsTitle]</label>
                    </control>
                    <include>5050_RecOverlayFocus</include>
                    <control type="image">
                        <description>Default Seperator</description>
                        <posx>490</posx>
                        <posy>304</posy>
                        <width>1440</width>
                        <height>1</height>
                        <texture border="150,0,150,0">$VAR[Theme.Color]/list/bg_facade_separator.png</texture>
                    </control>
                    <control type="group">
                        <posx>530</posx>
                        <posy>248</posy>
                        <control type="group">
                            <visible>IntegerGreaterThan(ListItem.Rating,0)|[Container.Content(songs)+!StringCompare(ListItem.Label,..)+!Skin.HasSetting(plexbmc)]</visible>
                            <visible>!Container.Content(Addons)</visible>
                            <control type="image">
                                <posx>TextMargin</posx>
                                <posy>85</posy>
                                <include>Stars</include>
                            </control>
                            <control type="label">
                                <posx>260</posx>
                                <posy>68</posy>
                                <width>460</width>
                                <height>71</height>
                                <font>InfoRatingFont</font>
                                <include>TextColor_MainColor</include>
                                <scroll>false</scroll>
                                <label>$INFO[ListItem.RatingAndVotes]</label>
                            </control>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>65</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow1]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>138</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow2]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>211</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow3]</label>
                        </control>
                        <control type="label">
                            <posx>TextMargin</posx>
                            <posy>284</posy>
                            <width>1270</width>
                            <height>71</height>
                            <font>InfoDetailsFont</font>
                            <include>TextColor_MainColor</include>
                            <scroll>false</scroll>
                            <label>$VAR[DetailsRow4]</label>
                        </control>
                        <control type="group">
                            <visible>[Container.content(MusicVideos)|Container.Content(movies)|container.content(tvshows)|Container.Content(episodes)|Container.Content(seasons)]</visible>
                            <control type="textbox">
                                <posx>TextMargin</posx>
                                <posy>370</posy>
                                <width>1270</width>
                                <height>250</height>
                                <font>InfoPlotFont</font>
                                <include>TextColor_MainColor</include>
                                <label>$VAR[Plots]</label>
                                <include>myautoscroll</include>
                            </control>
                            <control type="group">
                                <visible>!IsEmpty(ListItem.VideoResolution)</visible>
                                <posx>36</posx>
                                <posy>645</posy>
                                <include>CodecsCard</include>
                            </control>
                        </control>
                        <control type="group">
                            <visible>![Container.content(MusicVideos)|Container.Content(movies)|container.content(tvshows)|Container.Content(episodes)|Container.Content(seasons)]</visible>
                            <control type="textbox">
                                <visible>![Skin.HasSetting(plexbmc)+Container.Content(Artists)]</visible>
                                <posx>TextMargin</posx>
                                <posy>370</posy>
                                <width>1270</width>
                                <height>333</height>
                                <font>InfoPlotFont</font>
                                <include>TextColor_MainColor</include>
                                <label>$VAR[Plots]</label>
                                <include>myautoscroll</include>
                            </control>
                            <control type="textbox">
                                <visible>[Skin.HasSetting(plexbmc)+Container.Content(Artists)]</visible>
                                <posx>TextMargin</posx>
                                <posy>85</posy>
                                <width>1270</width>
                                <height>620</height>
                                <font>InfoPlotFont</font>
                                <include>TextColor_MainColor</include>
                                <label>$VAR[Plots]</label>
                                <include>myautoscroll</include>
                            </control>
                        </control>
                    </control>
                </control>
            </control>
        </focusedlayout>
    </include>
    <include name="View_5050_CardList">
        <control type="group">
            <visible>Control.IsVisible(5050)</visible>
            <include>Icon_Fade</include>
            <include>FacadeFadeDialogs</include>
            <include>ScrollOffsetLabel_50</include>
            <control type="group">
                <!-- CLEAR ART / LOGO -->
                <control type="image">
                    <posx>645r</posx>
                    <posy>34</posy>
                    <width>300</width>
                    <height>149</height>
                    <aspectratio align="right" aligny="bottom">keep</aspectratio>
                    <include>PulseClearArt</include>
                    <texture background="true">$VAR[DefaultClearArt]</texture>
                </control>
                <control type="image">
                    <posx>645r</posx>
                    <posy>34</posy>
                    <width>300</width>
                    <height>149</height>
                    <aspectratio align="right" aligny="bottom">keep</aspectratio>
                    <include>PulseClearLogo</include>
                    <texture background="true">$VAR[DefaultClearLogo]</texture>
                </control>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>142</posy>
                <width>1920</width>
                <height>892</height>
                <texture border="100">$VAR[Theme.Color]/common/bg_list.png</texture>
            </control>
            <control type="group">
                <control type="list" id="5050">
                    <viewtype label="31095">cardlist</viewtype>
                    <posx>0</posx>
                    <posy>83</posy>
                    <width>1920</width>
                    <height>1010</height>
                    <pagecontrol>60</pagecontrol>
                    <onleft>5050</onleft>
                    <onright>5050</onright>
                    <onup>9000</onup>
                    <ondown>60</ondown>
                    <orientation>horizontal</orientation>
                    <focusposition>0</focusposition>
                    <movement>1</movement>
                    <preloaditems>4</preloaditems>
                    <include>CardList_Layout</include>
                </control>
            </control>
            <control type="scrollbar" id="60">
                <posx>0</posx>
                <posy>1046</posy>
                <width>1920</width>
                <include>HorizontalScroller</include>
                <onup>5050</onup>
                <onright>noop</onright>
                <ondown>505050</ondown>
            </control>
            <control type="button">
                <posx>1720</posx>
                <posy>200</posy>
                <width>200</width>
                <height>800</height>
                <texturefocus>-</texturefocus>
                <texturenofocus>-</texturenofocus>
                <onclick>Control.Move(5050,1)</onclick>
                <!--<onfocus>Control.Move(5050,1)</onfocus>-->
            </control>
            <control type="button">
                <posx>0</posx>
                <posy>200</posy>
                <width>200</width>
                <height>800</height>
                <texturefocus>-</texturefocus>
                <texturenofocus>-</texturenofocus>
                <onclick>Control.Move(5050,-1)</onclick>
                <!--<onfocus>Control.Move(5050,-1)</onfocus>-->
            </control>
        </control>
    </include>
</includes>