Skip to content

Instantly share code, notes, and snippets.

@josharrington
Created July 14, 2016 23:50
Show Gist options
  • Save josharrington/72e6e72afc6dc6c4778a0a9e37c32b1c to your computer and use it in GitHub Desktop.
Save josharrington/72e6e72afc6dc6c4778a0a9e37c32b1c to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<includes>
<include name="View-WideList-54">
<control type="group">
<visible>Control.IsVisible(54)</visible>
<visible>IntegerGreaterThan(Container.NumItems,-1) | !Container.IsUpdating</visible>
<include>views_animation</include>
<control type="group">
<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<imagepath background="true">$VAR[fanart_bg]</imagepath>
<aspectratio>scale</aspectratio>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>650</fadetime>
<visible>!Player.HasVideo</visible>
</control>
</control>
<control type="list" id="54">
<posx>30</posx>
<posy>90</posy>
<height>970</height>
<width>1310</width>
<onright condition="StringCompare(System.Language,Hebrew) | Skin.HasSetting(Prefer_RTL)">60</onright>
<onright condition="!StringCompare(System.Language,Hebrew) + !Skin.HasSetting(Prefer_RTL)">9006</onright>
<onleft condition="StringCompare(System.Language,Hebrew) | Skin.HasSetting(Prefer_RTL)">9006</onleft>
<onleft condition="!StringCompare(System.Language,Hebrew) + !Skin.HasSetting(Prefer_RTL)">60</onleft>
<onup>54</onup>
<ondown>54</ondown>
<viewtype label="31204">list</viewtype>
<visible>StringCompare(Window(Home).Property(SkinHelper.ForcedView),54) | IsEmpty(Window(Home).Property(SkinHelper.ForcedView))</visible>
<pagecontrol>60</pagecontrol>
<scrolltime tween="circle" easing="inout">400</scrolltime>
<preloaditems>2</preloaditems>
<animation effect="fade" start="0" end="100" time="1000">WindowOpen</animation>
<animation effect="fade" start="100" end="0" delay="0" time="400">WindowClose</animation>
<itemlayout width="1310" height="70">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1310</width>
<height>60</height>
<texture background="true">black.png</texture>
<include>widelist_fade_level</include>
</control>
<control type="label">
<posx>15</posx>
<posy>0</posy>
<width>1180</width>
<height>40</height>
<font>font-24</font>
<textcolor>grey_b</textcolor>
<selectedcolor>grey_b</selectedcolor>
<include>align_tag</include>
<aligny>top</aligny>
<label>$VAR[movie_label]</label>
<autoscroll time="3000" delay="4000" repeat="500">true</autoscroll>
</control>
<!-- itemlayout Watched Status -->
<include name="watched_flag">
<param name="color" value="grey"/>
</include>
</itemlayout>
<focusedlayout width="1310" height="90">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1310</width>
<height>80</height>
<texture colordiffuse="$VAR[widelist_bg_color]">white.png</texture>
</control>
<control type="label">
<posx>15</posx>
<posy>0</posy>
<width>1180</width>
<height>40</height>
<font>font-24</font>
<textcolor>$VAR[widelist_color]</textcolor>
<selectedcolor>$VAR[widelist_color]</selectedcolor>
<include>align_tag</include>
<aligny>top</aligny>
<label>$VAR[movie_label]</label>
<autoscroll time="3000" delay="4000" repeat="500">true</autoscroll>
</control>
<!-- Sub Label -->
<control type="textbox">
<posx>15</posx>
<posy>44</posy>
<width>808</width>
<height>30</height>
<font>font-16</font>
<textcolor>$VAR[widelist_color]</textcolor>
<selectedcolor>$VAR[widelist_color]</selectedcolor>
<include>align_tag</include>
<aligny>center</aligny>
<label>$VAR[widelist_sublabel]</label>
<visible>!ListItem.IsCollection</visible>
</control>
<!-- movie set -->
<control type="image">
<posx>15</posx>
<posy>36</posy>
<width>48</width>
<height>48</height>
<texture background="true">movieset.png</texture>
<visible>ListItem.IsCollection</visible>
</control>
<!-- focuslayout Watched Status -->
<include name="watched_flag">
<param name="color" value="grey_50"/>
</include>
</focusedlayout>
</control>
<!-- scroll -->
<include name="vertical_scroll">
<param name="id" value="60" />
<param name="listid" value="54" />
<param name="posy">90</param>
<param name="height">970</param>
</include>
<!-- New Info Panel -->
<control type="group">
<posx>1370</posx>
<posy>90</posy>
<control type="image">
<description>background image</description>
<left>0</left>
<top>0</top>
<width>520</width>
<height>970</height>
<texture background="true">black.png</texture>
<include>widelist_fade_level</include>
</control>
<control type="textbox">
<description>Plot Value for TVShows\Movies</description>
<posx>45</posx>
<posy>40</posy>
<width>430</width>
<height>610</height>
<font>font-22</font>
<include>align_tag</include>
<textcolor>grey_b</textcolor>
<label>$VAR[ViewFanartText]</label>
<autoscroll time="2000" delay="15000" repeat="5000">!Skin.HasSetting(AutoScroll)</autoscroll>
<visible>!Container.Content(Episodes)</visible>
</control>
<control type="textbox">
<description>Plot Value for Episodes</description>
<posx>45</posx>
<posy>240</posy>
<width>430</width>
<height>420</height>
<font>font-22</font>
<include>align_tag</include>
<textcolor>grey_b</textcolor>
<label>$VAR[ViewFanartText]</label>
<autoscroll time="2000" delay="15000" repeat="5000">!Skin.HasSetting(AutoScroll)</autoscroll>
<visible>Container.Content(Episodes)</visible>
</control>
<!-- Episode Thumb -->
<control type="image">
<posx>45</posx>
<posy>45</posy>
<width>430</width>
<height max="195">auto</height>
<aspectratio aligny="top">keep</aspectratio>
<texture background="true">$VAR[PosterThumb]</texture>
<bordertexture colordiffuse="grey_a">white.png</bordertexture>
<bordersize>1,1,1,1</bordersize>
<fadetime>300</fadetime>
<visible>!StringCompare(ListItem.Label,..) + Container.Content(Episodes)</visible>
</control>
<!-- HD\SD\3D Indicator flag -->
<control type="image">
<posx>45</posx>
<posy>890</posy>
<width>auto</width>
<height>35</height>
<aspectratio align="left">keep</aspectratio>
<texture background="true">$VAR[UnFocusHDIndicator]</texture>
<visible>!IsEmpty(ListItem.VideoResolution)</visible>
</control>
<control type="label">
<posx>105</posx>
<posy>888</posy>
<label>$INFO[ListItem.VideoResolution]</label>
<font>font-18</font>
<textcolor>white</textcolor>
<width>90</width>
<height>52</height>
<align>left</align>
</control>
<!-- Audio Codec -->
<control type="image">
<colordiffuse>white</colordiffuse>
<posx>170</posx>
<posy>875</posy>
<width>auto</width>
<height>65</height>
<aspectratio align="left">keep</aspectratio>
<texture background="true">$INFO[ListItem.AudioCodec,flags/audio/,.png]</texture>
</control>
<control type="label">
<posx>265</posx>
<posy>890</posy>
<label>$VAR[AudioChannels2]</label>
<font>font-18</font>
<textcolor>white</textcolor>
<width>110</width>
<height>52</height>
<align>left</align>
</control>
<!-- Dubbed Language -->
<control type="group">
<posx>368</posx>
<posy>900</posy>
<visible>!IsEmpty(Window(Home).Property(SkinHelper.ListItemLanguages)) + !ListItem.IsFolder + Container.Content(Movies) + !substring(ListItem.Path,plugin://)</visible>
<include>ListItemLanguage</include>
</control>
</control>
<!--CDART movie sets -->
<control type="group">
<left>2940</left>
<top>761</top>
<width>240</width>
<height>240</height>
<include>FanartRollingMovieSetDiscs</include>
</control>
<!-- Clear Logo -->
<control type="image">
<posx>0</posx>
<posy>900</posy>
<width>auto</width>
<height max="180">auto</height>
<aspectratio align="center" aligny="top">keep</aspectratio>
<texture background="true">$INFO[ListItem.Art(clearlogo)]$INFO[ListItem.Art(tvshow.clearlogo)]</texture>
<visible>!Container.Content(Episodes)</visible>
</control>
<control type="image">
<posx>0</posx>
<posy>900</posy>
<width>auto</width>
<height max="180">auto</height>
<aspectratio align="center" aligny="top">keep</aspectratio>
<texture background="true">$INFO[Skin.String(music_path)]$INFO[ListItem.Artist,,/logo.png]</texture>
</control>
<control type="group">
<posx>1440</posx>
<posy>500</posy>
</control>
<!-- Hidden for show full screen Fanart -->
<control type="button" id="555">
<posx>2000</posx>
<posy>-10</posy>
<width>1</width>
<height>1</height>
<label>-</label>
<onleft>54</onleft>
<onright>54</onright>
<onback>54</onback>
<onclick>right</onclick>
<onclick>Select</onclick>
<ondown>Control.Move(54,1)</ondown>
<onup>Control.Move(54,-1)</onup>
<!-- <visible>!Player.HasVideo</visible> -->
</control>
<!-- Full Screen Fanart -->
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<texture background="true" fallback="special://skin/backgrounds/vidoes.jpg">$INFO[ListItem.Art(fanart)]</texture>
<aspectratio>scale</aspectratio>
<fadetime>0</fadetime>
<include>dialog_zoom_animation</include>
<visible>!Player.HasVideo + Control.HasFocus(555)</visible>
</control>
<control type="image">
<posx>0</posx>
<posy>900</posy>
<height>200</height>
<width>1920</width>
<texture background="true">black.png</texture>
<visible>!Container(54).OnNext + !Container(54).OnPrevious + Control.HasFocus(555) + !Player.HasVideo</visible>
<animation type="Visible">
<effect type="fade" end="60" time="0"/>
<effect type="slide" start="0,200" end="0" time="300"/>
</animation>
</control>
<control type="label">
<posx>0</posx>
<posy>910</posy>
<width>1920</width>
<height>200</height>
<font>font-40</font>
<textcolor>white</textcolor>
<shadowcolor>$var[main_color]</shadowcolor>
<align>center</align>
<label>$INFO[ListItem.Label]</label>
<wrapmultiline>true</wrapmultiline>
<visible>!Container(54).OnNext + !Container(54).OnPrevious + Control.HasFocus(555) + !Player.HasVideo</visible>
<animation effect="slide" start="0,200" end="0" time="300">Visible</animation>
</control>
</control>
</include>
<variable name="widelist_sublabel">
<value condition="Container.Content(addons)">$INFO[ListItem.Property(Addon.Creator),, • ]$INFO[ListItem.Property(Addon.Version)]</value>
<value condition="Container.Content(albums)">$INFO[ListItem.Year]</value>
<value condition="Container.Content(songs)">$INFO[ListItem.Duration]</value>
<value condition="Container.Content(musicvideos)">$INFO[ListItem.Year]$INFO[ListItem.Artist, • ]</value>
<value condition="Container.Content(movies) + !IsEmpty(ListItem.Title)">$INFO[ListItem.Year]$INFO[ListItem.Rating, • ]$INFO[ListItem.Duration, • , $LOCALIZE[12391]]$INFO[ListItem.Genre, • ]</value>
<value condition="Container.Content(tvshows) + !IsEmpty(ListItem.Property(TotalSeasons))">$INFO[ListItem.Property(TotalSeasons)] $LOCALIZE[33054], $INFO[ListItem.Property(TotalEpisodes)] $LOCALIZE[20360]</value>
<value condition="Container.Content(seasons) + !IsEmpty(ListItem.Property(TotalEpisodes))">$INFO[ListItem.Property(TotalEpisodes)] $LOCALIZE[20360]</value>
<value condition="Container.Content(episodes) + !IsEmpty(ListItem.Premiered)">$INFO[ListItem.Premiered]</value>
<value condition="Window.IsActive(MyPVRChannels.xml)">$INFO[ListItem.Title]$INFO[ListItem.Duration, • , $LOCALIZE[12391]]</value>
</variable>
<include name="watched_flag">
<definition>
<include name="watched_flag_rtl" condition="StringCompare(System.Language,Hebrew) | Skin.HasSetting(Prefer_RTL)">
<param name="posx" value="$PARAM[posx]"/>
<param name="color" value="$PARAM[color]"/>
</include>
<include name="watched_flag_ltr" condition="!StringCompare(System.Language,Hebrew) + !Skin.HasSetting(Prefer_RTL)">
<param name="posx" value="$PARAM[posx]"/>
<param name="color" value="$PARAM[color]"/>
</include>
</definition>
</include>
<include name="watched_flag_rtl">
<param name="posx" default="0"/>
<param name="color" default="grey_50"/>
<definition>
<control type="group">
<posx>$PARAM[posx]</posx>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>60</width>
<height>60</height>
<texture flipx="false">wflag.png</texture>
<visible>!stringcompare(ListItem.Label,..) + [StringCompare(ListItem.Overlay,overlaywatched.png) | IntegerGreaterThan(ListItem.PercentPlayed,0) | [[Container.Content(TVShows) | Container.Content(Seasons)] + !IsEmpty(ListItem.Property(UnWatchedEpisodes))]] </visible>
</control>
<control type="image">
<posx>4</posx>
<posy>7</posy>
<width>28</width>
<height>28</height>
<texture colordiffuse="$PARAM[color]">eye.png</texture>
<visible>StringCompare(ListItem.Overlay,overlaywatched.png)</visible>
</control>
<control type="label">
<posx>-2</posx>
<posy>12</posy>
<width>50</width>
<height>20</height>
<font>font-12</font>
<textcolor>$PARAM[color]</textcolor>
<angle>45</angle>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.PercentPlayed]%</label>
<visible>!StringCompare(ListItem.Overlay,overlaywatched.png) + IntegerGreaterThan(ListItem.PercentPlayed,0) + !IntegerGreaterThan(ListItem.PercentPlayed,99)</visible>
</control>
<control type="label">
<posx>-32</posx>
<posy>12</posy>
<width>100</width>
<height>20</height>
<font>font-12</font>
<textcolor>$PARAM[color]</textcolor>
<angle>45</angle>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
<visible>!StringCompare(ListItem.Overlay,overlaywatched.png) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
</control>
</control>
</definition>
</include>
<include name="watched_flag_ltr">
<param name="posx" default="1250"/>
<param name="color" default="grey_50"/>
<definition>
<control type="group">
<posx>$PARAM[posx]</posx>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>60</width>
<height>60</height>
<texture flipx="true">wflag.png</texture>
<visible>!stringcompare(ListItem.Label,..) + [StringCompare(ListItem.Overlay,overlaywatched.png) | IntegerGreaterThan(ListItem.PercentPlayed,0) | [[Container.Content(TVShows) | Container.Content(Seasons)] + !IsEmpty(ListItem.Property(UnWatchedEpisodes))]] </visible>
</control>
<control type="image">
<posx>25</posx>
<posy>7</posy>
<width>28</width>
<height>28</height>
<texture colordiffuse="$PARAM[color]">eye.png</texture>
<visible>StringCompare(ListItem.Overlay,overlaywatched.png)</visible>
</control>
<control type="label">
<posx>10</posx>
<posy>12</posy>
<width>50</width>
<height>20</height>
<font>font-12</font>
<textcolor>$PARAM[color]</textcolor>
<angle>315</angle>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.PercentPlayed]%</label>
<visible>!StringCompare(ListItem.Overlay,overlaywatched.png) + IntegerGreaterThan(ListItem.PercentPlayed,0) + !IntegerGreaterThan(ListItem.PercentPlayed,99)</visible>
</control>
<control type="label">
<posx>-15</posx>
<posy>12</posy>
<width>100</width>
<height>20</height>
<font>font-12</font>
<textcolor>$PARAM[color]</textcolor>
<angle>315</angle>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
<visible>!StringCompare(ListItem.Overlay,overlaywatched.png) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
</control>
</control>
</definition>
</include>
</includes>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment