2009-06-25, 23:11
Batemann Wrote:Just got this working. This is fun. ;-)
Really waiting for the spinning, that would be super. And a default fallback icon... I have 1500 albums, and I'm not gonna make art for all of them. ;-) )
Here's an option for fallback, just display a fallback cd image below the other one.
If no cdArt is available, only the fallback image will be visible.
Code:
<control type="image">
<description>fallback Cd art image</description>
<width>200</width>
<height>200</height>
<posx>35</posx>
<posy>-16</posy>
<texture diffuse="disc_mask.png">fallback-disc.png</texture>
<aspectratio align="bottom">keep</aspectratio>
<include>cdart-animation</include>
</control>
<control type="image">
<description>Cd art image</description>
<width>200</width>
<height>200</height>
<posx>35</posx>
<posy>-16</posy>
<texture diffuse="disc_mask.png">$INFO[Skin.String(Music_Folder_Path)]$INFO[MusicPlayer.Artist]\$INFO[MusicPlayer.Album]\cdart.png</texture>
<aspectratio align="bottom">keep</aspectratio>
<include>cdart-animation</include>
</control>