Skip to content

Commit

Permalink
[confluence] fix showing "Now playling..." when nothing is playing bu…
Browse files Browse the repository at this point in the history
…t the playlist isn't empty
  • Loading branch information
Montellese committed Nov 7, 2013
1 parent 894ca84 commit 8059b24
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions addons/skin.confluence/720p/includes.xml
Expand Up @@ -30,8 +30,8 @@
<value condition="IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Icon]</value>
</variable>
<variable name="PlayList">
<value condition="Player.HasVideo">ActivateWindow(videoplaylist)</value>
<value condition="Player.HasAudio">ActivateWindow(musicplaylist)</value>
<value condition="Window.IsActive(videolibrary) + !StringCompare(Playlist.Length(video),0)">ActivateWindow(videoplaylist)</value>
<value condition="[Window.IsActive(musiclibrary) | Window.IsActive(musicfiles)] + !StringCompare(Playlist.Length(music),0)">ActivateWindow(musicplaylist)</value>
</variable>

<include name="BehindDialogFadeOut">
Expand Down Expand Up @@ -896,8 +896,7 @@
<include>ButtonCommonValues</include>
<label>13350</label>
<onclick>$VAR[PlayList]</onclick>
<visible>Player.HasMedia</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
<visible>[Window.IsActive(videolibrary) + !StringCompare(Playlist.Length(video),0)] | [[Window.IsActive(musiclibrary) | Window.IsActive(musicfiles)] + !StringCompare(Playlist.Length(music),0)]</visible>
<visible>!Window.IsVisible(MusicPlaylist) + !Window.IsVisible(VideoPlaylist)</visible>
</control>
</include>
Expand Down

0 comments on commit 8059b24

Please sign in to comment.