Old 28th October 2007, 15:01   #1
kr4zy
Junior Member
 
Join Date: Jun 2003
Posts: 30
ATF string

Hey guys, I was just wondering what my ATF string is supposed to look like when I want the playcount to be alligned like the songrating, except instead of 5 (mono)spaces I want 2, so a song that's been played 4 times is alligned with a song that's been played 25 times

Here's the line:

%playlistnumber%$pad($repeat(*,%rating%),5-%rating%) - %playcount% - %artist% - %title%
kr4zy is offline   Reply With Quote
Old 28th October 2007, 16:39   #2
siebe83
Forum King
 
siebe83's Avatar
 
Join Date: Feb 2004
Posts: 9,222
This should work:
$pad(%playcount%,2)

Which is the way you should use it for the ratings as well, I think:
$pad($repeat(*,%rating%),5)

$pad(x,y) will output string x plus extra spaces to come to a total of y characters.
http://www.winamp.com/support/help/5...f_help.htm#pad


Note that if you want monospaced spaces, you'll need to select a monospaced font under Prefs (Ctrl+P) > Playlist.
If you rather not use a monospaced font, maybe you should consider padding with zeros on the left:
$lpad(%playcount%,2,0)

Good Winamp plugins by Joonas, DrO and shaneh.
If you're bored go here or, if the boredom is more serious, here.
siebe83 is offline   Reply With Quote
Old 28th October 2007, 18:14   #3
kr4zy
Junior Member
 
Join Date: Jun 2003
Posts: 30
Ok, great, seems to work, thanks alot
kr4zy is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump