<window type="dialog">
    <coordinates>
        <left>0</left>
        <top>0</top>
		<width>1920</width>
		<height>1080</height>
    </coordinates>

    <controls>

		<!-- Background -->
		<control type="group">
			<top>0</top>
			<left>0</left>
			<width>1920</width>
			<height>1080</height>

			<!-- Fallback -->
			<control type="image">
				<texture>white.png</texture>
				<colordiffuse>FF000000</colordiffuse>
			</control>

			<!-- Fanart -->
			<control type="image">
				<texture background="true">$INFO[Window().Property(item.art.fanart)]</texture>
			</control>

			<!-- Overlay -->
			<control type="image">
				<texture background="true">white.png</texture>
				<colordiffuse>CC000000</colordiffuse>
			</control>
		</control>


		<!-- Seren Logo -->
		<control type="image">
			<centerleft>50%</centerleft>
			<bottom>80</bottom>
			<align>center</align>
			<aligny>center</aligny>
			<width>335</width>
			<aspectratio>keep</aspectratio>
			<texture>$INFO[Window().Property(seren.logo)]</texture>
			<visible>String.IsEmpty(Window().Property(item.art.clearlogo))</visible>
		</control>

		<!-- Clearlogo -->
		<control type="image">
			<centerleft>50%</centerleft>
			<width>335</width>
			<bottom>80</bottom>
			<align>center</align>
			<aligny>center</aligny>
			<aspectratio>keep</aspectratio>
			<texture>$INFO[Window().Property(item.art.clearlogo)]</texture>
			<visible>!String.IsEmpty(Window().Property(item.art.clearlogo))</visible>
		</control>

		<!-- Notification Text -->
        <control type="label">
            <top>210</top>
			<centerleft>50%</centerleft>
            <width>100%</width>
            <font>font12</font>
            <align>center</align>
            <aligny>center</aligny>
            <textcolor>FFDDDDDD</textcolor>
            <label>$INFO[Window().Property(notification_text)]</label>
        </control>

		<control type="group">
			<animation effect="slide" start="-2000,0" time="350" tween="cubic" easing="in" reversible="false">WindowOpen</animation>
			<animation effect="slide" end="2000,0" time="350" tween="cubic" easing="in" reversible="false">WindowClose</animation>
			<width>1300</width>
			<height>270</height>
			<centertop>10</centertop>
			<centerleft>50%</centerleft>
			<top>692</top>

			<!-- Source Icon -->
			<control type="group">
				<top>40</top>
				<width>200</width>
				<height>200</height>

				<!-- Seren Peacock -->
				<control type="image">
					<aspectratio>keep</aspectratio>
					<texture>$INFO[Window().Property(seren.logo)]</texture>
					<visible>String.IsEmpty(Window().Property(source.icon))</visible>
				</control>

				<!-- Provider Icon -->
				<control type="image">
					<aspectratio>keep</aspectratio>
					<texture>$INFO[Window().Property(source.icon)]</texture>
					<visible>!String.IsEmpty(Window().Property(source.icon))</visible>
				</control>
			</control>

			<!-- Release Title -->
			<control type="label">
				<top>40</top>
				<left>210</left>
				<width>1070</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>FFFFFFFF</textcolor>
				<align>left</align>
				<aligny>center</aligny>
				<label>[B][UPPERCASE]$INFO[Window().Property(release_title)][/UPPERCASE][/B]</label>
			</control>

			<!-- Provider Information -->
			<control type="group">
				<width>800</width>
				<height>70</height>
				<left>210</left>
				<top>100</top>

				<!-- Debrid Provider -->
				<control type="label">
					<font>font12</font>
					<height>20</height>
					<textcolor>FFFFFFFF</textcolor>
					<align>left</align>
					<wrapmultiline>true</wrapmultiline>
					<label>[B][UPPERCASE]$INFO[Window().Property(debrid_provider)][/UPPERCASE][/B]</label>
				</control>

				<!-- Provider -->
				<control type="label">
					<top>40</top>
					<font>font12</font>
					<height>20</height>
					<textcolor>FFFFFFFF</textcolor>
					<align>left</align>
					<wrapmultiline>true</wrapmultiline>
					<label>[B][UPPERCASE]$INFO[Window().Property(source_provider)][/UPPERCASE][/B]</label>
				</control>
			</control>

			<control type="group">
				<right>20</right>
				<top>100</top>
				<height>140</height>

				<!-- Size -->
				<control type="label">
					<right>0</right>
					<width>350</width>
					<height>20</height>
					<font>font12</font>
					<textcolor>FFFFFFFF</textcolor>
					<align>right</align>
					<label>[B][UPPERCASE]$ADDON[plugin.video.seren 30251]: [COLOR $INFO[Window().Property(settings.color)]]$INFO[Window().Property(source_size)][/COLOR][/UPPERCASE][/B]</label>
				</control>

				<!-- Resolution -->
				<control type="label">
					<top>40</top>
					<right>0</right>
					<width>350</width>
					<height>20</height>
					<font>font12</font>
					<align>right</align>
					<textcolor>FFFFFFFF</textcolor>
					<label>[B][UPPERCASE]$ADDON[plugin.video.seren 30237]: [COLOR $INFO[Window().Property(settings.color)]]$INFO[Window().Property(source_resolution)][/COLOR][/UPPERCASE][/B]</label>
				</control>

				<!-- Source Type -->
				<control type="label">
					<top>80</top>
					<right>0</right>
					<width>350</width>
					<height>20</height>
					<font>font12</font>
					<align>right</align>
					<textcolor>FFFFFFFF</textcolor>
					<label>[B][UPPERCASE]$ADDON[plugin.video.seren 30252]: [COLOR $INFO[Window().Property(settings.color)]]$INFO[Window().Property(source_type)][/COLOR][/UPPERCASE][/B]</label>
				</control>

				<!-- Info -->
				<control type="label">
					<top>120</top>
					<right>0</right>
					<font>font12</font>
					<align>right</align>
					<textcolor>FFFFFFFF</textcolor>
					<label>[B][UPPERCASE]$INFO[Window().Property(info_text_piped_color)][/UPPERCASE][/B]</label>
				</control>
			</control>
		</control>
    </controls>
</window>
