Old 7th August 2006, 00:42   #1
freeekbert
Junior Member
 
Join Date: Aug 2006
Location: on earth/ europe/ germany/ rhineland-palatinate/ schmittweiler
Posts: 5
Send a message via ICQ to freeekbert Send a message via AIM to freeekbert Send a message via Yahoo to freeekbert
several variables don't work in ATF

Hi @all

I've a problem with ATF. I searched the board but I didn't find a helpful solution.
I want to have the following layout in my playlist:
Quote:
[%plpos%][/%pllen% ][$upper(%artist% - )]$if2([%tracknumber% - ]$upper(%title% ),$filepart(%filename% ))['('%lengthf%')' ]['('vom Album "%album%" '['%year%']'')' ][Rating: %rating%/5 ]
But unfortunately the %plpos%, %pllen%, %length%, %lengthf% and %ratingstars% don't work within my WA. (It's strange that %rating% does work but with %ratingstars% I never get some stars...)

I use WA 5.24 with Toaster 0.7.8 and ATF Extender 0.4.
I hoped that these plugins would fix the problem but they didn't. So my last hope is this post.

Help pleeeeeze.
Thanks
freeekbert

PS: A screenshot is attached as it looks at the moment.
Attached Images
File Type: jpg clipboard01.jpg (40.5 KB, 158 views)
freeekbert is offline   Reply With Quote
Old 7th August 2006, 00:45   #2
drewbar
Sawg 2.0
Major Dude
 
Join Date: Mar 2004
Posts: 5,916
Those aren't variables that are built into Winamp. And ATF Extender doesn't work with newer versions of Winamp.

Count with us!
Jan 1st, 12AM (PST, GMT -8) 2010 - 282,246
drewbar is offline   Reply With Quote
Old 7th August 2006, 00:46   #3
Bubba Smith
Major Dude
 
Bubba Smith's Avatar
 
Join Date: Apr 2006
Location: Bubbaville, USA
Posts: 599
Quote:
Originally posted by siebe83
ATF Extender doesn't work properly with the latest versions.

However, in Winamp 5.2 a lot of new ATF functions were implemented natively. See here for an overview (not sure if it's completely up-to-date though).

To display rating stars, you can now use $repeat(*,%rating%)
Aaah! Hi drewbar. Didn't see your post.
Bubba Smith is offline   Reply With Quote
Old 7th August 2006, 12:27   #4
freeekbert
Junior Member
 
Join Date: Aug 2006
Location: on earth/ europe/ germany/ rhineland-palatinate/ schmittweiler
Posts: 5
Send a message via ICQ to freeekbert Send a message via AIM to freeekbert Send a message via Yahoo to freeekbert
Hi

First of all: thank you for the quick reply.
The rating stars work fine now.

But what about the other bugs? (If those are actually bugs...)
In the link siebe83 posted, it's said that %plpos% and %pllen% are implemented in WA. But why doesn't it work anyway?
Quote:
However, in Winamp 5.2 a lot of new ATF functions were implemented natively. See here for an overview.
One more thing: Someone said that ATFExt doesn't work with WA 5. Which version of WA is the latest supporting ATFExt? And why does %length% for example work in other people's playlists but not in mine?

Thanks and regards
freeekbert
freeekbert is offline   Reply With Quote
Old 7th August 2006, 12:54   #5
siebe83
Forum King
 
siebe83's Avatar
 
Join Date: Feb 2004
Posts: 9,229
Hi,

The latest Winamp version supporting ATF Extender would be 5.13.

As far as I know, %plpos% and %pllen% are not among the new ATF fields introduced in Winamp 5.2. Not sure where you read that they were...
I think those fields are specific to ATF Extender.

%length% works for me, it returns the length of the track in seconds. Maybe the working of this tag depends on the file format also, not sure... Which file format are your files? (mp3/wma/ogg/etc.).
A formatted track length isn't possible at the moment, I guess... (but is displayed in the playlist editor already anyway)

If you're bored go here or, if the boredom is more serious, here.
siebe83 is offline   Reply With Quote
Old 7th August 2006, 13:05   #6
freeekbert
Junior Member
 
Join Date: Aug 2006
Location: on earth/ europe/ germany/ rhineland-palatinate/ schmittweiler
Posts: 5
Send a message via ICQ to freeekbert Send a message via AIM to freeekbert Send a message via Yahoo to freeekbert
Quote:
Originally posted by siebe83
Hi,

The latest Winamp version supporting ATF Extender would be 5.13.
I just downloaded WA 5.13. I hope this will work.

Quote:
Originally posted by siebe83
As far as I know, %plpos% and %pllen% are not among the new ATF fields introduced in Winamp 5.2. Not sure where you read that they were...
I think those fields are specific to ATF Extender.
Sorry, I was confused. Yesterday I've read so many posts and sites that I mixed them all up... But this would be a useful function don't you think?

Quote:
Originally posted by siebe83
%length% works for me, it returns the length of the track in seconds. Maybe the working of this tag depends on the file format also, not sure... Which file format are your files? (mp3/wma/ogg/etc.).
It's all MP3. The ones I used for testing my ATF settings are all perfectly tagged.

Quote:
Originally posted by siebe83
A formatted track length isn't possible at the moment, I guess... (but is displayed in the playlist editor already anyway)
Why not? It just needs some dividing routines. (div and mod I think...)
freeekbert is offline   Reply With Quote
Old 7th August 2006, 14:47   #7
siebe83
Forum King
 
siebe83's Avatar
 
Join Date: Feb 2004
Posts: 9,229
Ah, you're right. Never really played around with those functions before.
$div(%length%,60000):$num($div($mod(%length%,60000),1000),2)

Not sure why %length% isn't working for you though... Did you uninstall ATF Extender before trying?
Do you have any 3rd-party input plugins installed? (eg. mp3pro)

If you're bored go here or, if the boredom is more serious, here.
siebe83 is offline   Reply With Quote
Old 7th August 2006, 14:59   #8
freeekbert
Junior Member
 
Join Date: Aug 2006
Location: on earth/ europe/ germany/ rhineland-palatinate/ schmittweiler
Posts: 5
Send a message via ICQ to freeekbert Send a message via AIM to freeekbert Send a message via Yahoo to freeekbert
Quote:
Originally posted by siebe83
Ah, you're right. Never really played around with those functions before.
$div(%length%,60000):$num($div($mod(%length%,60000),1000),2)
Allright that works perfectly! Thanks very much!

Quote:
Originally posted by siebe83
Not sure why %length% isn't working for you though... Did you uninstall ATF Extender before trying?
That was the fault.

Now my last wish is to solve the problem with the playlist position. If anyone has an idea how to work this out, plz let me know.

Regards
freeekbert
freeekbert is offline   Reply With Quote
Old 18th October 2006, 23:48   #9
freeekbert
Junior Member
 
Join Date: Aug 2006
Location: on earth/ europe/ germany/ rhineland-palatinate/ schmittweiler
Posts: 5
Send a message via ICQ to freeekbert Send a message via AIM to freeekbert Send a message via Yahoo to freeekbert
Hi

sorry for re-opening the thread but I've a new great idea for an update or new feature (if it already exists please let me know):

What about a variable for the status of repeat and shuffle?
so e.g. %shuffle% would result in "on" or "off"
or %repeat% would result in "one", "all" or "off"

This would be a nice feature for I'm using ATF in Trillian

At the moment my ATF-settings look like this:

[$upper(%artist% -)][ %tracknumber% -]$if2($upper( %title%),$filepart(%filename%))[ '('$div(%length%,60000):$num($div($mod(%length%,60000),1000),2)')'][ vom Album "%album%"][ '['%year%']'][ '('gespielt: %playcount% mal')']

which results in:

"EVANESCENCE - 04 - MY IMMORTAL (4:26) vom Album "Fallen" [2003] (gespielt: 5 mal)"

Pretty confusing, huh? But as I said, I'd appreciate this new "feature" very much (if it doesn't exist yet).

Greetings
freeekbert
freeekbert 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