317 lines
14 KiB
XML
317 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<window type="dialog" id="1105">
|
|
<defaultcontrol always="true">8001</defaultcontrol>
|
|
<include>fadeInOut</include>
|
|
<controls>
|
|
<!-- options menu-->
|
|
<control type="group">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<!--overlay-->
|
|
<control type="image">
|
|
<include>dimensionsFullscreen</include>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>e9FFFFFF</colordiffuse>
|
|
<aspectratio>stretch</aspectratio>
|
|
</control>
|
|
<control type="group">
|
|
<include>modalDialogInOut</include>
|
|
<posx>col-10-begin</posx>
|
|
<posy>row-7-begin</posy>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>0</posy>
|
|
<width>6-col</width>
|
|
<height>69</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/white.png</texture>
|
|
<colordiffuse>highlight</colordiffuse>
|
|
</control>
|
|
<control type="image">
|
|
<posx>0</posx>
|
|
<posy>2-row</posy>
|
|
<width>6-col</width>
|
|
<height>16-row</height>
|
|
<aspectratio>stretch</aspectratio>
|
|
<texture>colors/black.png</texture>
|
|
<colordiffuse>overlay</colordiffuse>
|
|
</control>
|
|
<!--player controls-->
|
|
<control type="panel" id="8001">
|
|
<posx>0</posx>
|
|
<posy>0</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="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>69</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>highlight</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>0</posx>
|
|
<posy>2-row</posy>
|
|
<control type="image">
|
|
<visible>control.hasfocus(8002)</visible>
|
|
<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="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>0</posx>
|
|
<posy>4-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>
|
|
</control>
|
|
<!--debugging-->
|
|
<include>DebugGrid</include>
|
|
<control type="label">
|
|
<include>DialogID</include>
|
|
<label>custom_musicPlayerOptions.xml</label>
|
|
</control>
|
|
</controls>
|
|
</window>
|