-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mod] Added LastFM Buttons & Stop Button to the Music OSD
- Loading branch information
CF2009
committed
May 2, 2009
1 parent
994da29
commit 198be08
Showing
4 changed files
with
346 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,346 @@ | ||
<window id="120"> | ||
<defaultcontrol>13</defaultcontrol> | ||
|
||
<controls> | ||
|
||
<control type="group"> | ||
<posx>0</posx> | ||
<posy>561</posy> | ||
<width>1280</width> | ||
<height>159</height> | ||
<include>Animation_CommonFade</include> | ||
|
||
<control type="image"> | ||
<description>Panel</description> | ||
<posx>0</posx> | ||
<posy>0</posy> | ||
<height>159</height> | ||
<width>1280</width> | ||
<colordiffuse>cdffffff</colordiffuse> | ||
<texture>osd/osd_back.png</texture> | ||
</control> | ||
|
||
<control type="grouplist" id="213"> | ||
<posx>241</posx><!--284 to 241--> | ||
<posy>60</posy> | ||
<width>950</width><!--715 to 950--> | ||
<height>96</height> | ||
<itemgap>-10</itemgap> | ||
<onup>-</onup> | ||
<ondown>-</ondown> | ||
<orientation>horizontal</orientation> | ||
|
||
<animation effect="slide" start="0,0" end="-75,0" time="0" condition="LastFM.RadioPlaying">Conditional</animation><!-- <<<<< ADD this --> | ||
|
||
<control type="button" id="9"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.ActivateWindow(500)</onclick> | ||
</control> | ||
<control type="button" id="500"> | ||
<include>Objects_OSDButton</include> | ||
</control> | ||
<control type="button" id="11"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.PlayerControl(Previous)</onclick> | ||
</control> | ||
<control type="button" id="12"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.PlayerControl(Rewind)</onclick> | ||
</control> | ||
<control type="button" id="13"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.PlayerControl(Play)</onclick> | ||
</control> | ||
<control type="button" id="14"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.PlayerControl(Stop)</onclick> | ||
</control> | ||
<control type="button" id="15"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.PlayerControl(Forward)</onclick> | ||
</control> | ||
<control type="button" id="16"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.PlayerControl(Next)</onclick> | ||
</control> | ||
<control type="button" id="920"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.ActivateWindow(122)</onclick> | ||
</control> | ||
<control type="button" id="919"> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.ActivateWindow(121)</onclick> | ||
</control> | ||
<!-- LastFM Love Hate --><!-- <<<<< ADD this --> | ||
<control type="button" id="1101"> | ||
<visible>LastFM.RadioPlaying</visible> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.LastFM.Love</onclick> | ||
</control> | ||
<control type="button" id="1102"> | ||
<visible>LastFM.RadioPlaying</visible> | ||
<include>Objects_OSDButton</include> | ||
<onclick>XBMC.LastFM.Ban</onclick> | ||
</control> | ||
</control> | ||
|
||
<control type="grouplist" id="214"> | ||
<posx>241</posx><!--284 to 241--> | ||
<posy>60</posy> | ||
<width>925</width><!--702 to 925--> | ||
<height>96</height> | ||
<itemgap>-10</itemgap> | ||
<orientation>horizontal</orientation> | ||
|
||
<animation effect="slide" start="0,0" end="-75,0" time="0" condition="LastFM.RadioPlaying">Conditional</animation><!-- <<<<< ADD this --> | ||
|
||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_playlist.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(9)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_video.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(500)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_skipbwd.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(11)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_rew.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(12)">Conditional</animation> | ||
</control> | ||
<control type="togglebutton"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_play.png</texturenofocus> | ||
<alttexturenofocus>osd/osd_button_pause.png</alttexturenofocus> | ||
<usealttexture>!Player.Paused</usealttexture> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(13)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_Stop.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(14)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_ff.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(15)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_skipfwd.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(16)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_vis.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(920)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_settings.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(919)">Conditional</animation> | ||
</control> | ||
<!-- LastFM Love Hate --><!-- <<<<< ADD this --> | ||
<control type="button"> | ||
<visible>LastFM.RadioPlaying</visible> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_love.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(1101)">Conditional</animation> | ||
</control> | ||
<control type="button"> | ||
<visible>LastFM.RadioPlaying</visible> | ||
<include>Objects_OSDButtonTop</include> | ||
<texturenofocus>osd/osd_button_ban.png</texturenofocus> | ||
<animation effect="fade" start="100" end="50" time="200" condition="!Control.HasFocus(1102)">Conditional</animation> | ||
</control> | ||
|
||
</control> | ||
|
||
<control type="progress" id="23"> | ||
<description>Progressbar</description> | ||
<posx>112</posx> | ||
<posy>40</posy> | ||
<width>1057</width> | ||
<height>15</height> | ||
<info>Player.Progress</info> | ||
<texturebg>osd/osd_progress_back.png</texturebg> | ||
<lefttexture>osd/osd_progress_left.png</lefttexture> | ||
<midtexture>osd/osd_progress_mid.png</midtexture> | ||
<righttexture>osd/osd_progress_right.png</righttexture> | ||
<overlaytexture>-</overlaytexture> | ||
<visible>true</visible> | ||
</control> | ||
|
||
<control type="image"> | ||
<posx>499</posx> | ||
<posy>-20</posy> | ||
<width>281</width> | ||
<height>28</height> | ||
<texture>osd/osd_button_paused.png</texture> | ||
<include>Animation_CommonFade</include> | ||
<visible>Player.Paused</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<posx>499</posx> | ||
<posy>-20</posy> | ||
<width>281</width> | ||
<height>28</height> | ||
<aligny>center</aligny> | ||
<align>center</align> | ||
<font>Font_OSDSeek</font> | ||
<textcolor>FF363636</textcolor> | ||
<include>Animation_CommonFade</include> | ||
<label>31007</label> | ||
<visible>Player.Paused</visible> | ||
</control> | ||
|
||
<control type="group"> | ||
<posx>-500</posx> | ||
<posy>-20</posy> | ||
<width>499</width> | ||
<height>28</height> | ||
<animation effect="slide" end="200,0" time="200" condition="Player.Forwarding2x">Conditional</animation> | ||
<animation effect="slide" end="275,0" time="200" condition="Player.Forwarding4x">Conditional</animation> | ||
<animation effect="slide" end="350,0" time="200" condition="Player.Forwarding8x">Conditional</animation> | ||
<animation effect="slide" end="425,0" time="200" condition="Player.Forwarding16x">Conditional</animation> | ||
<animation effect="slide" end="499,0" time="200" condition="Player.Forwarding32x">Conditional</animation> | ||
|
||
<control type="image"> | ||
<posx>0</posx> | ||
<posy>0</posy> | ||
<width>499</width> | ||
<height>28</height> | ||
<texture>osd/osd_button_reverse.png</texture> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekForward</include> | ||
<label>$LOCALIZE[31706] 2X</label> | ||
<visible>Player.Forwarding2x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekForward</include> | ||
<label>$LOCALIZE[31706] 4X</label> | ||
<visible>Player.Forwarding4x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekForward</include> | ||
<label>$LOCALIZE[31706] 8X</label> | ||
<visible>Player.Forwarding8x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekForward</include> | ||
<label>$LOCALIZE[31706] 16X</label> | ||
<visible>Player.Forwarding16x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekForward</include> | ||
<label>$LOCALIZE[31706] 32X</label> | ||
<visible>Player.Forwarding32x</visible> | ||
</control> | ||
|
||
</control> | ||
|
||
<control type="group"> | ||
<posx>1280</posx> | ||
<posy>-20</posy> | ||
<width>499</width> | ||
<height>28</height> | ||
<animation effect="slide" end="-200,0" time="200" condition="Player.Rewinding2x">Conditional</animation> | ||
<animation effect="slide" end="-275,0" time="200" condition="Player.Rewinding4x">Conditional</animation> | ||
<animation effect="slide" end="-350,0" time="200" condition="Player.Rewinding8x">Conditional</animation> | ||
<animation effect="slide" end="-425,0" time="200" condition="Player.Rewinding16x">Conditional</animation> | ||
<animation effect="slide" end="-499,0" time="200" condition="Player.Rewinding32x">Conditional</animation> | ||
|
||
<control type="image"> | ||
<posx>0</posx> | ||
<posy>0</posy> | ||
<width>499</width> | ||
<height>28</height> | ||
<texture>osd/osd_button_advance.png</texture> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekReverse</include> | ||
<label>$LOCALIZE[31705] 2X</label> | ||
<visible>Player.Rewinding2x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekReverse</include> | ||
<label>$LOCALIZE[31705] 4X</label> | ||
<visible>Player.Rewinding4x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekReverse</include> | ||
<label>$LOCALIZE[31705] 8X</label> | ||
<visible>Player.Rewinding8x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekReverse</include> | ||
<label>$LOCALIZE[31705] 16X</label> | ||
<visible>Player.Rewinding16x</visible> | ||
</control> | ||
|
||
<control type="label"> | ||
<include>Objects_OSDSeekReverse</include> | ||
<label>$LOCALIZE[31705] 32X</label> | ||
<visible>Player.Rewinding32x</visible> | ||
</control> | ||
|
||
</control> | ||
|
||
<control type="label"> | ||
<posx>112</posx> | ||
<posy>60</posy> | ||
<width>300</width> | ||
<height>25</height> | ||
<font>Font_OSDTime</font> | ||
<colordiffuse>d0FFFFFF</colordiffuse> | ||
<label>$INFO[MusicPlayer.Time]</label> | ||
</control> | ||
|
||
<control type="label"> | ||
<posx>1168</posx> | ||
<posy>60</posy> | ||
<width>300</width> | ||
<height>25</height> | ||
<font>Font_OSDTime</font> | ||
<align>right</align> | ||
<colordiffuse>d0FFFFFF</colordiffuse> | ||
<label>$INFO[MusicPlayer.Duration]</label> | ||
</control> | ||
|
||
<control type="selectbutton" id="503"> | ||
<posx>267</posx> | ||
<posy>-60</posy> | ||
<width>270</width> | ||
<height>54</height> | ||
<description>Visualisation Select Button</description> | ||
<texturebg border="5">dialogs/vis_select.png</texturebg> | ||
<onleft>503</onleft> | ||
<onright>503</onright> | ||
<onup>500</onup> | ||
<ondown>500</ondown> | ||
<font>Font_SettingsOptions</font> | ||
<visible allowhiddenfocus="true">Control.HasFocus(503)</visible> | ||
<include>Animation_CommonFade</include> | ||
</control> | ||
|
||
</control> | ||
|
||
</controls> | ||
</window> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.