QUOTE(musicmusic @ Mar 3 2003 - 10:49 AM)
$put & $get was killed in 0.55
nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Well there goes my dream of having recurrsion so I can do proper string processing
Also without $put and $get my formatting string becomes pretty much just an unmangable mess.
QUOTE
$hex($ifgreater(%__bitrate%,256,32768,$ifgreater(%__bitrate%,192,$sub(32896,$div($mul($sub(%__bitrate%,192),127),$sub(256,192))),$ifgreater(%__bitrate%,$get(96),$add(128,$mul($div($mul($sub(%__bitrate%,96),127),$sub(192,96)),256)),128))),6)|$hex($ifgreater(%__bitrate%,256,32768,$ifgreater(%__bitrate%,192,$sub(32896,$div($mul($sub(%__bitrate%,192),127),$sub(256,192))),$ifgreater(%__bitrate%,96,$add(128,$mul($div($mul($sub(%__bitrate%,96),127),$sub(192,96)),256)),128))),6)$num(%_playlist_number%,3)$if(%__replaygain_album_gain%,000000'.',$if(%__replaygain_track_gain%,808080'.', )) $if(%_isplaying%,600060,202020)$padcut($caps2($if2(%artist%,$ifgreater($left(%_filename%,2),0,$if($strcmp($strchr(%_directoryname%,-),0),%_filename%,$cut(%_directoryname%,$sub($strchr(%_directoryname%,-),1))),$if($strcmp($strchr(%_filename%,-),0),%_filename%,$cut(%_filename%,$sub($strchr(%_filename%,-),1)))))),30) $if(%_isplaying%,4000B0,000060)$padcut($caps2($if2(%title%,$if($strcmp($strrchr(%_filename%,-),0),Unknown Title,$substr(%_filename%,$add(1,$strrchr(%_filename%,-)),$len(%_filename%))))),35) $if(%_isplaying%,208080,808040)$ifgreater($left(%_filename%,2),0,$num($cut(%_filename%,2),2),$ifgreater($cut($replace($substr(%_filename%,$add(1,$strchr(%_filename%,-)),$len(%_filename%)), ,),2),0,$num($cut($replace($substr(%_filename%,$add(1,$strchr(%_filename%,-)),$len(%_filename%)), ,),2),2),$if(%tracknumber%,$num(%tracknumber%,2),--))) $if(%_isplaying%,808000,004000)$if($strcmp($cut($pad($left($caps2($if2(%album%,$substr(%_directoryname%,$add(1,$strchr(%_directoryname%,-)),$len(%_directoryname%)))),$if(%date%,31,38))$if(%date%,' (',)$if(%_isplaying%,208080,808040)[%date%]$if(%date%,')',),50),1), ),$substr($pad($left($caps2($if2(%album%,$substr(%_directoryname%,$add(1,$strchr(%_directoryname%,-)),$len(%_directoryname%)))),$if(%date%,31,38))$if(%date%,' (',)$if(%_isplaying%,208080,808040)[%date%]$if(%date%,')',),50),2,$len($pad($left($caps2($if2(%album%,$substr(%_directoryname%,$add(1,$strchr(%_directoryname%,-)),$len(%_directoryname%)))),$if(%date%,31,38))$if(%date%,' (',)$if(%_isplaying%,208080,808040)[%date%]$if(%date%,')',),50))),$pad($left($caps2($if2(%album%,$substr(%_directoryname%,$add(1,$strchr(%_directoryname%,-)),$len(%_directoryname%)))),$if(%date%,31,38))$if(%date%,' (',)$if(%_isplaying%,208080,808040)[%date%]$if(%date%,')',),50))[ $if(%_isplaying%,0000A0,)%_length%]
Nearly the same string I posted above, just updated for .55. The one change I made was it now searches the filename for the tracknumber before looking at the tag, since I have alot of compilations I find this to be more accurate.
BTW I'm loving all the different strings, keep them coming.
EDIT: accually tested with with .55 now