User:Blooooo/SCPL: Difference between revisions
Line 53: | Line 53: | ||
$align(left,middle) | $align(left,middle) | ||
[%tracknumber%] | [%tracknumber%] | ||
$if($cwb_fileexists($replace(%_path%,%_filename_ext%,)cover.jpg), | $if($cwb_fileexists($replace(%_path%,%_filename_ext%,)cover.jpg), | ||
$ifgreater($mul(%_height%,%_itemcount%),88, | $ifgreater($mul(%_height%,%_itemcount%),88, |
Latest revision as of 22:38, 16 February 2007
SCPL CODE
- Row height = 18
- Group rows = 2
- Edge style = None
- Background = 244-244-244
GROUP BY
%album%
GROUP DISPLAY
$imageabs2(1280,39,0,0,0,0,0,0,/images\SCPL\reluna.png,NOKEEPASPECT ROTATEFLIP-2) $imageabs(4,11,/images\SCPL\arrow.png,) $alignabs(-10,8,%_width%,20,right,) $font(Calibri,12,glow- glowexpand-0 glowalpha-15,244-244-244) $replace($replace(%date%,20,),19,) $alignabs(28,3,%_width%,20,left,top) $font(Calibri,10,bold glow- glowexpand-0 glowalpha-15,244-244-244) $if(%album artist%,%album artist%,%artist%) $font(Calibri,10,glow- glowexpand-0 glowalpha-15,244-244-244) $alignabs(28,13,%_width%,20,left,bottom) [%album%]
ITEM DISPLAY
//BACKGROUND $imageabs(,,\images\LE5\reluna1.png,) $if(%_selected%,$imageabs(,,\images\LE5\relunablue.png,),) $if(%isplaying%,$imageabs(,,\images\LE5\relunadeep.png,),) $if(%isplaying%,$font(Calibri,9,bold,255-255-255),$font(Calibri,8,,0-0-0)) //////////////////////////////////////////////////////////////////// //////////TRACK INFO/////////////////////////////////////////// //////////////////////////////////////////////////////////////////// $ifgreater(%tracknumber%,7, $alignabs(28,2,$sub(%_width%,37),18,left,) [%title%], $alignabs(28,2,$sub(%_width%,167),18,left,) [%title%]) $alignabs(-7,3,%_width%,20,right,) $font(Tahoma,7,,) $if(%isplaying%,%_time_remaining%,%length%) $font(Calibri,8,,) $padding(6,) $align(left,middle) [%tracknumber%] $if($cwb_fileexists($replace(%_path%,%_filename_ext%,)cover.jpg), $ifgreater($mul(%_height%,%_itemcount%),88, $imageabs2(124,125,0,$sub($mul(%_height%,%_itemindex%), $add(%_height%,-2)),,%_height%,151,,/images\Underlay\case2.png,NOKEEPASPECT) $imageabs2(111,111,0,$sub($mul(%_height%,%_itemindex%), $add(%_height%,3)),,%_height%,157,,/images\No Album Art\no_art.png,NOKEEPASPECT) $imageabs2(111,111,0,$sub($mul(%_height%,%_itemindex%), $add(%_height%,3)),,%_height%,157,,$replace(%path%,%filename_ext%,cover.jpg),NOKEEPASPECT) ,) ,)