diff options
author | ronie <ronie@users.noreply.github.com> | 2019-11-13 00:49:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-13 00:49:02 +0100 |
commit | 3a069a5d994bc7469d6b4840811842bc1ade218a (patch) | |
tree | 526c609a4df3bd03d3f90397ff66b0826f8a024d | |
parent | bdaaa44639985a6429d60a38e6446e02c306a13b (diff) | |
parent | 2bfcbc860e1f22402eac5ee80ef9eead051ca2d2 (diff) |
Merge pull request #16903 from pkscout/Leia
add dual support for Artist Slideshow 2.x and 3.x
-rw-r--r-- | addons/skin.estuary/xml/MusicVisualisation.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/skin.estuary/xml/MusicVisualisation.xml b/addons/skin.estuary/xml/MusicVisualisation.xml index 3bbab7da63..0f34aa7bb2 100644 --- a/addons/skin.estuary/xml/MusicVisualisation.xml +++ b/addons/skin.estuary/xml/MusicVisualisation.xml @@ -20,6 +20,15 @@ <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation> <animation effect="fade" start="100" end="0" time="300">WindowClose</animation> <texture background="true" colordiffuse="88FFFFFF">$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> + <texture background="true" colordiffuse="88FFFFFF">$INFO[Window(Visualisation).Property(ArtistSlideshow.Image)]</texture> + <visible>!String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))</visible> </control> <control type="multiimage"> <aspectratio>scale</aspectratio> @@ -28,7 +37,7 @@ <fadetime>600</fadetime> <loop>yes</loop> <imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath> - <visible>System.HasAddon(script.artistslideshow)</visible> + <visible>!String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.ArtworkReady)</visible> </control> </control> <control type="group"> |