<?xml version="1.0" encoding="utf-8"?>
<!--
This file should contain the details view
-->
<window>
  <controls>

    <control>
      <description>background overlay</description>
      <type>image</type>
      <id>0</id>
      <posX>0</posX>
      <posY>0</posY>
      <width>1280</width>
      <height>720</height>
      <texture>filmstrip_overlay.png</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
    </control>

    <control>
      <description>Play Movie</description>
      <type>button</type>
      <id>6</id>
      <label>2553</label>
      <onup>6</onup>
      <ondown>6</ondown>
      <onright>6</onright>
      <onleft>4755</onleft>
      <posX>1075</posX>
      <posY>678</posY>
      <width>150</width>
      <height>32</height>
      <textcolor>ffffffff</textcolor>
      <font>font11</font>
      <textYOff>0</textYOff>
      <textXOff>0</textXOff>
      <textalign>center</textalign>
      <textcolorNoFocus>5fffffff</textcolorNoFocus>
			<textureFocus>tvguide_button_middle.png</textureFocus>
			<textureNoFocus>tvguide_button_light_middle.png</textureNoFocus>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
      <animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Trailer (Online Videos/IMDb Trailers)</description>
      <type>button</type>
      <id>4755</id>
      <label>Trailer</label>
      <hyperlink>4755</hyperlink>
			<!-- Search by IMDB ID if available otherwise by Title -->
      <hyperlinkParameter>site:IMDb Movie Trailers|search:#(iif(neq(#MovingPictures.SelectedMovie.imdb_id,''),#MovingPictures.SelectedMovie.imdb_id,#MovingPictures.SelectedMovie.title))|return:Locked</hyperlinkParameter>
      <onup>4755</onup>
      <ondown>4755</ondown>
      <onright>6</onright>
      <onleft>69999</onleft>
      <posX>925</posX>
      <posY>678</posY>
      <width>150</width>
      <height>32</height>
      <textcolor>ffffffff</textcolor>
      <font>font11</font>
      <textYOff>0</textYOff>
      <textXOff>0</textXOff>
      <textalign>center</textalign>
      <textcolorNoFocus>5fffffff</textcolorNoFocus>
			<textureFocus>tvguide_button_middle.png</textureFocus>
			<textureNoFocus>tvguide_button_light_middle.png</textureNoFocus>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
      <animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Subtitles</description>
      <type>button</type>
      <id>69999</id>
      <label>287</label>
      <hyperlink>84623</hyperlink>
      <onup>69999</onup>
      <ondown>69999</ondown>
      <onright>4755</onright>
      <onleft>6</onleft>
      <onright>4755</onright>
      <posX>775</posX>
      <posY>678</posY>
      <width>150</width>
      <height>32</height>
      <textcolor>ffffffff</textcolor>
      <font>font10</font>
      <textYOff>0</textYOff>
      <textXOff>0</textXOff>
      <textalign>center</textalign>
      <textcolorNoFocus>5fffffff</textcolorNoFocus>
			<textureFocus>tvguide_button_middle.png</textureFocus>
			<textureNoFocus>tvguide_button_light_middle.png</textureNoFocus>
      <visible allowhiddenfocus="false">!control.isvisible(50)+!control.isvisible(51)+plugin.isenabled(SubCentral)</visible>
      <animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <!--            :: MAIN DETAILS ::            -->    
    <control>
      <description>Cover Art</description>
      <type>image</type>
      <id>60</id>
      <posX>47</posX>
      <posY>309</posY>
      <width>257</width>
      <height>380</height>
      <texture flipY="true" diffuse="diffusemirrorwide.png">#MovingPictures.Coverart</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Cover Art Glass Overlay</description>
      <type>image</type>
      <id>0</id>
      <posX>47</posX>
      <posY>309</posY>
      <width>228</width>
      <height>177</height>
      <texture>glassoverlay2.png</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)+Control.HasThumb(60)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>Watched Icon Background</description>
      <type>image</type>
      <id>0</id>
      <posX>272</posX>
      <posY>339</posY>
      <width>32</width>
      <height>39</height>
      <texture>overlaywubg.png</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)+Control.HasThumb(60)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Watched Icon</description>
      <type>image</type>
      <id>0</id>
      <posX>279</posX>
      <posY>343</posY>
      <width>23</width>
      <height>23</height>
      <texture>overlaywatched.png</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)+control.isvisible(9)+Control.HasThumb(60)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Un-Watched Icon</description>
      <type>image</type>
      <id>0</id>
      <posX>279</posX>
      <posY>343</posY>
      <width>23</width>
      <height>23</height>
      <texture>overlayunwatched.png</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)+!control.isvisible(9)+Control.HasThumb(60)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <!-- Details Box -->
    <control>
      <description>details background</description>
      <type>image</type>
      <id>0</id>
      <posX>340</posX>
      <posY>380</posY>
      <width>896</width>
      <height>337</height>
      <texture>detailsbg.png</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
    </control>

    <control>
      <description>Movie Title</description>
      <type>label</type>
      <id>0</id>
      <posX>362</posX>
      <posY>380</posY>
      <width>840</width>
      <font>font16</font>
      <label>#MovingPictures.SelectedMovie.title</label>
      <textcolor>ffFFFFFF</textcolor>
			<shadowAngle>45</shadowAngle>
      <shadowDistance>4</shadowDistance>
      <shadowColor>ff000000</shadowColor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>Genres</description>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.genres</label>
      <id>0</id>
      <posX>363</posX>
      <posY>410</posY>
      <width>840</width>
      <font>font12</font>
      <textcolor>ffa9d0f7</textcolor>
			<shadowAngle>45</shadowAngle>
      <shadowDistance>4</shadowDistance>
      <shadowColor>#shadow.dark</shadowColor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>Star Rating Image</description>
      <type>image</type>
      <id>101</id>
      <width>115</width>
      <height>22</height>
      <posX>363</posX>
      <posY>440</posY>
      <align>left</align>
			<textcolor>ffFFFFFF</textcolor>
      <texture>star#MovingPictures.SelectedMovie.score.rounded.png</texture>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Star Rating Value</description>
      <id>0</id>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.score.localized / 10 (#MovingPictures.SelectedMovie.popularity.localized #MovingPictures.Translation.Votes.Label)</label>
      <posX>490</posX>
      <posY>440</posY>
      <width>600</width>
      <align>left</align>
      <font>font10</font>
			<textcolor>ffFFFFFF</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)+string.equals(#MovingPictures.UserMovieSettings.user_rating,)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
		<control>
      <description>Star Rating Value (normalize userrating to 10star rating)</description>
      <id>0</id>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.score.localized (#MovingPictures.Translation.Rated.Label: #(mul(cint(#MovingPictures.UserMovieSettings.user_rating),2))) (#MovingPictures.SelectedMovie.popularity.localized #MovingPictures.Translation.Votes.Label)</label>
      <posX>490</posX>
      <posY>440</posY>
      <width>600</width>
      <align>left</align>
      <font>font10</font>
      <visible>!control.isvisible(50)+!control.isvisible(51)+!string.equals(#MovingPictures.UserMovieSettings.user_rating,)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
	
    <control>
      <description>Summary</description>
      <type>textboxscrollup</type>
      <id>0</id>
      <posX>363</posX>
      <posY>475</posY>
      <width>860</width>
      <height>118</height>
      <textcolor>ffFFFFFF</textcolor>      
      <font>font11</font>
			<scrollStartDelaySec>#textboxscrolldelay.details</scrollStartDelaySec>
      <label>#MovingPictures.SelectedMovie.summary</label>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>Directors Label</description>
      <type>label</type>
      <label>#MovingPictures.Translation.Directors.Label</label>
      <id>0</id>
      <posX>363</posX>
      <posY>598</posY>
      <width>115</width>
      <font>font10</font>
      <textcolor>ffa9d0f7</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Directors</description>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.directors</label>
      <id>0</id>
      <posX>485</posX>
      <posY>598</posY>
      <width>388</width>
      <font>font10</font>
      <textcolor>ffFFFFFF</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>Writers</description>
      <type>label</type>
      <label>#MovingPictures.Translation.Writers.Label</label>
      <id>0</id>
      <posX>363</posX>
      <posY>622</posY>
      <width>115</width>
      <font>font10</font>
      <textcolor>ffa9d0f7</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>Writer</description>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.writers</label>
      <id>0</id>
      <posX>485</posX>
      <posY>622</posY>
      <width>388</width>
      <font>font10</font>
      <textcolor>ffFFFFFF</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>actors</description>
      <type>label</type>
      <label>#MovingPictures.Translation.Actors.Label</label>
      <id>0</id>
      <posX>363</posX>
      <posY>646</posY>
      <width>115</width>
      <font>font10</font>
      <textcolor>ffa9d0f7</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>actors</description>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.actors</label>
      <id>0</id>
      <posX>485</posX>
      <posY>646</posY>
      <width>728</width>
      <font>font10</font>
      <textcolor>ffFFFFFF</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>year</description>
      <type>label</type>
      <label>#MovingPictures.Translation.Year.Label</label>
      <id>0</id>
      <posX>885</posX>
      <posY>622</posY>
      <width>840</width>
      <font>font10</font>
      <textcolor>ffa9d0f7</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>year</description>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.year</label>
      <id>0</id>
      <posX>985</posX>
      <posY>622</posY>
      <width>840</width>
      <font>font10</font>
      <textcolor>ffFFFFFF</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

    <control>
      <description>runtime</description>
      <type>label</type>
      <label>#MovingPictures.Translation.Runtime.Label</label>
      <id>0</id>
      <posX>885</posX>
      <posY>598</posY>
      <width>840</width>
      <font>font10</font>
      <textcolor>ffa9d0f7</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>
    <control>
      <description>runtime</description>
      <type>label</type>
      <label>#MovingPictures.SelectedMovie.runtime.localized.long</label>
      <id>0</id>
      <posX>985</posX>
      <posY>598</posY>
      <width>840</width>
      <font>font10</font>
      <textcolor>ffFFFFFF</textcolor>
      <visible>!control.isvisible(50)+!control.isvisible(51)</visible>
			<animation effect="fade" time="250" delay="0">WindowClose</animation>
    </control>

  </controls>
</window>