<window type="dialog">
    <defaultcontrol>2</defaultcontrol>
    <controls>
        <control type="image">
            <top>0</top>
            <left>0</left>
            <width>1920</width>
            <height>1080</height>
            <texture background="true">$INFO[Window().Property(item.art.fanart)]</texture>
        </control>

        <control type="image">
            <top>0</top>
            <left>0</left>
            <width>1920</width>
            <height>1080</height>
            <texture background="true">white.png</texture>
            <colordiffuse>CC000000</colordiffuse>
        </control>

        <!-- Side Info -->
        <control type="group">
            <top>120</top>
            <left>1400</left>
            <control type="label">
                <top>-10</top>
                <width>400</width>
                <font>font12</font>
                <textcolor>AAFFFFFF</textcolor>
                <align>center</align>
                <aligny>center</aligny>
                <visible>!String.IsEmpty(Window().Property(item.info.season))</visible>
                <label>Season: [COLOR deepskyblue]$INFO[Window().Property(item.info.season)] [/COLOR] | Episode: [COLOR deepskyblue]$INFO[Window().Property(item.info.episode)][/COLOR]</label>
            </control>
            <control type="image">
                <width>400</width>
                <height>600</height>
                <top>50</top>
                <texture background="true">$INFO[Window().Property(item.art.poster)]</texture>
            </control>

            <control type="group">
                <top>420</top>
                <control type="label">
                    <top>250</top>
                    <width>400</width>
                    <font>font14</font>
                    <textcolor>AAFFFFFF</textcolor>
                    <align>center</align>
                    <aligny>center</aligny>
                    <scroll>true</scroll>
                    <scrollspeed>80</scrollspeed>
                    <label>[COLOR deepskyblue]$INFO[Window().Property(item.info.title)] [/COLOR]</label>
                </control>
                <control type="label">
                    <top>320</top>
                    <width>400</width>
                    <font>font12</font>
                    <textcolor>AAFFFFFF</textcolor>
                    <align>center</align>
                    <aligny>center</aligny>
                    <visible>String.IsEmpty(Window().Property(item.info.season))</visible>
                    <label>Year: [COLOR deepskyblue]$INFO[Window().Property(item.info.year)] [/COLOR] | Rating: [COLOR deepskyblue]$INFO[Window().Property(item.info.rating)][/COLOR]</label>
                </control>
                <control type="label">
                    <top>300</top>
                    <width>400</width>
                    <font>font12</font>
                    <textcolor>AAFFFFFF</textcolor>
                    <align>center</align>
                    <aligny>center</aligny>
                    <visible>!String.IsEmpty(Window().Property(item.info.season))</visible>
                    <label>Aired: [COLOR deepskyblue]$INFO[Window().Property(item.info.aired)] [/COLOR]</label>
                </control>

                <control type="textbox">
                    <wrapmultiline>true</wrapmultiline>
                    <top>360</top>
                    <left>-70</left>
                    <height min="20" max="130">auto</height>
                    <width>550</width>
                    <font>font12</font>
                    <textcolor>AAFFFFFF</textcolor>
                    <align>center</align>
                    <autoscroll>true</autoscroll>
                    <label>$INFO[Window().Property(item.info.plot)]</label>
                </control>
            </control>
        </control>

        <!-- Top Logo/picture  -->
        <control type="image" id="1001">
            <top>-935</top>
            <left>500</left>
            <width>300</width>
            <aspectratio>keep</aspectratio>
            <texture background="true">$INFO[Window().Property(item.art.clearlogo)]</texture>
        </control>

        <!-- View Cached/Uncached -->
        <control type="button" id="15">
            <left>80</left>
            <top>85</top>
            <width>250</width>
            <height>50</height>
            <font>font12</font>
            <border>5</border>
            <texturefocus colordiffuse="77d3d3d3">white.png</texturefocus>
            <texturenofocus colordiffuse="AA2e2d32">white.png</texturenofocus>
            <label>View Uncached</label>
            <align>center</align>
            <ondown>1000</ondown>
        </control>

        <!-- Scrollbar  -->
        <control type="scrollbar" id="17">
      	    <left>1250</left>
      	    <top>150</top>
      	    <width>20</width>
      	    <height>838</height>
      	    <visible>true</visible>
      	    <pulseonselect>no</pulseonselect>
      	    <orientation>vertical</orientation>
      	    <showonepage>false</showonepage>
            <onleft>1000</onleft>
            <onup>15</onup>
        </control>

        <!-- Sources List -->
        <control type="list" id="1000">
            <viewtype label="Sources">list</viewtype>
            <left>80</left>
            <top>150</top>
            <width>1170</width>
            <height>920</height>
            <orientation>vertical</orientation>
            <focusposition>1</focusposition>
	        <pagecontrol>17</pagecontrol>
	        <onright>17</onright>
            <onup>15</onup>

            <itemlayout height="120">
                <control type="image">
                    <visible>true</visible>
                    <texture background="true">white.png</texture>
                    <colordiffuse>AA2e2d32</colordiffuse>
                </control>
                    <control type="label">
                        <top>15</top>
                        <left>10</left>
                        <width>1160</width>
                        <height>5</height>
                        <font>font12</font>
                        <textcolor>66FFFFFF</textcolor>
                        <shadowcolor>dimgrey</shadowcolor>
                        <align>left</align>
                        <aligny>center</aligny>
                        <label>[B]$INFO[ListItem.Label][/B]</label>
                    </control>
                    <control type="label">
                        <top>60</top>
                        <left>400</left>
                        <width>450</width>
                        <height>0</height>
                        <font>font10</font>
                        <textcolor>FFFFFFFF</textcolor>
                        <align>left</align>
                        <aligny>center</aligny>
                        <label>Debrid: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(debrid_provider)][/COLOR][/UPPERCASE]</label>
                    </control>
                    <control type="label">
                        <top>90</top>
                        <left>400</left>
                        <width>450</width>
                        <height>0</height>
                        <aligny>center</aligny>
                        <textcolor>FFFFFFFF</textcolor>
                        <font>font10</font>
                        <label>Provider: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(provider)][/COLOR][/UPPERCASE]</label>
                    </control>
                    <control type="label">
                        <top>60</top>
                        <left>10</left>
                        <width>350</width>
                        <height>0</height>
                        <aligny>center</aligny>
                        <textcolor>FFFFFFFF</textcolor>
                        <shadowcolor>dimgrey</shadowcolor>
                        <font>font10</font>
                        <label>Type: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(type)][/COLOR][/UPPERCASE]</label>
                    </control>
                    <control type="label">
                        <top>90</top>
                        <left>10</left>
                        <width>350</width>
                        <height>0</height>
                        <aligny>center</aligny>
                        <textcolor>FFFFFFFF</textcolor>
                        <shadowcolor>dimgrey</shadowcolor>
                        <font>font10</font>
                        <label>Info: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(info)][/COLOR][/UPPERCASE]</label>
                    </control>
                    <control type="label">
                        <top>60</top>
                        <left>750</left>
                        <width>350</width>
                        <height>0</height>
                        <font>font10</font>
                        <textcolor>66FFFFFF</textcolor>
                        <align>left</align>
                        <aligny>center</aligny>
                        <label>Seeders: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(seeders)][/COLOR][/UPPERCASE]</label>
                    </control>
                    <control type="label">
                        <left>750</left>
                        <top>90</top>
                        <width>350</width>
                        <height>0</height>
                        <font>font10</font>
                        <textcolor>66FFFFFF</textcolor>
                        <align>left</align>
                        <aligny>center</aligny>
                        <label>Size: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(size)][/COLOR][/UPPERCASE]</label>
                    </control>

                    <control type="image">
                        <centertop>50%</centertop>
                        <left>1010</left>
                        <width>128.8</width>
                        <height>87.2</height>
                        <texture background="true">quality/qualityeq.png</texture>
                        <visible>String.Contains(ListItem.Property(quality),0)</visible>
                    </control>
                  <control type="image">
                        <centertop>50%</centertop>
                        <left>1010</left>
                        <width>128.8</width>
                        <height>87.2</height>
                        <texture background="true" colordiffuse="yellow">quality/qualitysd480.png</texture>
                        <visible>String.Contains(ListItem.Property(quality),1)</visible>
                    </control>

                    <control type="image">
                        <centertop>50%</centertop>
                        <left>1010</left>
                        <width>128.8</width>
                        <height>87.2</height>
                        <texture background="true" colordiffuse="red">quality/qualityhd720.png</texture>
                        <visible>String.Contains(ListItem.Property(quality),2)</visible>
                    </control>
                    <control type="image">
                        <centertop>50%</centertop>
                        <left>1010</left>
                        <width>128.8</width>
                        <height>87.2</height>
                        <texture background="true" colordiffuse="green">quality/qualityhd1080.png</texture>
                        <visible>String.Contains(ListItem.Property(quality),3)</visible>
                    </control>
                    <control type="image">
                        <centertop>50%</centertop>
                        <left>1010</left>
                        <width>128.8</width>
                        <height>87.2</height>
                        <texture background="true">quality/qualityhd4k.png</texture>
                        <visible>String.Contains(ListItem.Property(quality),4)</visible>
                    </control>
                    <control type="image">
                        <width>100%</width>
                        <height>3</height>
                        <bottom>-1</bottom>
                        <texture colordiffuse="9f000000">white.png</texture>
                     </control>
                </itemlayout>

            <focusedlayout height="120">
                <control type="image">
                    <width>100%</width>
                    <height>97%</height>
                    <texture background="true">white.png</texture>
                    <colordiffuse>77d3d3d3</colordiffuse>
                </control>
                <control type="label">
                    <top>15</top>
                    <left>10</left>
                    <width>1160</width>
                    <height>5</height>
                    <font>font12</font>
                    <textcolor>FFFFFFFF</textcolor>
		            <shadowcolor>dimgrey</shadowcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>[B]$INFO[ListItem.Label][/B]</label>
                    <scroll>true</scroll>
                </control>
                <control type="label">
                    <top>60</top>
                    <left>400</left>
                    <width>450</width>
                    <height>0</height>
                    <font>font10</font>
                    <textcolor>FFFFFFFF</textcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>Debrid: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(debrid_provider)][/COLOR][/UPPERCASE]</label>
                </control>
                <control type="label">
                    <top>90</top>
                    <left>400</left>
                    <width>450</width>
                    <height>0</height>
                    <aligny>center</aligny>
                    <textcolor>FFFFFFFF</textcolor>
                    <font>font10</font>
                    <label>Provider: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(provider)][/COLOR][/UPPERCASE]</label>
                </control>
                <control type="label">
                    <top>60</top>
                    <left>10</left>
                    <width>350</width>
                    <height>0</height>
                    <aligny>center</aligny>
                    <textcolor>FFFFFFFF</textcolor>
		            <shadowcolor>dimgrey</shadowcolor>
                    <font>font10</font>
                    <label>Type: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(type)][/COLOR][/UPPERCASE]</label>
                </control>
                <control type="label">
                    <top>90</top>
                    <left>10</left>
                    <width>350</width>
                    <height>0</height>
                    <aligny>center</aligny>
                    <textcolor>FFFFFFFF</textcolor>
		            <shadowcolor>dimgrey</shadowcolor>
                    <font>font10</font>
                    <label>Info: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(info)][/COLOR][/UPPERCASE]</label>
                </control>
                <control type="label">
                    <top>60</top>
                    <left>750</left>
                    <width>350</width>
                    <height>0</height>
                    <font>font10</font>
                    <textcolor>66FFFFFF</textcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>Seeders: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(seeders)][/COLOR][/UPPERCASE]</label>
                </control>
                <control type="label">
                    <left>750</left>
                    <top>90</top>
                    <width>350</width>
                    <height>0</height>
                    <font>font10</font>
                    <textcolor>66FFFFFF</textcolor>
                    <align>left</align>
                    <aligny>center</aligny>
                    <label>Size: [UPPERCASE][COLOR deepskyblue]$INFO[ListItem.Property(size)][/COLOR][/UPPERCASE]</label>
                </control>

                <control type="image">
                    <centertop>50%</centertop>
                    <left>1010</left>
                    <width>128.8</width>
                    <height>87.2</height>
                    <texture background="true">quality/qualityeq.png</texture>
                    <visible>String.Contains(ListItem.Property(quality),0)</visible>
                </control>
                <control type="image">
                    <centertop>50%</centertop>
                    <left>1010</left>
                    <width>128.8</width>
                    <height>87.2</height>
                    <texture background="true" colordiffuse="yellow">quality/qualitysd480.png</texture>
                    <visible>String.Contains(ListItem.Property(quality),1)</visible>
                </control>
                <control type="image">
                    <centertop>50%</centertop>
                    <left>1010</left>
                    <width>128.8</width>
                    <height>87.2</height>
                    <texture background="true" colordiffuse="red">quality/qualityhd720.png</texture>
                    <visible>String.Contains(ListItem.Property(quality),2)</visible>
                </control>
                <control type="image">
                    <centertop>50%</centertop>
                    <left>1010</left>
                    <width>128.8</width>
                    <height>87.2</height>
                    <texture background="true" colordiffuse="green">quality/qualityhd1080.png</texture>
                    <visible>String.Contains(ListItem.Property(quality),3)</visible>
                </control>
                <control type="image">
                    <centertop>50%</centertop>
                    <left>1010</left>
                    <width>128.8</width>
                    <height>87.2</height>
                    <texture background="true">quality/qualityhd4k.png</texture>
                    <visible>String.Contains(ListItem.Property(quality),4)</visible>
                </control>
            </focusedlayout>
        </control>
    </controls>
</window>
