2016-11-29, 18:36
I've been fooling around with using the music visualizer as a graphic element, in this case ShaderToy.
I used <control type="visualisation"> to add the viz with some pings above and below.
I would prefer to add the visualiser like this:
<control type=" ? ">
<visualisation>visualization.shadertoy</visualisation>
Can I do this and what would I use for type? TIA.
I used <control type="visualisation"> to add the viz with some pings above and below.
I would prefer to add the visualiser like this:
<control type=" ? ">
<visualisation>visualization.shadertoy</visualisation>
Can I do this and what would I use for type? TIA.
PHP Code:
<include name="home-visualisation3">
<control type="image">
<texture>custom/home-fanart-bg.png</texture>
<fadetime>600</fadetime>
<include>VisibleFadeEffect</include>
<visible>Player.HasAudio</visible>
</control>
<control type="visualisation">
<description>visualisation</description>
<left>1145</left>
<top>553</top>
<width>354</width>
<height>200</height>
<visible>Player.HasAudio</visible>
</control>
<control type="label">
<description>Codec</description>
<left>735</left>
<top>485</top>
<label>$INFO[MusicPlayer.Codec]</label>
<align>center</align>
<aligny>center</aligny>
<font>font-17</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="image">
<texture>custom/home-fanart-music-fg.png</texture>
<fadetime>600</fadetime>
<include>VisibleFadeEffect</include>
<visible>Player.HasAudio</visible>
</control>
</include>