thanks again
when i put the line for the wallpaper and the right place and i delete the other for the artist no wallpaper appears it is only a black background. Have you an idea
my code :
// Global
$puts(path.library,'D:\Audio')
$puts(art.h,$sub(%_height%,351))
$puts(pos.x1,71)
$puts(pos.y1,$add(-134,$get(art.h)))
$puts(pos.y2,86)
// - Fonts used for additional info
$puts(font.a,$font(Gentium,20,glow-19-19-19 glowexpand-1 glowblur-8,160-160-160))
$puts(font.b,$font(Gentium,20,bold glow-19-19-19 glowexpand-1 glowblur-8,220-210-210))
// Background
$drawrect(,,,,brushcolor-19-19-19 pencolor-null)
$imageabs($sub(%_width%,198),$sub(%_height%,$get(pos.y2),44),images\htpc1\addinfo.png,)
$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,images\htpc1\bg.jpg,nokeepaspect)
// PerTrack
// Artist photo
//$if($fileexists($get(path.library)\Alben\%artist%\folder.jpg),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Alben\%artist%\folder.jpg,nokeepaspect),
//$if($fileexists($get(path.library)\Singles\%artist%\folder.jpg),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Singles\%artist%\folder.jpg,nokeepaspect),
//$if($fileexists($replace(%path%,$if(%disc%,$directory(%path%,2)\)$directory(%path%,1)\%filename_ext%,)folder.jpg),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$replace(%path%,$if(%disc%,$directory(%path%,2)\)$directory(%path%,1)\%filename_ext%,)folder.jpg,nokeepaspect),
//$if($strstr(%path%,\Alben\),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Alben\folder.jpg,nokeepaspect),
//$if($strstr(%path%,\Sampler\),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Sampler\folder.jpg,nokeepaspect),
//$if($strstr(%path%,\Soundtrack\),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Soundtrack\folder.jpg,nokeepaspect),
//$if($strstr(%path%,\Spiele\),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Spiele\folder.jpg,nokeepaspect),
//$if($strstr(%path%,\Sprache\),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Sprache\folder.jpg,nokeepaspect),
//$if($strstr(%path%,\Web\),$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,$get(path.library)\Web\folder.jpg,nokeepaspect),
//$imageabs2(%_width%,%_height%,0,0,%_width%,$get(art.h),0,0,images\htpc1\bg.jpg,nokeepaspect)
//)))))))))
//$imageabs2(%_width%,$add(1,$get(art.h)),0,0,%_width%,$add(1,$get(art.h)),0,0,images\htpc1\artist-overlay2.png,nokeepaspect)
// Album art
$imageabs($get(pos.x1),$get(pos.y1),images\htpc1\cd.png,)
$imageabs($get(pos.x1),$get(pos.y1),images\htpc1\case.png,)
$if($fileexists($replace(%path%,$if(%disc%,$directory(%path%,1)\)%filename_ext%,)cover.jpg),
$imageabs2(300,300,0,0,300,300,$add(44,$get(pos.x1)),$add(18,$get(pos.y1)),$replace(%path%,$if(%disc%,$directory(%path%,1)\)%filename_ext%,)cover.jpg,nokeepaspect),
)
$imageabs($get(pos.x1),$get(pos.y1),images\htpc1\gloss.png,)
$if(%disc%,$imageabs($get(pos.x1),$get(pos.y1),images\htpc1\2cd.png,))
// Title - Artist
$alignabs($add($get(pos.x1),500),$add($get(pos.y1),136),$sub(%_width%,$get(pos.x1),500,82),200,right,middle)
$font(Gentium,36,glow-100-100-100 glowblur-38 glowexpand-1,205-191-171)
[%title%]$char(10)
$font(Gentium,24,glow-80-80-80 glowblur-20 glowexpand-1,190-175-155)
[%artist%]
// PerSecond
// Progress bar
$ifgreater(%playback_time_seconds%,0,
$drawrect(0,$sub(%_height%,$get(pos.y2)),$add(23,$muldiv(%playback_time_seconds%,%_width%,%length_seconds%)),4,pencolor-null brushcolor-0-128-255)
$imageabs($muldiv(%playback_time_seconds%,%_width%,%length_seconds%),$sub(%_height%,$get(pos.y2)),images\htpc1\progress2.png,)
,)
// Additional info
$if($or($greater(30,%playback_time_seconds%),$greater(30,%playback_time_remaining_seconds%)),
$alignabs($sub(%_width%,$get(pos.x1),500),$add($get(pos.y1),-100),500,200,right,bottom)
$if(%last_played%,$get(font.a)Bisher $get(font.b)%play_counter%$get(font.a)mal gehört', 'zuletzt am $char(10)$get(font.b)$substr(%last_played%,9,10). $select($substr(%last_played%,6,7),Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember) $substr(%last_played%,1,4)$get(font.a).$char(10))
$if(%playback_time_seconds%,$get(font.a)Sorti $if(%date%,en $get(font.b)%date%$get(font.a) )$if(%publisher%,bei $get(font.b)%publisher%$get(font.a) )$if(%album%,de l album $get(font.b)%album%$get(font.a)).)
)
// Info squares
$font(Arial Unicode MS,18,glow-64-64-64 glowblur-5 glowexpand-1,19-19-19)
$alignabs($sub(%_width%,211),$sub(%_height%,$get(pos.y2),58),60,60,center,middle)[%rating%]
$alignabs($sub(%_width%,177),$sub(%_height%,$get(pos.y2),58),60,60,center,middle)[%mood%]
$alignabs($sub(%_width%,144),$sub(%_height%,$get(pos.y2),58),60,60,center,middle)$if($strcmp(%cwb_playback_order%,'Shuffle (tracks)'),S)
// Pause overlay
$if(%ispaused%,
$drawrect($add(44,$get(pos.x1)),$add(18,$get(pos.y1)),300,300,pencolor-0-0-0 alpha-150)
$alignabs($add(44,$get(pos.x1)),$add(18,$get(pos.y1)),300,300,center,middle)$font(Webdings,72,,255-255-255)';'
)