<window type="dialog">
<onload>Skin.SetString(otakufile,$INFO[Window().Property(release_title)])</onload>
    <defaultcontrol>2</defaultcontrol>
    <coordinates>
        <left>0</left>
        <top>0</top>
    </coordinates>
    <controls>
        <!-- Background Texture -->
        <control type="image">
            <texture>white.png</texture>
            <colordiffuse>FF000000</colordiffuse>
        </control>
        <control type="list" id="1100">
        </control>

        <!-- Background -->
        <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>
        
        <!-- MultiFanart -->
            <control type="group">
                <visible>Skin.HasSetting(SkinHelper.EnableExtraFanart) + System.HasAddon(script.artwork.helper)</visible>
            
                <control type="fadelabel" id="1010">
                    <info>Window().Property(item.art.fanart)</info>
                    <info>Window().Property(item.art.fanart1)</info>
                    <info>Window().Property(item.art.fanart2)</info>
                    <info>Window().Property(item.art.fanart3)</info>
                    <info>Window().Property(item.art.fanart4)</info>
                    <info>Window().Property(item.art.fanart5)</info>
                    <info>Window().Property(item.art.fanart6)</info>
                    <info>Window().Property(item.art.fanart7)</info>
                    <info>Window().Property(item.art.fanart8)</info>
                    <info>Window().Property(item.art.fanart9)</info>
                    <info>Window().Property(item.art.fanart10)</info>
                    <info>Window().Property(item.art.fanart11)</info>
                    <info>Window().Property(item.art.fanart12)</info>
                    <info>Window().Property(item.art.fanart13)</info>
                    <info>Window().Property(item.art.fanart14)</info>
                    <info>Window().Property(item.art.fanart15)</info>
                    <info>Window().Property(item.art.fanart16)</info>
                    <info>Window().Property(item.art.fanart17)</info>
                    <info>Window().Property(item.art.fanart18)</info>
                    <info>Window().Property(item.art.fanart19)</info>
                    <info>Window().Property(item.art.fanart20)</info>
                    <randomize>true</randomize>
                    <pauseatend>8000</pauseatend>
                    <scroll>false</scroll>
                    <scrollout>false</scrollout>
                    <resetonlabelchange>true</resetonlabelchange>
                    <textcolor>0x00000000</textcolor>
                </control>
                
                <!-- Background -->
                <control type="multiimage">
                    <imagepath background="true">$INFO[Control.GetLabel(1010)]</imagepath>
                    <timeperimage>4000</timeperimage>
                    <fadetime>1000</fadetime>
                    <pauseatend>12000</pauseatend>
                    <randomize>true</randomize>
                    <loop>no</loop>
                </control>
            </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>


        <!-- Otaku Logo -->
        <control type="image" id="1001">
            <top>-150</top>
            <left>700</left>
            <width>500</width>
            <aspectratio>keep</aspectratio>
            <texture>$INFO[Window().Property(item.art.logo)]</texture>
        </control>
        <control>
            <top>600</top>
            <label>$INFO[Window().Property(iisvis)]</label>
        </control>

        <control type="label">
            <left>0</left>
            <top>300</top>
            <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">
            <left>760</left>
            <top>550</top>
            <width>100%</width>
            <!-- Information -->
            <control type="label">
                <top>50</top>
                <left>-760</left>
                <width>1920</width>
                <font>font12</font>
                <align>center</align>
                <aligny>center</aligny>
                <width>auto</width>
                <textcolor>FFDDDDDD</textcolor>
                <label>[COLOR $INFO[Window().Property(settings.color)]]$INFO[Window().Property(release_title)][/COLOR]</label>
            </control>

            <control type="label">
                <top>100</top>
                <left>-760</left>
                <width>1920</width>
                <font>font12</font>
                <align>center</align>
                <aligny>center</aligny>
                <width>auto</width>
                <textcolor>FFDDDDDD</textcolor>
                <label>Provider: [UPPERCASE][COLOR$INFO[Window().Property(settings.color)]]$INFO[Window().Property(debrid_provider)][/COLOR][/UPPERCASE] | Source:  [UPPERCASE][COLOR$INFO[Window().Property(settings.color)]]$INFO[Window().Property(source_provider)][/COLOR][/UPPERCASE]</label>
            </control>

            <control type="label">
                <top>150</top>
                <left>-760</left>
                <width>1920</width>
                <font>font12</font>
                <align>center</align>
                <aligny>center</aligny>
                <width>auto</width>
                <textcolor>FFDDDDDD</textcolor>
                <label>$ADDON[plugin.video.otaku 40228]: [UPPERCASE][COLOR$INFO[Window().Property(settings.color)]]$INFO[Window().Property(source_resolution)][/COLOR][UPPERCASE] | $ADDON[plugin.video.otaku 40229]: [UPPERCASE][COLOR$INFO[Window().Property(settings.color)]]$INFO[Window().Property(source_info)][/COLOR][/UPPERCASE]</label>
            </control>

        </control>
    </controls>
</window>
