I have a question about my configuration:
In the details section, how can I get the values ("Rap", "track #1", etc) to align right, and the descriptions to align left, separately on the same line? I tried putting "$char(1)R" right after "Genre" for example, but it didn't work.
Also, in the Audioscrobbler part, when I set the mode to follow cursor, it produces "Mode: Follow CursorCAudioscrobblered". Whats wrong?
//Scrolling text code by Rexy, most other code by gfngfgf, beautified by Habla
//Vertical padding 9, min height 250 (in toolbar), horizontal pad 22, line spacing -6
//Looks best w/ black background and dark grey default text
// variables
$puts(padding,$char(160)$char(160)•$char(160)$char(160))
$puts(size,49)
$puts(sizeplus1,39)
// title
$char(1)C$rgb(215,215,215)
$if(%_trackinfo_notrack%,No track!,
$puts(title,$replace(%title%, ,$char(160)))
$ifgreater($len2($get(title)),$get(size),
// scroll text
$puts(title,$get(title)$get(padding))
$puts(start,$add(1,$mod( %_time_elapsed_seconds%,$len($get(title)))))
$puts(display,
$cut(
$substr($get(title)$get(title),
$get(start),
$add(
$get(start),
$get(size)
)
)
,$get(sizeplus1))
)
$get(display)$ifgreater($len2($get(display)),$get(size),,$char(160)),
// normal display
$get(title)
)
$rgb(195,195,215))
$char(10)
$char(10)
// artist
$char(1)C$rgb(215,215,215)
$if(%_trackinfo_notrack%,---,
$puts(title,$replace(%artist%, ,$char(160)))
$ifgreater($len2(%artist%),$get(size),
// scroll text
$puts(title,$get(title)$get(padding))
$puts(start,$add(1,$mod(%_time_elapsed_seconds%,$len($get(title)))))
$puts(display,
$cut(
$substr($get(title)$get(title),
$get(start),
$add(
$get(start),
$get(size)
)
)
,$get(sizeplus1))
)
$get(display)$ifgreater($len2($get(display)),$get(size),,$char(160)),
// normal text
$get(title)
)
$rgb(195,195,215))
$char(10)
$char(10)
$char(1)C$char(160)$char(160)
$rgb(51,147,163)$if(%_trackinfo_notrack%,---,
//album
$if(%album%,
$puts(title,$replace(%album%$if($strcmp(%album artist%,%artist%),%album artist%), ,$char(160)))
$puts(padding,$char(160)•$char(160))
$puts(size,$sub($get(size),8))
$ifgreater($len2($get(title)),$get(size),
// scroll text
$puts(title,$get(title)$get(padding))
$puts(start,$add(1,$mod( %_time_elapsed_seconds%,$len($get(title)))))
$puts(display,
$cut(
$substr($get(title)$get(title),
$get(start),
$add(
$get(start),
$get(size)
)
)
,$add($get(size),1))
)
$get(display)$ifgreater($len2($get(display)),$get(size),,$char(160)),
// normal display
$get(title)
)
,'[none]'))
$char(10)
$transition($repeat(.,54),000000,10a4f3)$transition($repeat(.,54),10a4f3,000000)
$char(10)
$char(10)
Track $transition($repeat(.,40),000000,867542)$rgb(51,147,163)$if(%_trackinfo_notrack%,---,$if2(%tracknumber%[ / %tracktotal%],n/a))
$char(10)
$char(10)
Date $transition($repeat(.,40),000000,867542)$rgb(51,147,163)$if(%_trackinfo_notrack%,---,$if2(%date%,n/a))
$char(10)
$char(10)
Genre$transition($repeat(.,40),000000,867542)$rgb(51,147,163)$if(%_trackinfo_notrack%,---,%genre%)
$char(10)
$char(10)
Tech $transition($repeat(.,40),000000,867542)$rgb(51,147,163)$if(%_trackinfo_notrack%,---,%__codec%) $if(%_trackinfo_notrack%,---,[$if2(%__bitrate_dynamic%,%__bitrate%)kb/s])
$char(10)
$char(10)
// PROGRESS BAR WIDTH
// if you want to change the length, there are two "54"s you'll have to find and replace
// to change the bar character, there are two "•"s you must find and replace
$puts(len,$muldiv(%_time_elapsed_seconds%,54,%_time_total_seconds%))
// BAR
$char(1)C$transition($repeat(•,$get(len)),0a0a3f,0c5be0)
$repeat(•,$sub(54,$get(len)))
$char(10)
$char(10)
$char(1)C$if(%_trackinfo_notrack%,---,$if2($rgb(215,215,215)%_time_elapsed% of ,)%_length%)
$char(10)
$transition($repeat(.,54),000000,10a4f3)$transition($repeat(.,54),10a4f3,000000)
$char(10)
$char(10)
$char(1)CMode: $rgb(215,215,215)%_trackinfo_mode%
///////////audioscrobbler status
$if($strchr($get(showstatus),0),,
$if(%_isplaying%,$char(10)$char(10)$if(%_ispaused%,
)
)
)
$char(1)CAudioscrobblered: $if($strchr($get(audioscrobbler),0),,
$if($strchr($get(showstatus),0),$char(10)$char(10),)
$if(%_isplaying%,
$ifgreater($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),50,
$get(color6)$rgb(51,147,163)Yes,$get(color5)No))
)