-
-
Save jjd-uk/8d904ee777e80910bf7862c4d9228c24 to your computer and use it in GitHub Desktop.
MusicVisualisation.xml - PeterD
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></defaultcontrol> | |
<backgroundcolor>background</backgroundcolor> | |
<onload condition="System.AddonIsEnabled(script.artistslideshow) + !Skin.HasSetting(hide_background_fanart)">RunScript(script.artistslideshow)</onload> | |
<controls> | |
<control type="visualisation" id="2"> | |
<include>FullScreenDimensions</include> | |
<visible>Player.HasAudio</visible> | |
</control> | |
<control type="group"> | |
<depth>DepthBackground</depth> | |
<include>FullScreenDimensions</include> | |
<visible>!Skin.HasSetting(hide_background_fanart)</visible> | |
<animation effect="zoom" start="105" end="130" center="auto" time="10000" tween="sine" easing="inout" pulse="true" condition="Skin.HasSetting(animate_background_fanart)">Conditional</animation> | |
<animation effect="slide" start="-30,-30" end="30,30" time="6000" tween="sine" easing="inout" pulse="true" condition="Skin.HasSetting(animate_background_fanart)">Conditional</animation> | |
<control type="image"> | |
<aspectratio>scale</aspectratio> | |
<fadetime>400</fadetime> | |
<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation> | |
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation> | |
<animation effect="fade" start="100" end="50" time="0" condition="Visualisation.Enabled">Conditional</animation> | |
<texture background="true">$INFO[Player.Art(fanart)]</texture> | |
<visible>String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))</visible> | |
</control> | |
<control type="image"> | |
<aspectratio>scale</aspectratio> | |
<fadetime>400</fadetime> | |
<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation> | |
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation> | |
<animation effect="fade" start="100" end="50" time="0" condition="Visualisation.Enabled">Conditional</animation> | |
<texture background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow.Image)]</texture> | |
</control> | |
</control> | |
<control type="group"> | |
<visible>!Visualisation.Enabled + [[String.IsEmpty(Player.Art(fanart)) + String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))] | Skin.HasSetting(hide_background_fanart)]</visible> | |
<include>ColoredBackgroundImages</include> | |
</control> | |
<control type="group"> | |
<visible>[Player.ShowInfo | Window.IsActive(musicosd)] + !MusicPlayer.Content(livetv)</visible> | |
<height>460</height> | |
<include>OpenClose_Left</include> | |
<include>Visible_Left</include> | |
<bottom>0</bottom> | |
<control type="image"> | |
<left>0</left> | |
<width>120%</width> | |
<height>280</height> | |
<texture colordiffuse="FFFFFFFF">dialogs/dialog-bg-nobo.png</texture> | |
</control> | |
<control type="image"> | |
<left>20</left> | |
<top>-140</top> | |
<include>Visible_Left</include> | |
<visible>[Player.ShowInfo | Window.IsActive(musicosd)] + !MusicPlayer.Content(livetv)</visible> | |
<width>400</width> | |
<height>400</height> | |
<fadetime>400</fadetime> | |
<aspectratio aligny="bottom">keep</aspectratio> | |
<texture fallback="DefaultAlbumCover.png" border="2">$INFO[MusicPlayer.Cover]</texture> | |
<bordertexture colordiffuse="border_alpha">colors/black.png</bordertexture> | |
<bordersize>4</bordersize> | |
</control> | |
<control type="group"> | |
<visible>[Player.ShowInfo | Window.IsActive(musicosd)] + ![Window.IsActive(playerprocessinfo) | MusicPlayer.Content(livetv)]</visible> | |
<include>Visible_Left</include> | |
<left>440</left> | |
<top>10</top> | |
<control type="label"> | |
<top>10</top> | |
<width>1450</width> | |
<height>50</height> | |
<aligny>center</aligny> | |
<label>[COLOR green]$INFO[MusicPlayer.TrackNumber,,. ][/COLOR][I]$INFO[Player.Title][/I]</label> | |
<font>font12</font> | |
<shadowcolor>black</shadowcolor> | |
<scroll>true</scroll> | |
</control> | |
<control type="label"> | |
<top>60</top> | |
<width>1450</width> | |
<height>50</height> | |
<aligny>center</aligny> | |
<label>$INFO[MusicPlayer.Album][COLOR yellow]$INFO[MusicPlayer.Year, [,]][/COLOR]</label> | |
<font>font12</font> | |
<shadowcolor>black</shadowcolor> | |
<scroll>true</scroll> | |
</control> | |
<control type="label"> | |
<top>110</top> | |
<width>1450</width> | |
<height>50</height> | |
<aligny>center</aligny> | |
<label>[COLOR blue]$INFO[MusicPlayer.Artist][/COLOR]</label> | |
<font>font12</font> | |
<shadowcolor>black</shadowcolor> | |
<scroll>true</scroll> | |
</control> | |
<!-- | |
<control type="label"> | |
<top>150</top> | |
<width>1450</width> | |
<height>50</height> | |
<aligny>center</aligny> | |
<label>$VAR[OSDNextLabelVar]</label> | |
<font>font10</font> | |
<shadowcolor>black</shadowcolor> | |
<scroll>true</scroll> | |
<visible>Integer.IsGreater(Playlist.Length(music),1)</visible> | |
</control> | |
--> | |
</control> | |
</control> | |
</controls> | |
</window> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment