skin.pellucid/xml/View_TVShows.xml

450 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<includes>
<include name="tvshows">
<control type="group">
<visible>$EXP[isTVShow] + !string.contains(container.folderpath,playlists)</visible>
<control type="group">
<visible>control.hasfocus(9203) | control.hasfocus(9202)</visible>
<control type="image">
<include>dimensionsFullscreen</include>
<texture fallback="colors/black.png">$INFO[container(9203).listitem.art(fanart)]</texture>
<colordiffuse>FF555555</colordiffuse>
<aspectratio>scale</aspectratio>
<fadetime>250</fadetime>
</control>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>vignette.png</texture>
<colordiffuse></colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
</control>
<control type="group" id="9201">
<visible>$EXP[isTVShow] + !string.contains(container.folderpath,playlists) + !Skin.HasSetting(disableRecentTVShows)</visible>
<animation type="Conditional" condition="!controlgroup(9201).hasfocus">
<effect type="slide" start="0,0" end="0,-200" time="200"/>
<effect type="fade" start="100" end="0" time="200"/>
</animation>
<animation type="Conditional" condition="controlgroup(9201).hasfocus">
<effect type="slide" start="0,-200" end="0,0" time="200" delay="400"/>
<effect type="fade" start="0" end="100" time="200" delay="350"/>
</animation>
<!--quick link selector-->
<control type="group">
<posx>col-4-begin</posx>
<posy>170</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>18-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>masks/menuBar.png</texture>
<colordiffuse>77000000</colordiffuse>
</control>
<control type="grouplist" id="9202">
<posx>0</posx>
<posy>0</posy>
<orientation>horizontal</orientation>
<itemgap>0</itemgap>
<onleft>9000</onleft>
<ondown>9203</ondown>
<onback>9000</onback>
<control type="button" id="3999">
<description>Search</description>
<width>1-col</width>
<texturenofocus></texturenofocus>
<texturefocus>masks/circle.png</texturefocus>
<focusedcolor>black</focusedcolor>
<font>symbolLarge</font>
<textoffsetx>0</textoffsetx>
<align>center</align>
<label></label>
<onclick>Runscript(script.quickfind,media=tvshows)</onclick>
</control>
<control type="button" id="4000">
<animation type="Conditional" condition="!String.IsEqual(skin.string(tvQuickLinkValue),special://skin/extras/playlists/recentEpisodes.xsp)">
<effect type="fade" start="100" end="33" time="200"/>
</animation>
<label>31178</label>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff" border="24">UIControls/button.png</texturefocus>
<width>3-col</width>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>0</textoffsetx>
<onclick>Skin.SetString(tvQuickLinkValue,special://skin/extras/playlists/recentEpisodes.xsp)</onclick>
<ondown>control.setfocus(9203,0)</ondown>
</control>
<control type="button" id="4001">
<animation type="Conditional" condition="!String.IsEqual(skin.string(tvQuickLinkValue),special://skin/extras/playlists/inprogressTVShows.xsp)">
<effect type="fade" start="100" end="33" time="200"/>
</animation>
<label>31127</label>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff">UIControls/button.png</texturefocus>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>0</textoffsetx>
<onclick>Skin.SetString(tvQuickLinkValue,special://skin/extras/playlists/inprogressTVShows.xsp)</onclick>
<ondown>control.setfocus(9203,0)</ondown>
</control>
<control type="button" id="3224">
<visible>System.Setting(hidewatched)</visible>
<description>Watched Toggle</description>
<label>Unwatched Only: </label>
<width>4-col</width>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>24</textoffsetx>
<label></label>
<texturenofocus></texturenofocus>
<texturefocus>UIControls/button.png</texturefocus>
<label2>[COLOR highlight]On[/COLOR]</label2>
<onclick>sendclick(14)</onclick>
</control>
<control type="button" id="3225">
<visible>!System.Setting(hidewatched)</visible>
<description>Watched Toggle</description>
<label>Unwatched Only: </label>
<width>4-col</width>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>24</textoffsetx>
<label></label>
<texturenofocus></texturenofocus>
<texturefocus>UIControls/button.png</texturefocus>
<label2>[COLOR highlight]Off[/COLOR]</label2>
<onclick>sendclick(14)</onclick>
</control>
<control type="button" id="3222">
<description>Sort by</description>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff" border="24">UIControls/button.png</texturefocus>
<width>5-col</width>
<font>thumbTitle</font>
<align>center</align>
<textoffsetx>0</textoffsetx>
<label>$LOCALIZE[31008]: $INFO[Container.SortMethod]</label>
<onclick>Container.NextSortMethod</onclick>
<onclick>Control.setfocus(52,0,absolute)</onclick>
<onclick>Control.setfocus(3222)</onclick>
</control>
<control type="togglebutton" id="3223">
<description>Sort direction</description>
<focusedcolor>black</focusedcolor>
<color>textActive</color>
<texturenofocus></texturenofocus>
<texturefocus colordiffuse="ffffffff">masks/circle.png</texturefocus>
<alttexturefocus colordiffuse="FFFFFFFF">masks/circle.png</alttexturefocus>
<alttexturenofocus></alttexturenofocus>
<textoffsetx>0</textoffsetx>
<align>center</align>
<width>1-col</width>
<font>symbolLarge</font>
<label></label>
<altlabel></altlabel>
<onclick>Container.SetSortDirection</onclick>
<onclick>Control.setfocus(52,0,absolute)</onclick>
<onclick>Control.setfocus(3223)</onclick>
</control>
</control>
</control>
<!--quick links-->
<control type="panel" id="9203">
<posx>96</posx>
<posy>288</posy>
<width>1740</width>
<height>11-row</height>
<onup>9202</onup>
<ondown>52</ondown>
<onleft>9000</onleft>
<onback>9000</onback>
<orientation>horizontal</orientation>
<onclick condition="String.IsEqual(skin.string(tvQuickLinkValue),special://skin/extras/playlists/recentEpisodes.xsp)">activatewindow(Videos,videodb://tvshows/titles/$INFO[listitem.dbid]/)</onclick>
<itemlayout width="586" height="5-col-gutter">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>552</width>
<height>311</height>
<aspectratio>stretch</aspectratio>
<texture scalediffuse="true" diffuse="masks/latestLandscape.png">colors/black.png</texture>
<colordiffuse>FFFFFFFF</colordiffuse>
</control>
<control type="image">
<visible>!string.isempty(ListItem.Art(fanart))</visible>
<posx>0</posx>
<posy>0</posy>
<width>552</width>
<height>311</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/latestLandscape.png">$INFO[ListItem.Art(fanart)]</texture>
<colordiffuse>99FFFFFF</colordiffuse>
</control>
<control type="image">
<visible>string.isempty(ListItem.Art(fanart))</visible>
<posx>0</posx>
<posy>0</posy>
<width>552</width>
<height>311</height>
<aspectratio>scale</aspectratio>
<texture diffuse="masks/latestLandscape.png">$INFO[ListItem.Art(thumb)]</texture>
<colordiffuse>99ffffff</colordiffuse>
</control>
<control type="label">
<visible>!controlgroup(9000).hasfocus + String.IsEqual(skin.string(tvQuickLinkValue),special://skin/extras/playlists/recentEpisodes.xsp)</visible>
<posx>12</posx>
<posy>312</posy>
<width>524</width>
<height>2-row</height>
<aligny>center</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.Title][/B][CR]$INFO[ListItem.Property(UnWatchedEpisodes),, new $LOCALIZE[31189]]</label>
</control>
<control type="label">
<visible>!controlgroup(9000).hasfocus + String.IsEqual(skin.string(tvQuickLinkValue),special://skin/extras/playlists/inprogressTVShows.xsp)</visible>
<posx>12</posx>
<posy>312</posy>
<width>524</width>
<height>2-row</height>
<aligny>center</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.tvshowtitle][/B][CR]$INFO[ListItem.label]</label>
</control>
<control type="progress">
<visible>ListItem.IsResumable</visible>
<description>Progress Bar</description>
<posx>24</posx>
<posy>278</posy>
<width>504</width>
<height>12</height>
<texturebg colordiffuse="textboxInactive">colors/offblack.png</texturebg>
<midtexture colordiffuse="highlight">colors/white.png</midtexture>
<info>ListItem.PercentPlayed</info>
</control>
</itemlayout>
<focusedlayout width="586" height="5-col-gutter">
<control type="group">
<include>focusThumb</include>
<control type="image">
<visible>!string.isempty(ListItem.Art(fanart))</visible>
<posx>0</posx>
<posy>0</posy>
<width>552</width>
<height>311</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/latestLandscape.png">$INFO[ListItem.Art(fanart)]</texture>
<bordertexture infill="false" diffuse="masks/latestLandscape.png">colors/white.png</bordertexture>
<bordersize>6</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="image">
<visible>string.isempty(ListItem.Art(fanart))</visible>
<posx>0</posx>
<posy>0</posy>
<width>552</width>
<height>311</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/latestLandscape.png">$INFO[ListItem.Art(thumb)]</texture>
<bordertexture infill="false" diffuse="masks/latestLandscape.png">colors/white.png</bordertexture>
<bordersize>6</bordersize>
<colordiffuse>FFffffff</colordiffuse>
</control>
<control type="label">
<visible>!controlgroup(9000).hasfocus + String.IsEqual(skin.string(tvQuickLinkValue),special://skin/extras/playlists/recentEpisodes.xsp)</visible>
<posx>12</posx>
<posy>312</posy>
<width>524</width>
<height>2-row</height>
<aligny>center</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.Title][/B][CR]$INFO[ListItem.Property(UnWatchedEpisodes),, $LOCALIZE[31189]]</label>
</control>
<control type="label">
<visible>!controlgroup(9000).hasfocus + String.IsEqual(skin.string(tvQuickLinkValue),special://skin/extras/playlists/inprogressTVShows.xsp)</visible>
<posx>12</posx>
<posy>312</posy>
<width>524</width>
<height>2-row</height>
<aligny>center</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.tvshowtitle][/B][CR]$INFO[ListItem.label]</label>
</control>
<control type="progress">
<visible>ListItem.IsResumable</visible>
<description>Progress Bar</description>
<posx>24</posx>
<posy>278</posy>
<width>504</width>
<height>12</height>
<texturebg colordiffuse="textboxInactive">colors/offblack.png</texturebg>
<midtexture colordiffuse="highlight">colors/white.png</midtexture>
<info>ListItem.PercentPlayed</info>
</control>
</control>
</focusedlayout>
<content>$INFO[skin.string(tvQuickLinkValue)]</content>
</control>
</control>
</control>
<!--all TVShows-->
<control type="group" id="9204">
<animation type="Conditional" condition="controlgroup(9204).hasfocus | controlgroup(8000).hasfocus | controlgroup(9000).hasfocus | Skin.HasSetting(disableRecentTVShows)">
<effect type="slide" start="0,0" end="0,-576" tween="sine" time="400"/>
</animation>
<control type="label">
<visible>!controlgroup(9000).hasfocus + $EXP[isTVShow] + !$EXP[isMovie] + System.Setting(hidewatched)</visible>
<posx>col-1-begin</posx>
<posy>736</posy>
<width>12-col</width>
<height>2-row</height>
<aligny>center</aligny>
<font>menuTitle</font>
<textcolor>textActive</textcolor>
<label>Unwatched TV Shows</label>
</control>
<control type="label">
<visible>!controlgroup(9000).hasfocus + $EXP[isTVShow] + !$EXP[isMovie] + !System.Setting(hidewatched)</visible>
<posx>col-1-begin</posx>
<posy>736</posy>
<width>12-col</width>
<height>2-row</height>
<aligny>center</aligny>
<font>menuTitle</font>
<textcolor>textActive</textcolor>
<label>$LOCALIZE[31225]</label>
</control>
<control type="panel" id="52">
<visible>$EXP[isTVShow] + !$EXP[isMovie]</visible>
<posx>90</posx>
<posy>820</posy>
<width>1800</width>
<height>836</height>
<onleft>9000</onleft>
<onright>60</onright>
<onup>9203</onup>
<onback>9203</onback>
<pagecontrol>60</pagecontrol>
<scrolltime tween="sine">250</scrolltime>
<itemlayout width="296" height="486">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>252</width>
<height>378</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/poster.png">colors/black.png</texture>
<colordiffuse>FFFFFFFF</colordiffuse>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>252</width>
<height>378</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/poster.png">$INFO[ListItem.Art(poster)]</texture>
<colordiffuse>88FFFFFF</colordiffuse>
</control>
<control type="group">
<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0)</visible>
<posx>174</posx>
<posy>6</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>72</width>
<height>36</height>
<aspectratio>stretch</aspectratio>
<texture border="12">masks/homeMenuButton.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>-2</posy>
<width>72</width>
<height>36</height>
<aligny>center</aligny>
<align>center</align>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
</control>
</control>
<control type="textbox">
<visible>!controlgroup(9000).hasfocus</visible>
<posx>12</posx>
<posy>388</posy>
<width>228</width>
<height>60</height>
<align>center</align>
<aligny>top</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.title]</label>
</control>
</itemlayout>
<focusedlayout width="300" height="462">
<control type="group">
<include>focusThumb</include>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>252</width>
<height>378</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/poster.png">$INFO[ListItem.Art(poster)]</texture>
<bordertexture infill="false" diffuse="masks/poster.png">colors/white.png</bordertexture>
<bordersize>6</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="group">
<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0)</visible>
<posx>168</posx>
<posy>12</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>72</width>
<height>36</height>
<aspectratio>stretch</aspectratio>
<texture border="12">masks/homeMenuButton.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>-2</posy>
<width>72</width>
<height>36</height>
<aligny>center</aligny>
<align>center</align>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
</control>
</control>
<control type="textbox">
<visible>!controlgroup(9000).hasfocus</visible>
<posx>12</posx>
<posy>388</posy>
<width>228</width>
<height>60</height>
<align>center</align>
<aligny>top</aligny>
<font>thumbTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.title]</label>
</control>
</control>
</focusedlayout>
</control>
</control>
</include>
</includes>