Created
February 17, 2021 18:33
-
-
Save jjd-uk/6b92c2f58ed286aeeb41200744ea8559 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<window> | |
<defaultcontrol/> | |
<controls> | |
<control type="visualisation" id="2"> | |
<!-- FIX ME Music Visualization needs to have an id of 2 in this window to be able to lock or change preset --> | |
<description>visualisation</description> | |
<left>0</left> | |
<top>0</top> | |
<width>1280</width> | |
<height>720</height> | |
</control> | |
<control type="image"> | |
<description>Fanart Image for Artist</description> | |
<left>0</left> | |
<top>0</top> | |
<width>1280</width> | |
<height>720</height> | |
<aspectratio>scale</aspectratio> | |
<texture background="true">$INFO[Player.Art(fanart)]</texture> | |
<colordiffuse>AAFFFFFF</colordiffuse> | |
<visible>!String.IsEmpty(Player.Art(fanart)) + !Skin.HasSetting(HideVisualizationFanart)</visible> | |
<fadetime>600</fadetime> | |
</control> | |
<!-- media infos --> | |
<control type="group"> | |
<depth>DepthOSD</depth> | |
<animation effect="fade" time="150">VisibleChange</animation> | |
<visible>[Player.ShowInfo | Window.IsActive(MusicOSD)] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVRChannelGuide) | Window.IsVisible(PVRRadioRDSInfo) | Window.IsVisible(Addon)]</visible> | |
<control type="image"> | |
<left>-20</left> | |
<top>-150</top> | |
<width>1320</width> | |
<height>256</height> | |
<texture flipy="true" border="1">HomeNowPlayingBack.png</texture> | |
</control> | |
<control type="label"> | |
<description>Partymode Header label</description> | |
<left>30</left> | |
<top>5</top> | |
<width>800</width> | |
<height>25</height> | |
<align>left</align> | |
<aligny>center</aligny> | |
<font>font13</font> | |
<textcolor>white</textcolor> | |
<shadowcolor>black</shadowcolor> | |
<label>$LOCALIZE[589]</label> | |
<visible>MusicPartyMode.Enabled</visible> | |
</control> | |
<control type="label"> | |
<description>Normal Header label</description> | |
<left>30</left> | |
<top>5</top> | |
<width>800</width> | |
<height>25</height> | |
<align>left</align> | |
<aligny>center</aligny> | |
<font>font13</font> | |
<textcolor>white</textcolor> | |
<shadowcolor>black</shadowcolor> | |
<label>$INFO[musicplayer.Playlistposition,$LOCALIZE[554]: ]$INFO[musicplayer.Playlistlength, / ]</label> | |
<visible>!MusicPartyMode.Enabled</visible> | |
</control> | |
<control type="label"> | |
<description>Clock label</description> | |
<left>450</left> | |
<top>5</top> | |
<width>800</width> | |
<height>25</height> | |
<align>right</align> | |
<aligny>center</aligny> | |
<font>font13</font> | |
<textcolor>white</textcolor> | |
<shadowcolor>black</shadowcolor> | |
<label>$INFO[System.Time]</label> | |
<animation effect="slide" start="0,0" end="-30,0" time="0" condition="Player.Muted">conditional</animation> | |
<animation effect="slide" start="0,0" end="-70,0" time="0" condition="system.getbool(input.enablemouse) + Window.IsVisible(MusicOSD)">conditional</animation> | |
</control> | |
<control type="image"> | |
<left>-20</left> | |
<top>230r</top> | |
<width>1320</width> | |
<height>230</height> | |
<texture border="1">HomeNowPlayingBack.png</texture> | |
</control> | |
<control type="image"> | |
<depth>DepthOSDPopout</depth> | |
<description>cover image</description> | |
<left>20</left> | |
<top>250r</top> | |
<width>300</width> | |
<height>230</height> | |
<texture fallback="DefaultAlbumCover.png">$INFO[Player.Art(thumb)]</texture> | |
<aspectratio aligny="bottom">keep</aspectratio> | |
<bordertexture border="8">ThumbShadow.png</bordertexture> | |
<bordersize>8</bordersize> | |
</control> | |
<control type="group"> | |
<left>330</left> | |
<top>185r</top> | |
<control type="label" id="1"> | |
<description>Heading label</description> | |
<left>0</left> | |
<top>0</top> | |
<width>910</width> | |
<height>25</height> | |
<align>left</align> | |
<font>font13</font> | |
<label>$LOCALIZE[31040]</label> | |
<textcolor>white</textcolor> | |
<shadowcolor>black</shadowcolor> | |
<visible>![VideoPlayer.Content(LiveTV) + [PVR.IsRecordingPlayingChannel | PVR.IsPlayingActiveRecording]]</visible> | |
<animation effect="slide" start="0,0" end="0,25" time="0" condition="String.IsEmpty(MusicPlayer.Artist) + String.IsEmpty(MusicPlayer.Album)">conditional</animation> | |
</control> | |
<control type="image" id="1"> | |
<left>0</left> | |
<top>25</top> | |
<width>50</width> | |
<height>25</height> | |
<aspectratio align="center" aligny="center">keep</aspectratio> | |
<texture>PVR-IsRecording.png</texture> | |
<visible>VideoPlayer.Content(LiveTV) + [[PVR.IsRecordingPlayingChannel + !Player.ChannelPreviewActive] | PVR.IsPlayingActiveRecording]</visible> | |
</control> | |
<control type="label" id="1"> | |
<description>Heading label</description> | |
<left>50</left> | |
<top>0</top> | |
<width>910</width> | |
<height>25</height> | |
<align>left</align> | |
<font>font13</font> | |
<label>$LOCALIZE[19158]</label> | |
<textcolor>white</textcolor> | |
<shadowcolor>black</shadowcolor> | |
<visible>VideoPlayer.Content(LiveTV) + [[PVR.IsRecordingPlayingChannel + !Player.ChannelPreviewActive] | PVR.IsPlayingActiveRecording]</visible> | |
<animation effect="slide" start="0,0" end="0,25" time="0" condition="String.IsEmpty(MusicPlayer.Artist) + String.IsEmpty(MusicPlayer.Album)">conditional</animation> | |
</control> | |
<control type="label" id="1"> | |
<description>Artist label</description> | |
<left>20</left> | |
<top>30</top> | |
<width>910</width> | |
<height>25</height> | |
<align>left</align> | |
<font>font12</font> | |
<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label> | |
<textcolor>grey2</textcolor> | |
<shadowcolor>black</shadowcolor> | |
</control> | |
<control type="grouplist"> | |
<left>20</left> | |
<top>62</top> | |
<width>910</width> | |
<height>35</height> | |
<itemgap>5</itemgap> | |
<orientation>horizontal</orientation> | |
<control type="label"> | |
<width min="10" max="638">auto</width> | |
<height>20</height> | |
<font>font30</font> | |
<align>left</align> | |
<aligny>center</aligny> | |
<label>$INFO[Player.Title]</label> | |
<textcolor>orange</textcolor> | |
<scroll>true</scroll> | |
</control> | |
<control type="image"> | |
<description>Audio Codec Image</description> | |
<width>81</width> | |
<height>29</height> | |
<texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture> | |
<visible>!Player.ChannelPreviewActive</visible> | |
</control> | |
<control type="group"> | |
<description>Rating</description> | |
<width>172</width> | |
<height>29</height> | |
<control type="image"> | |
<description>rating back</description> | |
<left>0</left> | |
<top>0</top> | |
<width>172</width> | |
<height>29</height> | |
<texture border="5">flagging/blank.png</texture> | |
</control> | |
<control type="image"> | |
<description>User Rating</description> | |
<left>2</left> | |
<top>5</top> | |
<width>168</width> | |
<height>21</height> | |
<texture fallback="ratings/0.png">$INFO[MusicPlayer.UserRating,ratings/,.png]</texture> | |
</control> | |
</control> | |
</control> | |
<control type="label"> | |
<left>0</left> | |
<top>120</top> | |
<width>910</width> | |
<height>25</height> | |
<label>$LOCALIZE[19031]: $INFO[MusicPlayer.offset(1).Artist,, - ]$INFO[MusicPlayer.offset(1).Title]</label> | |
<align>center</align> | |
<aligny>center</aligny> | |
<font>font12</font> | |
<textcolor>grey</textcolor> | |
<scroll>true</scroll> | |
<visible>MusicPlayer.HasNext + !Window.IsVisible(MusicOSD)</visible> | |
<animation effect="fade" time="150">VisibleChange</animation> | |
</control> | |
</control> | |
<control type="group"> | |
<left>330</left> | |
<top>95r</top> | |
<control type="label"> | |
<left>0</left> | |
<top>0</top> | |
<width>100</width> | |
<height>40</height> | |
<font>font13</font> | |
<align>left</align> | |
<aligny>center</aligny> | |
<label>$INFO[Player.Time(hh:mm:ss)]</label> | |
</control> | |
<control type="progress"> | |
<description>Progressbar</description> | |
<left>100</left> | |
<top>15</top> | |
<width>720</width> | |
<height>16</height> | |
<info>Player.Progress</info> | |
</control> | |
<control type="label"> | |
<left>820</left> | |
<top>0</top> | |
<width>100</width> | |
<height>40</height> | |
<font>font13</font> | |
<align>right</align> | |
<aligny>center</aligny> | |
<label>$INFO[Player.Duration(hh:mm:ss)]</label> | |
</control> | |
</control> | |
</control> | |
</controls> | |
</window> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment