skin.pellucid/1080i/custom_musicPlayerOptions.xml

348 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1105">
<defaultcontrol always="true">8001</defaultcontrol>
<controls>
<control type="label">
<posx>col-1-begin</posx>
<posy>row-1-begin</posy>
<width>12-col</width>
<font>pageTitle</font>
<label>$INFO[System.Time]</label>
<textcolor>textActive</textcolor>
</control>
<control type="label">
<posx>col-1-begin</posx>
<posy>94</posy>
<width>12-col</width>
<font>pageSubTitle</font>
<label>$INFO[System.Date(DDD)], $INFO[system.Date(mmm d)]</label>
<textcolor>textActive</textcolor>
</control>
<!-- options menu-->
<control type="group">
<posx>1438</posx>
<posy>0</posy>
<animation type="Windowopen">
<effect type="fade" start="0" end="100" time="300" delay="100"/>
<effect type="slide" start="800" end="0" tween="cubic" easing="out" time="400" delay="100"/>
</animation>
<animation type="windowClose">
<effect type="fade" start="100" end="0" time="350"/>
<effect type="slide" start="0" end="900" tween="cubic" easing="out" time="400"/>
</animation>
<!--overlay-->
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>10-col</width>
<height>fullscreenHeight</height>
<texture>colors/black.png</texture>
<colordiffuse>cc111111</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>-6</posx>
<posy>0</posy>
<width>6</width>
<height>fullscreenHeight</height>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--thumbnail-->
<control type="image">
<posx>27</posx>
<posy>24</posy>
<width>6-col</width>
<height>6-col</height>
<texture fallback="DefaultAlbumCover.png">$INFO[MusicPlayer.Cover]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--player controls-->
<control type="panel" id="8001">
<posx>27</posx>
<posy>384</posy>
<width>6-col</width>
<height>2-row</height>
<itemgap>0</itemgap>
<ondown>8002</ondown>
<onup>Control.SetFocus(8003,4)</onup>
<orientation>horizontal</orientation>
<itemlayout width="1-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/black.png</texture>
<colordiffuse>textboxInactive</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</itemlayout>
<focusedlayout width="1-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
</focusedlayout>
<content>
<item>
<description>Previous</description>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(previous)</onclick>
</item>
<item>
<description>Rewind</description>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(rewind)</onclick>
</item>
<item>
<description>Stop</description>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(stop)</onclick>
<onclick>Dialog.Close(1105)</onclick>
<onclick>Dialog.Close(1103)</onclick>
</item>
<item>
<visible>Player.Playing | player.forwarding | player.rewinding</visible>
<description>Play/Pause</description>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(play)</onclick>
</item>
<item>
<visible>Player.Paused</visible>
<description>Pause</description>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(play)</onclick>
</item>
<item>
<description>Fast forward</description>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(forward)</onclick>
</item>
<item>
<description>Next Chapter</description>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(next)</onclick>
</item>
</content>
</control>
<!--Star rating-->
<control type="group">
<posx>24</posx>
<posy>14-row</posy>
<control type="image">
<visible>control.hasfocus(8002)</visible>
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>69</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<label></label>
</control>
<control type="button" id="8002">
<posx>1-col</posx>
<posy>0</posy>
<height>2-row</height>
<width>5-col</width>
<font>symbolLarge</font>
<textoffsetx>12</textoffsetx>
<label>$VAR[starRating]</label>
<onup>8001</onup>
<ondown>control.setfocus(8003,0)</ondown>
<onleft>decreaserating</onleft>
<onright>increaserating</onright>
<onclick>noop</onclick>
</control>
</control>
<!--final options-->
<control type="panel" id="8003">
<posx>24</posx>
<posy>16-row</posy>
<width>429</width>
<height>14-row</height>
<orientation>vertical</orientation>
<onup>8002</onup>
<ondown>Control.SetFocus(8001,3)</ondown>
<itemlayout width="6-col" height="2-row">
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>5-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="6-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>6-col</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<colordiffuse>eeffffff</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbolLarge</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col-indent</posx>
<posy>0</posy>
<width>5-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
</focusedlayout>
<content>
<item>
<description>go to artist</description>
<label>31155</label>
<label2></label2>
<thumb>-</thumb>
<onclick condition="!System.hasAddon(script.musicfinder)">InstallAddon(script.musicfinder)</onclick>
<onclick condition="System.hasAddon(script.musicfinder)">Dialog.Close(all,true)</onclick>
<onclick condition="System.hasAddon(script.musicfinder)">Runscript(script.musicfinder,action=artist,title=$INFO[musicplayer.artist],listid=50)</onclick>
</item>
<item>
<description>go to album</description>
<label>31158</label>
<label2></label2>
<thumb>-</thumb>
<onclick condition="!System.hasAddon(script.musicfinder)">InstallAddon(script.musicfinder)</onclick>
<onclick condition="System.hasAddon(script.musicfinder)">Dialog.Close(all,true)</onclick>
<onclick condition="System.hasAddon(script.musicfinder)">Runscript(script.musicfinder,action=album,title=$INFO[musicplayer.album],listid=50)</onclick>
</item>
<item>
<description>Playlist</description>
<label>31123</label>
<label2></label2>
<thumb>-</thumb>
<onclick>Dialog.Close(all,true)</onclick>
<onclick>action(back)</onclick>
<onclick>activateWindow(musicplaylist)</onclick>
</item>
<item>
<description>Repeat</description>
<label>$VAR[repeatState]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>PlayerControl(Repeat)</onclick>
</item>
<item>
<description>Shuffle</description>
<label>$VAR[shuffleState]</label>
<label2></label2>
<thumb>-</thumb>
<onclick condition="!Playlist.IsRandom">PlayerControl(RandomOn)</onclick>
<onclick condition="Playlist.IsRandom">PlayerControl(RandomOff)</onclick>
</item>
<item>
<description>Visualisation</description>
<label>31032</label>
<label2></label2>
<thumb>-</thumb>
<onclick>activateWindow(musicOSD)</onclick>
</item>
<item>
<visible>Visualisation.HasPresets</visible>
<description>Visualisation Settings</description>
<label>$LOCALIZE[21417]</label>
<label2></label2>
<thumb>-</thumb>
<onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
</item>
</content>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>custom_musicPlayerOptions.xml</label>
</control>
</controls>
</window>