2010-07-21, 23:09
Hitcher Wrote:It's set to 'None' using the normal Settings > Audio > Visualisation route.
Yeah, I tried that too. No visualisation as expected, but the background was just blank. Probably me then...I'll add that to the list of things to sort. Cheers Jezz_X and Hitcher.
EDIT: Trying not to hijack this thread...but my code in MusicVisualistation.xml looks fine. The <texture> path looks to be OK with cdartpath defined. Have any of the controls or boolean conditions been deprecated and I've missed it?
EDIT2: Figured it out. It looks like Visualisation.Enabled is returning TRUE even if the visualisation is set to None from the music settings. Bug maybe? Looks like I can work around it by doing IsEmpty(Visualisation.Name) instead
Code:
<control type="largeimage">
<include>FullscreenDimensions</include>
<texture>$INFO[Skin.String(cdartpath)]/$INFO[MusicPlayer.Artist]/$INFO[MusicPlayer.Album]/fanart.jpg</texture>
<fadetime>400</fadetime>
<include>Animation_FanartFade</include>
<visible>!Visualisation.Enabled + Player.HasAudio</visible>
</control>