View Single Post
Old 14th September 2018, 15:48   #4
Worez
Member
 
Join Date: May 2016
Posts: 98
Quote:
Originally Posted by ryerman View Post
[...]
Here's [...] an ATF
[...]
So if I literally were to insert

code:
$puts(X,whatever you want #1)$ifgreater($strstr(%ARTIST%,$get(X)),0,$get(X),whatever you want when X is not found)

into my ATF and play in Winamp a file by artist named
X
I should see
whatever you want #1
?

Because if yes than the code is wrong, as I see
whatever you want when X is not found
as if there was no X in the ARTIST tag field
I also get the same false result ["whatever you want when X and Y are not found" that is] with
code:
$puts(Y,whatever you want #2)$ifgreater($strstr(%ARTIST%,$get(Y)),0,$get(Y),whatever you want when X and Y are not found)


while when using
code:
$puts(X,whatever you want #1)$ifgreater($strstr(%ARTIST%,$get(X)),0,$get(X),$puts(Y,whatever you want #2)$ifgreater($strstr(%ARTIST%,$get(Y)),0,$get(Y),whatever you want when X and Y are not found)


I just get a syntax error

And those are my rusults for 5 file formats
Worez is offline   Reply With Quote