I Use the following for my Main Library:
Code: Select all
\music\$if(<Album Artist><>The The, $RemovePrefix(<Album Artist>),<Album Artist>)\<Album>\$if(<Disc#>>1,<Disc#>)<Track#:2> <Title>
But for my media keys that I use in the cars I like to index using the Group mask so I have directories ABC, DEF, etc...
If I do this it works great:
Code: Select all
$Assign(A,$RemovePrefix(<Album Artist>))$Group($Use(A),3)\$Use(A)\<Album>
however if I try and get alittle tricker and do this
Code: Select all
$Assign(A,$If(<Album Artist>==the the,<Album Artist>, $RemovePrefix(<Album Artist>)))$Group($Use(A),3)\$Use(A)\<Album>
as my path, which I don't understand, clearly the 'A' variable has the correct value in it as it's the second section of my path, and clearly the $Group correctly process the $Use as it works in the first case. For some reason though when the variable for the $Use was loaded by the $if it completely fails.
anyone have any ideas here?
thank you!