I'm using a modified version of Mazy's code but I can't get the text to truncate (re: show ellipses) when the window is too narrow for the album title or song title.
Here is the code I'm using for each section:
Item:
$if($strcmp($mod(%_playlist_number%,2),1),
$drawrect(,,,,brushcolor-005-005-005 pencolor-null))
$padding(2,-1)
$font(calibri bold,9,$if(%isplaying%,underline,),255-255-255)
$replace(%title%,'(',$font(,,bold italic,204-204-204)'(')
$alignabs(6,13,%_width%,%_height%,,)
$font(CubicFive10,6,nocleartype,190-190-190)
[%length% | ]
[%bitrate% kbps]
$alignabs(0,-1,$sub(%_width%,2),%_height%,right,)
$font(CubicFive10,6,nocleartype,190-190-190)
[%play_count%x]
$if(%cwb_queueindex%, '['%cwb_queueindexes%/%cwb_queuelength%']')
$alignabs(0,10,$sub(%_width%,2),%_height%,right,)
$font(Wingdings,9,glow-190-190-190 glowexpand-1,250-250-250)
$repeat(«,%rating%)
Group:
$padding(2,0)
$drawrect(,,,,brushcolor-000-000-000)$padding(0,1)
$align(left,center)$font(calibri bold,9,,255-255-255)
$font(,,bold ,)
%artist% '('%album%')'
$alignabs(4,13,%_width%,%_height%,,)
$font(CubicFive12,6,nocleartype,18-173-224)
[%date% | ][%genre%]