Its a little dirty but it seems to do a good job:
$puts(timelength, $len(%_length%))
$puts(titlelength, $len(%title%))
$puts(firstlinelength, $add($get(titlelength), $get(timelength), 1))
$puts(albumlength, $sub($len(%album%)), 0)
$puts(artistlength, $len(%artist%))
$puts(maxlength, $max($get(artistlength),$get(albumlength), $get(firstlinelength)))
$puts(linelength, $add(3, $get(maxlength)))
$puts(linelength2, $sub($get(linelength), $div($get(linelength), 9)))
$ifgreater($get(linelength), 20, $puts(linelength3, $get(linelength2)), $puts(linelength3, $get(linelength)))
FFFFFF[%title% - %_length%]
$char(10)FFFFFF$repeat($char(8211), $get(linelength3))
[$char(10)FFFFFF%album%]
[$char(10)FFFFFF%artist%]
screenshot (http://web.mit.edu/kelesh/www/pics/osdformatshot.jpg)
If anybody wants to clean it up, and get the divider bar to always be sized correctly, let me know.
I used these settings:
auto pop-up, white on black, aligned left for window and text, anti-aliasing, background transparency at position 6/10.
For some reason volume popup just shows a white window, its quite annoying, but I rarely change the volume in software so its not really an issue.
how did u get foobar to look like this? is this a windows pc?
it's that 'brushed aqua' (or something like that) skin / theme for winxp or windowblinds ...
yeah, windowblinds and iskin
You shouldn't use spaces after commas when writing title formatting strings.
You shouldn't use spaces after commas when writing title formatting strings.
why's that?
Because that's the way TAGZ formatting is. You shouldn't use spaces unless you want to display them. (I think) they don't interfere with this formatting because they're only used in front of numbers etc.
what font are you using?
Tahoma Bold 18 - its the default i think
If anybody wants to clean it up, and get the divider bar to always be sized correctly, let me know.
do it yourself.
You can see how to do it in my current update of the gems-style. Take a look at the end of the systray string. Basically, what i'm doing is to get the sizes of all displayed lines, choose the longest one, and then pad a seperator-character with the same length (adding a modificator for fine-tuning).
http://pelit.koillismaa.fi/fb2k/strings.php?f=47 (http://pelit.koillismaa.fi/fb2k/strings.php?f=47)
- Lyx
uh yeah, i do exactly the same thing if you look at my string. I find the biggest line, then add a padder. its really a pain in the arse for non fixed-width fonts, but it seems to be okay now.