Hi everybody
First of all, thank you Falstaff for this damn fine config
Secondly, I have a small problem. If I understand this code correctly:
// ====================================================
// ---> Background cover display
// ====================================================
$puts(bg_image_alpha,140)
$if($isvisible_c(_DEFAULT_WALLPAPER),
$puts(bg.path,$get(wallpaper))
$imageabs(0,0,1152,864,$get(wallpaper),nodisplay,,)
$puts(ratio,$div($mul($getimagewidth($get(wallpaper)),10),$getimageheight($get(wallpaper))))
,
$if(%ps_isplaying%,
// ---> artist ratio
$imageabs(0,0,,,$get(artist.path),nodisplay,,)
$puts(ratio,$div($mul($getimagewidth($get(artist.path)),10),$getimageheight($get(artist.path))))
$puts(ratio.a,$get(ratio))
// ---> album ratio
$ifequal($get(ratio),0,
$imageabs(0,0,,,$get(cover.path),nodisplay,,)
$puts(ratio,$div($mul($getimagewidth($get(cover.path)),10),$getimageheight($get(cover.path))))
$puts(ratio.b,$get(ratio))
$ifequal($get(ratio),0,
$puts(bg.path,$get(wallpaper))
$imageabs(0,0,1152,864,$get(wallpaper),nodisplay,,)
$puts(ratio,$div($mul($getimagewidth($get(wallpaper)),10),$getimageheight($get(wallpaper))))
,
$puts(bg.path,$get(cover.path))
)
,
$puts(bg.path,$get(artist.path))
)
,
$puts(bg.path,$get(wallpaper))
$imageabs(0,0,1152,864,$get(wallpaper),nodisplay,,)
$puts(ratio,$div($mul($getimagewidth($get(wallpaper)),10),$getimageheight($get(wallpaper))))
)
)
then the first background image is artist, if there is no artist image, than cover and than the wallpaper.
Now, artist and cover background work fine, but if there is no cover or artist picture, like for example while listening to radio, the background stays black. Any solution for this?