Track info mod
CODE
$imageabs(0,0,images\background2.png,)
$if(%_isplaying%,$imageabs(932,36,images\play.png,),)
$alignabs(100,10,700,35,left,bottom)
$font(candara,20,bold glowexpand-1 glow-63-139-201 glowalpha-150,255-255-255)
$if(%title%,%title%,$if(%_filename%,%_filename%,Stopped))
$drawrect(100,48,782,10,pencolor-255-255-255 alpha-80)
$put(progress,$add(1,$muldiv(782,%playback_time_seconds%,%length_seconds%)))
$drawrect(100,48,$get(progress),10,pencolor-255-255-255 alpha-150)
$alignabs(100,61,600,200,left,top)
$font(calibri,12,bold glowexpand-1 glow-63-139-201 glowalpha-150,255-255-255)
[%artist%]$if(%artist%,$if(%album%, '-' ,),)[%album%] '#LINEHEIGHT,18#'$char(10)
[%date%]$if(%date%,$if(%genre%, '-' ,),)[%genre%]
$alignabs(700,10,180,35,right,bottom)
$font(trebuchet ms,15,bold glowexpand-1 glow-63-139-201 glowalpha-150,255-255-255)
$if(%_isplaying%,%_time_elapsed%'/',)[%length%]
$alignabs(700,60,180,200,right,top)
$font(Wingdings,18,textalpha-90 glow-63-139-201 glowexpand-1,250-250-250)
$repeat(«,$add(5,-%rating%))
$font(Wingdings,18,glow-63-139-201 glowexpand-1,250-250-250)
$repeat(«,%rating%)
'#LINEHEIGHT,18#'$char(10)
$font(trebuchet ms,12,bold glow-63-139-201 glowexpand-1 glowalpha-150,255-255-255)
$if(%play_count%,%play_count% x,)
$if($stricmp($mod(%_time_elapsed_seconds%,40),0),$imageabs($sub(%_width%,102),3,images\count1.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),1),$imageabs($sub(%_width%,102),3,images\count2.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),2),$imageabs($sub(%_width%,102),3,images\count3.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),3),$imageabs($sub(%_width%,102),3,images\count4.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),4),$imageabs($sub(%_width%,102),3,images\count5.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),5),$imageabs($sub(%_width%,102),3,images\count6.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),6),$imageabs($sub(%_width%,102),3,images\count7.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),7),$imageabs($sub(%_width%,102),3,images\count8.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),8),$imageabs($sub(%_width%,102),3,images\count9.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),9),$imageabs($sub(%_width%,102),3,images\count10.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),10),$imageabs($sub(%_width%,102),3,images\count11.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),11),$imageabs($sub(%_width%,102),3,images\count12.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),12),$imageabs($sub(%_width%,102),3,images\count13.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),13),$imageabs($sub(%_width%,102),3,images\count14.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),14),$imageabs($sub(%_width%,102),3,images\count15.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),15),$imageabs($sub(%_width%,102),3,images\count16.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),16),$imageabs($sub(%_width%,102),3,images\count17.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),17),$imageabs($sub(%_width%,102),3,images\count18.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),18),$imageabs($sub(%_width%,102),3,images\count19.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),19),$imageabs($sub(%_width%,102),3,images\count20.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),20),$imageabs($sub(%_width%,102),3,images\count21.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),21),$imageabs($sub(%_width%,102),3,images\count22.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),22),$imageabs($sub(%_width%,102),3,images\count23.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),23),$imageabs($sub(%_width%,102),3,images\count24.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),24),$imageabs($sub(%_width%,102),3,images\count25.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),25),$imageabs($sub(%_width%,102),3,images\count26.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),26),$imageabs($sub(%_width%,102),3,images\count27.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),27),$imageabs($sub(%_width%,102),3,images\count28.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),28),$imageabs($sub(%_width%,102),3,images\count29.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),29),$imageabs($sub(%_width%,102),3,images\count30.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),30),$imageabs($sub(%_width%,102),3,images\count31.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),31),$imageabs($sub(%_width%,102),3,images\count32.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),32),$imageabs($sub(%_width%,102),3,images\count33.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),33),$imageabs($sub(%_width%,102),3,images\count34.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),34),$imageabs($sub(%_width%,102),3,images\count35.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),35),$imageabs($sub(%_width%,102),3,images\count36.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),36),$imageabs($sub(%_width%,102),3,images\count37.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),37),$imageabs($sub(%_width%,102),3,images\count38.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),38),$imageabs($sub(%_width%,102),3,images\count39.png,))
$if($stricmp($mod(%_time_elapsed_seconds%,40),39),$imageabs($sub(%_width%,102),3,images\count40.png,))
single column playlist
CODE
$if($strstr(%cwb_activelist%,'Albums'),,
$if($strstr(%cwb_activelist%,'Compilations'),,$puts(singlelist,%cwb_activelist%)))
// Couleur de fond
$drawrect(0,0,0,0,brushcolor-246-249-254 pencolor-null)
// Zone Album
$if($strcmp($num(%tracknumber%,2),01),
$drawrect(30,0,0,0,brushcolor-255-255-255 pencolor-null)
$drawrect(30,0,229,1,brushcolor-220-220-220 pencolor-null),)
$if($strcmp($num(%tracknumber%,2),02),
$drawrect(30,0,0,0,brushcolor-255-255-255 pencolor-null),)
$if($strcmp($num(%tracknumber%,2),03),
$drawrect(30,0,0,0,brushcolor-255-255-255 pencolor-null),)
$if($strcmp($num(%tracknumber%,2),04),
$drawrect(30,0,0,0,brushcolor-255-255-255 pencolor-null),)
$if($strcmp($num(%tracknumber%,2),05),
$drawrect(30,0,229,1,brushcolor-220-220-220 pencolor-null),)
//Autres Zones
$padding(0,0)
$if(%_isplaying%,
$if($strstr(%cwb_activelist%,$get(singlelist)),
$drawrect(0,0,0,0,brushcolor-211-227-254 pencolor-null),
$drawrect(258,0,0,0,brushcolor-211-227-254 pencolor-null))
$drawrect(0,0,30,0,brushcolor-211-227-254 pencolor-null)
,
$if(%_selected%,
$if($strstr(%cwb_activelist%,$get(singlelist)),
$drawrect(0,0,0,0,brushcolor-211-227-254 pencolor-null),
$drawrect(258,0,0,0,brushcolor-211-227-254 pencolor-null))
$drawrect(0,0,30,0,brushcolor-211-227-254 pencolor-null),
$ifequal($mod(%_playlist_number%,2),0,
$if($strstr(%cwb_activelist%,$get(singlelist)),
$drawrect(0,0,0,0,brushcolor-246-249-254 pencolor-null),
$drawrect(260,0,0,0,brushcolor-246-249-254 pencolor-null)
$drawrect(0,0,30,0,brushcolor-246-249-254 pencolor-null))
,
$if($strstr(%cwb_activelist%,$get(singlelist)),
$drawrect(0,0,0,0,brushcolor-255-255-255 pencolor-null),
$drawrect(260,0,0,0,brushcolor-255-255-255 pencolor-null)
$drawrect(0,0,30,0,brushcolor-255-255-255 pencolor-null))
))
)
// Bordures
$drawrect(0,0,1,0,brushcolor-220-220-220 pencolor-null)
$drawrect(30,0,1,0,brushcolor-220-220-220 pencolor-null)
$drawrect(258,0,1,0,brushcolor-220-220-220 pencolor-null)
$if($strstr(%cwb_activelist%,$get(singlelist)),,$drawrect(280,0,1,0,brushcolor-220-220-220 pencolor-null))
$if($strstr(%cwb_activelist%,$get(singlelist)),$drawrect(607,0,1,0,brushcolor-220-220-220 pencolor-null),
$drawrect(639,0,1,0,brushcolor-220-220-220 pencolor-null))
$if($strstr(%cwb_activelist%,$get(singlelist)),$drawrect(643,0,1,0,brushcolor-220-220-220 pencolor-null),
$drawrect(675,0,1,0,brushcolor-220-220-220 pencolor-null))
$if($strstr(%cwb_activelist%,$get(singlelist)),$drawrect(923,0,1,0,brushcolor-220-220-220 pencolor-null),)
$if($strstr(%cwb_activelist%,$get(singlelist)),$drawrect(798,0,1,0,brushcolor-220-220-220 pencolor-null),)
//Playlist number
$padding(4,0)
$align(left,middle)
$font(corbel,9,bold,150-150-150)
$if(%_isplaying%,
$repeat(›,$mod(%_time_elapsed_seconds%,7)),
$num(%_playlist_number%,4))
//Zone Album
$padding(0,0)
$if($strstr(%cwb_activelist%,$get(singlelist)),
$padding(26,0)$align(left,middle)
$font(corbel,9,bold,120-120-120)
$if(%artist%,
$iflonger(%artist%,39,$cut(%artist%,38)'...',%artist%)),
$alignabs($add(-%_width%,254),0,%_width%,18,right,middle)
$if($strcmp($num(%tracknumber%,2),01),$font(corbel,9,bold,50-50-50)$if2(%album artist%,%artist%),)
$if($strcmp($num(%tracknumber%,2),02),$font(corbel,9,bold,70-120-206)$iflonger(%album%,37,$cut(%album%,36)'...',%album%),)
$if($strcmp($num(%tracknumber%,2),03),$font(corbel,9,bold,150-150-150)[%date%]$if(%date%,$if(%genre%, '~' ,),)[%genre%],)
$if($strcmp($num(%tracknumber%,2),04),$font(corbel,9,bold,150-150-150)$upper($replace($right(%_filename_ext%,4),.,)) %__bitrate%
$if($strcmp(%__extrainfo%,VBR),VBR,CBR),))
//Tracknumber
$if($strstr(%cwb_activelist%,$get(singlelist)),$alignabs(648,0,%_width%,18,left,middle),$alignabs(264,0,%_width%,18,left,middle))
$font(corbel,9,bold,70-120-206)
[%tracknumber%]
//Title
$if($strstr(%cwb_activelist%,$get(singlelist)),$alignabs(264,0,%_width%,18,left,middle),$alignabs(285,0,%_width%,18,left,middle))
$if(%_isplaying%,$font(corbel,9,bold,50-50-50),$if($strstr(%cwb_activelist%,$get(singlelist)),
$font(corbel,9,bold,70-120-206),$font(corbel,9,bold,120-120-120)))
$if(%title%,$iflonger(%title%,59,$cut(%title%,58)'...',%title%),%_filename%)
$if($strstr(%cwb_activelist%,$get(singlelist)),$alignabs($add(-%_width%,603),0,%_width%,18,right,middle),
$alignabs($add(-%_width%,635),0,%_width%,18,right,middle))
$font(corbel,8,bold,120-120-120)
$ifgreater($meta_num(album artist),0,'[ '%artist%' ]',)
//Time
$if($strstr(%cwb_activelist%,$get(singlelist)),$alignabs($add(-%_width%,639),0,%_width%,18,right,middle),
$alignabs($add(-%_width%,672),0,%_width%,18,right,middle))
$font(corbel,9,bold,120-120-120)
$if(%_isplaying%,%_time_elapsed%,%length%)
//Playcount
$if($strstr(%cwb_activelist%,$get(singlelist)),$alignabs($add(-%_width%,945),0,%_width%,18,right,middle),
$alignabs($add(-%_width%,698),0,%_width%,18,right,middle))
$font(corbel,9,bold,70-120-206)
$if2(%play_count%,$font(corbel,8,bold,180-180-180)0)
//Rating-Replaygain_indicator
$padding(-22,0)
$if($strstr(%cwb_activelist%,$get(singlelist)),$alignabs($add(-%_width%,982),0,%_width%,18,right,middle)
$if(%__replaygain_album_gain%,$font(corbel,9,bold,4-217-124)• ,
$if(%__replaygain_track_gain%,$font(corbel,9,bold,4-217-124)• ,
$font(corbel,9,bold,250-70-70)• )),
$alignabs($add(-%_width%,731),0,%_width%,18,right,middle))
$font(corbel,9,bold,70-120-206)
$repeat(•,%rating%)
$font(corbel,9,bold,150-150-150)
$repeat(•,$add(5,-%rating%))
//AlbumArt
$if($strstr(%cwb_activelist%,$get(singlelist)),
$alignabs(667,0,%_width%,18,left,middle)
$font(corbel,8,bold,120-120-120)
$if(%album%,
$iflonger(%album%,25,$cut(%album%,24)'...',%album%))
,
$if(%total tracks%,
$ifgreater(%total tracks%,10,
$if(%tracknumber%,
$imageabs(795,$add(25,$mul(-18,$add(%tracknumber%,-1))),'nocover.png',)
$imageabs2(152,152,0,$add(-25,$mul($add(%tracknumber%,-1),18)),157,18,794,,$replace(%path%,%filename_ext%,)folder.jpg,))
$imageabs(765,$add(25,$mul(-18,$add(%tracknumber%,0))),'case.png',),
),
$if(%tracknumber%,
$imageabs(795,$add(25,$mul(-18,$add(%tracknumber%,-1))),'nocover.png',)
$imageabs2(152,152,0,$add(-25,$mul($add(%tracknumber%,-1),18)),157,18,794,,$replace(%path%,%filename_ext%,)folder.jpg,))
$imageabs(765,$add(25,$mul(-18,$add(%tracknumber%,0))),'case.png',)))
//Year-Genre
$if($strstr(%cwb_activelist%,$get(singlelist)),
$alignabs(803,0,%_width%,18,left,middle)
$font(corbel,9,bold,70-120-206)
[%date%]
$alignabs(832,0,%_width%,18,left,middle)
$font(corbel,8,bold,150-150-150)
$if(%genre%,$iflonger(%genre%,18,$cut(%genre%,17)'...',%genre%)))
)