here's a little piece of code to avoid the "nokeepaspect" and however hide the "no cover" picture
$draw_image(3,3,$eval(%gb_width%-6),$eval(%gb_height%-6),pictures\nocover.png)
$draw_image(3,3,$eval(%gb_width%-6),$eval(%gb_height%-6),$replace(%path%,%filename_ext%,folder.*))
$puts(rect-height,$div($sub($eval(%gb_height%-3),%gb_calc_height%),2))
$puts(rect-width,$div($sub($eval(%gb_width%-3),%gb_calc_width%),2))
$gp_set_brush(255-22-32-41) // set it to your background color
$if($greater($get(rect-height),0),
$gp_fill_rectangle(3,3,$eval(%gb_width%-6),$get(rect-height))
$gp_fill_rectangle(3,$sub($eval(%gb_width%-3),$get(rect-height)),$eval(%gb_width%-6),$get(rect-height))
)
$if($greater($get(rect-width),0),
$gp_fill_rectangle(3,3,$get(rect-width),$eval(%gb_height%-6))
$gp_fill_rectangle($sub($eval(%gb_height%-3),$get(rect-width)),3,$get(rect-width),$eval(%gb_height%-6))
)
I have just discovered this component and I'm sad that it's no more developed... The graveyard of foobar2000's great components is already full, I hope this one will still be compatible until his resurrection or that a good replacement come