aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorKyle Johnson <kyle.johnson@alumni.duke.edu>2019-11-12 13:18:06 -1000
committerGitHub <noreply@github.com>2019-11-12 13:18:06 -1000
commit2bfcbc860e1f22402eac5ee80ef9eead051ca2d2 (patch)
treead3c60b8275596e905968f009b84c8ffc032b146 /addons
parentd5829aa4ba376789cfba49449d8234581ed72a6c (diff)
add dual support for Artist Slideshow 2.x and 3.x
backport of PR #16894
Diffstat (limited to 'addons')
-rw-r--r--addons/skin.estuary/xml/MusicVisualisation.xml11
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">