use the $ifgreater and $strstr() commands.
$ifgreater($strstr(string,value), value, true, false)
$strstr params:
string - the string to check if value is contained within it
value - the value to check if contained in the string
$ifgreater params
$strstr() - anything can be used here that will produce a number
value - the value the number must be greater than
true - print this if the number is greater than the value
false - print this if the number is less than the value
for example if you have your VA albums stored in c:\music\albums\various\blah, you could do
$ifgreater($strstr(%_path%,various), 0, ALBUM - TRACK# - ARTIST - TITLE, ARTIST - ALBUM - TRACK# - TITLE)
the $strstr() will return a value greater than 0 if the string in the second param ("various" in this case) is contained in the first param ("%_path" in this case) and isn't at the start of the first param (eg "various\blah"=0 instead of "c:\various\blah"=3). Make sure there isn't a space between the comma and the string to check for.
Hope this helps
Krispy,
Thanks. I appreciate your reply. To use your method would mean that I would have to place all my VA albums in a folder with a name to test for, whether it is "Various" as in your ex. or anthing else.
My files are organised like this:
Single artist albums:
D:/MUSIC/ARTIST/ALBUM/artist - album - track# - title.mp3
VA albums
D:/MUSIC/ALBUM/album - track# - artist - title.mp3
If it is series of VA albums such as the Cafe Del Mar series (Vol. 1 to 9), then:
D:/MUSIC/CAFE DEL MAR/VOLUME #/album - track# -artist - title.mp3
Obviously, the test for a particular string in the path name would not work in this case, unless of course, I were to place all the VA albums into a separate folder.
It seems, to me anyway, that the only way to do it while keeping my files organised as they are, would be to use a tag field to store a value to test for.
Again, thanks for your reply. You've given me some options to think about.