86 lines
6.0 KiB
XML
86 lines
6.0 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(seasons) | Container.Content(tvshows) | Container.Content(episodes)]">$LOCALIZE[20343] [COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod][/COLOR]</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) + !SubString(container.folderpath,musicdb://albums)">$LOCALIZE[31037] [COLOR highlight]$INFO[container.foldername][/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>
|
|
<!--fullscreeninfo titles-->
|
|
<variable name="nowPlayingTitle">
|
|
<value condition="!StringCompare(VideoPlayer.title,VideoPlayer.TVShowTitle)">$INFO[videoplayer.tvshowtitle] $INFO[videoplayer.title]</value>
|
|
<value condition="StringCompare(VideoPlayer.title,VideoPlayer.TVShowTitle)">$INFO[videoplayer.title]</value>
|
|
</variable>
|
|
<!--Shift progress dialogs where possible to avoid overlaps-->
|
|
<variable name="progressDialogPosition">
|
|
<value condition="window.isactive(infodialog) + !window.isactive(extendedprogressdialog)">209</value>
|
|
<value condition="window.isactive(infodialog) + window.isactive(extendedprogressdialog)">323</value>
|
|
<value>95</value>
|
|
</variable>
|
|
<!--Star rating for music tracks-->
|
|
<variable name="starRating">
|
|
<value condition="SubString(MusicPlayer.Rating,1)"></value>
|
|
<value condition="SubString(MusicPlayer.Rating,2)"></value>
|
|
<value condition="SubString(MusicPlayer.Rating,3)"></value>
|
|
<value condition="SubString(MusicPlayer.Rating,4)"></value>
|
|
<value condition="SubString(MusicPlayer.Rating,5)"></value>
|
|
<value></value>
|
|
</variable>
|
|
</includes>
|