Cool, this got me into using ATF, something I have never done before. This is my current setting:
'***91;'$fileext(%filename%)'***93;'$pad(' '***91;%ratingstar%***93;,6)***91;$caps(%artist%) - ***93;***91;%year% - ***93;***91;$caps(%album%)***93;$if(%album%,$if(%tracknumber%, - '***91;'$num(%tracknumber%,2)'***93;' , - ),)$if2($caps(%title%),$caps($filepart(%filename%)))' ('***91;%playcount%***93;')'
Anyway, these are my two problems I'm having, neither really probably have to do with ATF Extender, but maybe you can help me
1. I tried setting up a %ratingstar% field like in shaneh's screenshot. I figure the rating goes up to 5 stars, so I would have the rating plus a single space padded to 6 - this way there was 0-5 stars (with a number of spaces equal to the number of stars NOT present) and then one space to set them apart. The thing is, as stars go in, they push that title *ever so slightly* to the right. I would guess this is from the width of a * being slightly more then the width of a space. You dont appear to be suffering this in your screenshot shaneh, how did you do it?
2. My second problem has to do with my track number string, and I have tried a million variations. Heres the lowdown. I have it set so that if there is an album, and if there is a track number, it will display it, if not, it wont. The problem arises when there is an album and no track number. What I want to happen (and have it set to) is that only a "- " would be displayed, but what is displayed is . Im dead serious. I have a playlist full of it.
What appears to be happening is that the ML is guessing at the tracknumber, even though I have the ML set to guess only if ALL metadata is missing, and im talking about songs that have an album
tag but no track number.
The odd thing is if I take off the $num pad around the track number, in the offending entries (the ones that have an album tag but no tracklist tag, that should show simply a dash) show the bastardized guess of the ML, which ends up usually being a [-01] (remeber the ML is set NOT TO GUESS in this case.)
Can anyone make sense of this madness?
I figured it out.
Winamp and the ML are behaving fine, its a bug in ATF extender. Upon removing ATF extender, and removing the ATFe specific tags out of my code so it is just:
'***91;'$fileext(%filename%)'***93;'***91;$caps(%artist%) - ***93;***91;%year% - ***93;***91;$caps(%album%)***93;$if(%album%,$if(%tracknumber%,- '***91;'$num(%tracknumber%,2)'***93;' , - ),)$if2($caps(%title%),$caps($filepart(%filename%)))
Everything now works fine, exactly as it should! On tracks with an album and tracknumber tag, I am shown my track number. If they lack either of the two, I am shown my dash. No misplaced ML guessing, and I can pad the number without the mysterious 429467295 showing up.
I probably would never use the ratings, but I would have liked to have the playcount...hopefully you can fix this weird shit, and if not you at least made me try ATF!
You beat me to it, lol. Figured it out before I did
. Anyway, I look forward to your next update, and will torture test it more for you. Do you have a site with all of your plugins? You have some real gems, and I forget them sometimes. You should at least put links to the threads in your sig.
Ah, change the font. I will, but first I must go to bed. I've literally been fucking with ATF for an hour and a half, trying to figure out what was going on!
I keep bringing up my PL just to look at it - its gorgeous!
Code -> PHP to fix forum breakage.
While I'm obesessing over the perfection of my Pl, is there a way to get the PL's entry numbers to have leading zeros?
Also, can you post/pm/email me your ATF string that you showed earlier, so I can nail down this rating view.
Seriously though, bed now.