skin.pellucidPlus/1080i/Includes_variables.xml

92 lines
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--Skin variables-->
<includes>
<!--folder titles-->
<variable name="listTitle">
<value condition="Window.isactive(1106)">$LOCALIZE[31012]</value>
<value condition="Window.isactive(Videos) + Substring(Container.folderpath,plugin)">$INFO[container.foldername] $INFO[ListItem.TVShowTitle,- ,] $INFO[ListItem.season,$LOCALIZE[31011] ,]</value>
<value condition="Window.isactive(Videos) + Container.Content(movies)">$LOCALIZE[20342] [COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR]</value>
<value condition="Window.isactive(Videos) + Container.Content(tvshows)">$LOCALIZE[31216] [COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR]</value>
<value condition="Window.isactive(Videos) + [Container.Content(seasons) | Container.Content(episodes)]">$LOCALIZE[20343]</value>
<value condition="Window.isactive(Videos) + !isEmpty(container.foldername)">$INFO[container.foldername]</value>
<value condition="Window.isactive(Videos) + isEmpty(container.foldername)">$LOCALIZE[31012]</value>
<value condition="Window.isactive(Music) + SubString(container.folderpath,addons://)">$LOCALIZE[31058]</value>
<value condition="Window.isactive(Music) + SubString(container.folderpath,plugin://)">$INFO[container.foldername]</value>
<value condition="Window.isactive(Music) + Container.Content(albums)">$LOCALIZE[31037] [COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR]</value>
<value condition="Window.isactive(Music) + Container.Content(artists)">$LOCALIZE[31024] [COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR]</value>
<value condition="Window.isactive(Music) + Container.Content(songs)">$LOCALIZE[31182]</value>
<value condition="Window.isactive(Music) + !container.content(genres) + SubString(container.folderpath,musicdb://genres)">$LOCALIZE[31199] [COLOR highlight]$INFO[container.foldername][/COLOR]</value>
<value condition="Window.isactive(Music) + !isEmpty(container.foldername)">$INFO[container.foldername]</value>
<value condition="Window.isactive(Music) + isEmpty(container.foldername)">$LOCALIZE[31053]</value>
<!--
<value condition="Window.isactive(Music) + SubString(container.foldername,playlists)">$LOCALIZE[20011]</value>
-->
</variable>
<variable name="listSubTitle">
<value condition="Window.isactive(Videos)">$INFO[container.Numitems,, $LOCALIZE[31014]] $VAR[unwatchedOnly]</value>
<value condition="Window.isactive(1106)">$INFO[Window(Home).Property(Movies.Count),, $LOCALIZE[20342] • ]$INFO[Window(Home).Property(TVShows.Count),, $LOCALIZE[20343] • ]$INFO[Window(Home).Property(Music.AlbumsCount),, $LOCALIZE[132]]</value>
<value condition="Window.isactive(Music)">$INFO[container.Numitems,, $LOCALIZE[31014]]</value>
</variable>
<!--list view item detail / subheader-->
<variable name="itemDetail">
<value condition="Container.Content(movies)">$INFO[Listitem.duration,, $LOCALIZE[31018]]</value>
<value condition="Container.Content(tvshows) + !isempty(listitem.property(totalseasons))">[B]$INFO[ListItem.Property(TotalSeasons)][/B] $LOCALIZE[31188] • [B]$INFO[ListItem.Property(NumEpisodes)][/B] $LOCALIZE[31189]</value>
<value condition="Container.Content(seasons)">$INFO[ListItem.Property(UnWatchedEpisodes),, $LOCALIZE[16101]]</value>
<value condition="Container.Content(artists)">$INFO[ListItem.Property(Artist_Genre)]</value>
<value/>
</variable>
<!--Music player shuffle state-->
<variable name="shuffleState">
<value condition="Playlist.IsRandom">$LOCALIZE[191]: $LOCALIZE[16041]</value>
<value>$LOCALIZE[191]: $LOCALIZE[16039]</value>
</variable>
<!--offset song view, show artist / album if parent view is active-->
<variable name="songViewArtist">
<value condition="ListItem.IsParentFolder">$INFO[ListItem(1).Artist] $INFO[ListItem(1).Year,(,)]</value>
<value>$INFO[ListItem.Artist] $INFO[ListItem.Year,(,)]</value>
</variable>
<variable name="songViewAlbum">
<value condition="ListItem.IsParentFolder">$INFO[ListItem(1).Album]</value>
<value>$INFO[ListItem.Album]</value>
</variable>
<variable name="songViewThumb">
<value condition="ListItem.IsParentFolder">$INFO[ListItem(1).art(thumb)]</value>
<value>$INFO[ListItem.art(thumb)]</value>
</variable>
<!--Music player repeat state-->
<variable name="repeatState">
<value condition="Playlist.IsRepeat">$LOCALIZE[597]</value>
<value condition="Playlist.IsRepeatOne">$LOCALIZE[596]</value>
<value condition="!Playlist.IsRepeat + !Playlist.IsRepeatOne">$LOCALIZE[595]</value>
</variable>
<!--unwatched only filter active-->
<variable name="unwatchedOnly">
<value condition="System.Setting(hidewatched)">$LOCALIZE[31213]</value>
</variable>
<!--Star rating for music tracks-->
<variable name="starRating">
<value condition="stringcompare(MusicPlayer.UserRating,1)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,2)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,3)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,4)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,5)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,6)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,7)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,8)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,9)"></value>
<value condition="stringcompare(MusicPlayer.UserRating,10)"></value>
<value></value>
</variable>
<!--home background location-->
<variable name="homeBackgroundLocation">
<value condition="!isempty(Skin.String(homeBackground))">$INFO[Skin.String(homeBackground)]</value>
<value>special://skin/extras/homeBackgrounds</value>
</variable>
<!--menu logos-->
<variable name="menuLogo">
<value condition="window.isactive(pictures)"></value>
<value condition="[window.isactive(1106) + String.IsEqual(skin.string(recentitems),music)] | window.isactive(music) | window.isactive(radiochannels) | window.isactive(radioguide) | window.isactive(radiorecordings) | window.isactive(radiotimers) | window.isactive(musicplaylist)"></value>
<value condition="[window.isactive(1106) + String.IsEqual(skin.string(recentitems),video)] | window.isactive(videos) | window.isactive(tvchannels) | window.isactive(tvrecordings) | window.isactive(tvguide) | window.isactive(tvtimers) | window.isactive(videoplaylist)"></value>
</variable>
</includes>