<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<window>
    <defaultcontrol>152</defaultcontrol>
    <coordinates>
        <system>1</system>
        <posx>0</posx>
        <posy>0</posy>
    </coordinates>
    <backgroundcolor>0xff111111</backgroundcolor>
    <controls>
        <control type="group">
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <texture>script.plex/home/background-fallback.png</texture>
            </control>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <fadetime>1000</fadetime>
                <texture background="true">$INFO[Window.Property(background)]</texture>
            </control>
        </control>

        <control type="group" id="50">
            <posx>0</posx>
            <posy>135</posy>

            <control type="group">
                <posx>60</posx>
                <posy>0</posy>
                <control type="group">
                    <visible>!String.IsEmpty(Window.Property(is.poster))</visible>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>519</width>
                        <height>769</height>
                        <texture>$INFO[Window.Property(thumb.fallback)]</texture>
                        <aspectratio aligny="top">scale</aspectratio>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>519</width>
                        <height>769</height>
                        <texture>$INFO[Window.Property(thumb)]</texture>
                        <aspectratio aligny="top">scale</aspectratio>
                    </control>
                </control>
                <control type="group">
                    <visible>!String.IsEmpty(Window.Property(is.square))</visible>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>519</width>
                        <height>519</height>
                        <texture>$INFO[Window.Property(thumb.fallback)]</texture>
                        <aspectratio aligny="top">keep</aspectratio>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>519</width>
                        <height>519</height>
                        <texture>$INFO[Window.Property(thumb)]</texture>
                        <aspectratio aligny="top">scale</aspectratio>
                    </control>
                </control>
                <control type="group">
                    <visible>!String.IsEmpty(Window.Property(is.16x9))</visible>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>519</width>
                        <height>292</height>
                        <texture>$INFO[Window.Property(thumb.fallback)]</texture>
                        <aspectratio>scale</aspectratio>
                    </control>
                    <control type="image">
                        <posx>0</posx>
                        <posy>0</posy>
                        <width>519</width>
                        <height>292</height>
                        <texture>$INFO[Window.Property(thumb)]</texture>
                        <aspectratio aligny="top">scale</aspectratio>
                    </control>
                </control>
                <control type="label">
                    <posx>579</posx>
                    <posy>5</posy>
                    <width>1190</width>
                    <height>40</height>
                    <font>font16</font>
                    <align>left</align>
                    <aligny>center</aligny>
                    <textcolor>FFFFFFFF</textcolor>
                    <label>$INFO[Window.Property(title.main)]</label>
                </control>
                <control type="label">
                    <posx>579</posx>
                    <posy>55</posy>
                    <width>1190</width>
                    <height>40</height>
                    <font>font13</font>
                    <align>left</align>
                    <aligny>center</aligny>
                    <textcolor>FFDDDDDD</textcolor>
                    <label>$INFO[Window.Property(title.sub)]</label>
                </control>
                <control type="textbox">
                    <posx>579</posx>
                    <posy>157</posy>
                    <pagecontrol>152</pagecontrol>
                    <width>1190</width>
                    <height>718</height>
                    <font>font13</font>
                    <align>left</align>
                    <textcolor>FFDDDDDD</textcolor>
                    <label>$INFO[Window.Property(info)]</label>
                </control>
                <control type="scrollbar" id="152">
                    <hitrect x="1754" y="157" w="126" h="718" />
                    <left>1794</left>
                    <top>157</top>
                    <width>6</width>
                    <height>718</height>
                    <visible>true</visible>
                    <texturesliderbackground colordiffuse="40000000" border="5">script.plex/white-square.png</texturesliderbackground>
                    <texturesliderbar colordiffuse="77FFFFFF" border="5">script.plex/white-square.png</texturesliderbar>
                    <texturesliderbarfocus colordiffuse="FFE5A00D" border="5">script.plex/white-square.png</texturesliderbarfocus>
                    <textureslidernib>-</textureslidernib>
                    <textureslidernibfocus>-</textureslidernibfocus>
                    <pulseonselect>false</pulseonselect>
                    <orientation>vertical</orientation>
                    <showonepage>false</showonepage>
                    <onleft>204</onleft>
                </control>
            </control>
        </control>

        <control type="group" id="200">
            <defaultcontrol always="true">201</defaultcontrol>
            <posx>0</posx>
            <posy>0</posy>
            <width>1920</width>
            <height>135</height>

            <control type="group">
                <visible>Player.HasAudio</visible>
                <posx>438</posx>
                <posy>0</posy>
                <control type="button" id="204">
                    <visible>Player.HasAudio</visible>
                    <posx>-10</posx>
                    <posy>38</posy>
                    <width>260</width>
                    <height>75</height>
                    <ondown>152</ondown>
                    <onright>152</onright>
                    <font>font12</font>
                    <textcolor>FFFFFFFF</textcolor>
                    <focusedcolor>FF000000</focusedcolor>
                    <align>right</align>
                    <aligny>center</aligny>
                    <texturefocus colordiffuse="FFE5A00D" border="10">script.plex/white-square-rounded.png</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <textoffsetx>100</textoffsetx>
                    <textoffsety>0</textoffsety>
                    <label> </label>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>48</posy>
                    <width>42</width>
                    <height>42</height>
                    <texture>$INFO[Player.Art(thumb)]</texture>
                </control>

                <control type="group">
                    <visible>!Control.HasFocus(204)</visible>
                    <control type="label">
                        <posx>53</posx>
                        <posy>48</posy>
                        <width>187</width>
                        <height>20</height>
                        <font>font10</font>
                        <align>left</align>
                        <aligny>center</aligny>
                        <textcolor>FFFFFFFF</textcolor>
                        <info>MusicPlayer.Artist</info>
                    </control>
                    <control type="label">
                        <posx>53</posx>
                        <posy>72</posy>
                        <width>187</width>
                        <height>20</height>
                        <font>font10</font>
                        <align>left</align>
                        <aligny>center</aligny>
                        <textcolor>FFFFFFFF</textcolor>
                        <info>MusicPlayer.Title</info>
                    </control>
                </control>
                <control type="group">
                    <visible>Control.HasFocus(204)</visible>
                    <control type="label">
                        <posx>53</posx>
                        <posy>48</posy>
                        <width>187</width>
                        <height>20</height>
                        <font>font10</font>
                        <align>left</align>
                        <aligny>center</aligny>
                        <textcolor>FF000000</textcolor>
                        <info>MusicPlayer.Artist</info>
                    </control>
                    <control type="label">
                        <posx>53</posx>
                        <posy>72</posy>
                        <width>187</width>
                        <height>20</height>
                        <font>font10</font>
                        <align>left</align>
                        <aligny>center</aligny>
                        <textcolor>FF000000</textcolor>
                        <info>MusicPlayer.Title</info>
                    </control>
                </control>

                <control type="progress">
                    <description>Progressbar</description>
                    <posx>0</posx>
                    <posy>102</posy>
                    <width>240</width>
                    <height>1</height>
                    <texturebg colordiffuse="9AFFFFFF">script.plex/white-square-1px.png</texturebg>
                    <lefttexture>-</lefttexture>
                    <midtexture colordiffuse="FFCC7B19">script.plex/white-square-1px.png</midtexture>
                    <righttexture>-</righttexture>
                    <overlaytexture>-</overlaytexture>
                    <info>Player.Progress</info>
                </control>
            </control>
            <control type="label">
                <right>213</right>
                <posy>35</posy>
                <width>200</width>
                <height>65</height>
                <font>font12</font>
                <align>right</align>
                <aligny>center</aligny>
                <textcolor>FFFFFFFF</textcolor>
                <label>$INFO[System.Time]</label>
            </control>
            <control type="image">
                <posx>153r</posx>
                <posy>54</posy>
                <width>93</width>
                <height>30</height>
                <texture>script.plex/home/plex.png</texture>
            </control>
        </control>

    </controls>
</window>
