Skip to content

Commit

Permalink
[confluence] add "Now playing..." to sidebar player controls
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Aug 2, 2013
1 parent 3d92f83 commit cb531fc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
4 changes: 2 additions & 2 deletions addons/skin.confluence/720p/MyMusicNav.xml
Expand Up @@ -56,9 +56,9 @@
<include>SideBladeLeft</include>
<control type="grouplist" id="9000">
<posx>0</posx>
<posy>110</posy>
<posy>60</posy>
<width>250</width>
<height>600</height>
<height>650</height>
<onleft>9000</onleft>
<onright>50</onright>
<onup>9000</onup>
Expand Down
4 changes: 2 additions & 2 deletions addons/skin.confluence/720p/MyVideoNav.xml
Expand Up @@ -60,9 +60,9 @@
<include>SideBladeLeft</include>
<control type="grouplist" id="9000">
<posx>0</posx>
<posy>110</posy>
<posy>60</posy>
<width>250</width>
<height>600</height>
<height>650</height>
<onleft>9000</onleft>
<onright>50</onright>
<onup>9000</onup>
Expand Down
4 changes: 2 additions & 2 deletions addons/skin.confluence/720p/MyWeather.xml
Expand Up @@ -723,9 +723,9 @@
<include>SideBladeLeft</include>
<control type="grouplist" id="9000">
<posx>0</posx>
<posy>110</posy>
<posy>60</posy>
<width>250</width>
<height>610</height>
<height>650</height>
<onleft>9000</onleft>
<onright>50</onright>
<onup>9000</onup>
Expand Down
15 changes: 14 additions & 1 deletion addons/skin.confluence/720p/includes.xml
Expand Up @@ -28,6 +28,10 @@
<value condition="!IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(poster)]</value>
<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>
</variable>

<include name="BehindDialogFadeOut">
<control type="image">
Expand Down Expand Up @@ -148,7 +152,7 @@
<control type="image">
<description>LOGO</description>
<posx>15</posx>
<posy>50</posy>
<posy>0</posy>
<width>220</width>
<height>80</height>
<aspectratio>keep</aspectratio>
Expand Down Expand Up @@ -887,6 +891,15 @@
<textureradionofocus>GoFullscreen.png</textureradionofocus>
<visible>Player.HasMedia</visible>
</control>
<control type="button" id="612">
<description>Go to playlist</description>
<include>ButtonCommonValues</include>
<label>13350</label>
<onclick>$VAR[PlayList]</onclick>
<visible>Player.HasMedia</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
<visible>!Window.IsVisible(MusicPlaylist) + !Window.IsVisible(VideoPlaylist)</visible>
</control>
</include>
<include name="ScrollOffsetLabel">
<control type="group">
Expand Down

0 comments on commit cb531fc

Please sign in to comment.