skin.pellucid/xml/Includes_variables.xml

114 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--Skin variables-->
<includes>
<!--folder titles-->
<variable name="listTitle">
<value condition="Window.isactive(Videos) + Container.Content(musicvideos)">$LOCALIZE[20389] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(Videos) + [Container.Content(movies) | container.content(tvshows)] + String.Contains(Container.folderpath,special://profile/playlists/video)">[CAPITALIZE]$INFO[container.foldername][/CAPITALIZE] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(Videos) + String.Contains(Container.folderpath,plugin)">$INFO[container.foldername] $INFO[ListItem.TVShowTitle,- ,] $INFO[ListItem.season,$LOCALIZE[20373] ,]</value>
<value condition="Window.isactive(Videos) + Container.Content(movies)">$LOCALIZE[20342] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(Videos) + Container.Content(tvshows)">$LOCALIZE[31216] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(Videos) + [Container.Content(seasons) | Container.Content(episodes)]">$LOCALIZE[20343]</value>
<value condition="Window.isactive(Videos) + !String.IsEmpty(container.foldername)">$INFO[container.foldername]</value>
<value condition="Window.isactive(Videos) + String.IsEmpty(container.foldername)">$LOCALIZE[31012]</value>
<value condition="Window.isactive(Music) + String.Contains(Container.folderpath,special://profile/playlists)">[CAPITALIZE]$INFO[container.foldername][/CAPITALIZE]</value>
<value condition="Window.isactive(Music) + Container.Content(albums) + String.Contains(Container.folderpath,special://profile/playlists/music)">[CAPITALIZE]$INFO[container.foldername][/CAPITALIZE] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(Music) + String.contains(container.folderpath,spotify)">$INFO[container.foldername] [CAPITALIZE][COLOR highlight]$INFO[container.content][/COLOR][/CAPITALIZE]</value>
<value condition="Window.isactive(Music) + String.Contains(container.folderpath,addons://)">$LOCALIZE[1038]</value>
<value condition="Window.isactive(Music) + String.Contains(container.folderpath,plugin://)">$INFO[container.foldername]</value>
<value condition="Window.isactive(Music) + Container.Content(albums)">$LOCALIZE[132] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(Music) + Container.Content(artists)">$LOCALIZE[133] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(Music) + Container.Content(songs)">$LOCALIZE[182]</value>
<value condition="Window.isactive(Music) + !container.content(genres) + String.Contains(container.folderpath,musicdb://genres)">$LOCALIZE[31199] [COLOR highlight]$INFO[container.foldername][/COLOR]</value>
<value condition="Window.isactive(Music) + !String.IsEmpty(container.foldername)">$INFO[container.foldername]</value>
<value condition="Window.isactive(Music) + String.IsEmpty(container.foldername)">$LOCALIZE[14237]</value>
<value condition="Window.isactive(Weather)">$LOCALIZE[8]</value>
<value condition="Window.isactive(TVchannels) | Window.isactive(TVGuide)">$LOCALIZE[19020] [COLOR highlight]$LOCALIZE[31078][/COLOR]</value>
<value condition="Window.isactive(RadioChannels)">$LOCALIZE[19021] [COLOR highlight]$LOCALIZE[31078][/COLOR]</value>
<value condition="Window.isactive(TVRecordings)">$LOCALIZE[19020] [COLOR highlight]$LOCALIZE[31165][/COLOR]</value>
<value condition="Window.isactive(programs)">$LOCALIZE[10506]</value>
<value condition="Window.isactive(musicplaylist) | Window.isactive(videoplaylist)">$LOCALIZE[31123]</value>
<value condition="String.Contains(Container.FolderPath,plugin://plugin.program.akl/sources)">$LOCALIZE[31232] [LOWERCASE][COLOR highlight]All Platforms[/COLOR][/LOWERCASE]</value>
<value condition="String.Contains(Container.FolderPath,plugin://plugin.program.akl/source/)">$LOCALIZE[31232] [LOWERCASE][COLOR highlight]$INFO[listitem.property(platform)][/COLOR][/LOWERCASE]</value>
<value condition="Window.isactive(games)">$LOCALIZE[31232] [LOWERCASE][COLOR highlight]$INFO[container.foldername][/COLOR][/LOWERCASE]</value>
</variable>
<variable name="listSubTitle">
<value condition="Window.isactive(Videos)">$INFO[Container.NumAllItems,, $LOCALIZE[31014]]</value>
<value condition="Window.isactive(Music)">$INFO[container.NumAllItems,, $LOCALIZE[31014]]</value>
<value condition="Window.isactive(Weather)">$LOCALIZE[31212] $INFO[Window.Property(WeatherProvider)]</value>
<value condition="Window.isactive(TVchannels) | Window.isactive(RadioChannels) | Window.isactive(TVGuide)">$INFO[Pvr.BackendChannels] $LOCALIZE[19019] ($INFO[control.getlabel(29)])</value>
<value condition="Window.isactive(TVRecordings)">$INFO[container.NumAllItems] $LOCALIZE[31165] ($INFO[Pvr.BackendDiskSpace])</value>
<value condition="Window.isactive(programs)">$INFO[container.NumAllItems,, $LOCALIZE[31145]]</value>
<value condition="Window.isactive(games)">$INFO[container.NumAllItems,, $LOCALIZE[31145]]</value>
<value condition="Window.isactive(musicplaylist) | Window.isactive(videoplaylist)">$INFO[container.NumAllItems,, $LOCALIZE[31014]]</value>
</variable>
<!--list view item detail / subheader-->
<variable name="itemDetail">
<value condition="Container.Content(movies)">$INFO[Listitem.duration]</value>
<value condition="Container.Content(tvshows) + !String.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(TotalEpisodes)] $LOCALIZE[31189]</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[16041]</value>
<value condition="!Playlist.IsRandom">$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="String.IsEqual(MusicPlayer.UserRating,1)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,2)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,3)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,4)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,5)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,6)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,7)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,8)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,9)"></value>
<value condition="String.IsEqual(MusicPlayer.UserRating,10)"></value>
<value></value>
</variable>
<!--home background location-->
<variable name="homeBackgroundLocation">
<value condition="!String.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(games)"></value>
<value condition="Window.IsActive(pictures)"></value>
<value condition="window.isactive(music) | window.isactive(radiochannels) | window.isactive(radioguide) | window.isactive(radiorecordings) | window.isactive(radiotimers) | window.isactive(musicplaylist) | window.isactive(1103)"></value>
<value condition="window.isactive(videos) | window.isactive(tvchannels) | window.isactive(tvrecordings) | window.isactive(tvguide) | window.isactive(tvtimers) | window.isactive(videoplaylist)"></value>
</variable>
<!--extra fanart sourcing-->
<variable name="extraFanartLocation">
<value condition="container.content(movies)">$INFO[listitem.path,,extrafanart]</value>
<value condition="container.content(tvshows)">$INFO[listitem.filenameandpath,,extrafanart]</value>
<value condition="container.content(seasons)">$INFO[container.listitem.path,,extrafanart]</value>
</variable>
</includes>