[skin.confluence] Fix current playlist button

This commit is contained in:
HitcherUK 2016-10-12 16:37:42 +01:00
parent 9f13cccde8
commit 497a257a05

View File

@ -76,7 +76,7 @@
<value>$INFO[ListItem.TrackNumber,([COLOR=selected][B],[/B][/COLOR]) - ]$INFO[ListItem.Label]</value>
</variable>
<variable name="PlayList">
<value condition="Window.IsActive(videolibrary) + !String.IsEqual(Playlist.Length(video),0)">ActivateWindow(videoplaylist)</value>
<value condition="Window.IsActive(Videos) + !String.IsEqual(Playlist.Length(video),0)">ActivateWindow(videoplaylist)</value>
<value>ActivateWindow(musicplaylist)</value>
</variable>
<variable name="SelectBack">
@ -472,7 +472,7 @@
</include>
<include name="CommonNowPlaying">
<control type="group">
<visible>Player.HasMedia + String.IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))</visible>
<visible>Player.HasMedia + String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible>
<include>VisibleFadeEffect</include>
<animation effect="fade" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
<animation effect="fade" time="200" condition="Window.Next(Home)">WindowClose</animation>
@ -1049,7 +1049,7 @@
<include>ButtonCommonValues</include>
<label>13350</label>
<onclick>$VAR[PlayList]</onclick>
<visible>[Window.IsActive(videolibrary) + !String.IsEqual(Playlist.Length(video),0)] | [[Window.IsActive(musiclibrary) | Window.IsActive(musicfiles)] + !String.IsEqual(Playlist.Length(music),0)]</visible>
<visible>[Window.IsActive(Videos) + !String.IsEqual(Playlist.Length(video),0)] | [Window.IsActive(Music) + !String.IsEqual(Playlist.Length(music),0)]</visible>
</control>
</include>
<include name="ScrollOffsetLabel">