I searched, I couldnt find a simple solution to move the word “The” after the artist. i.e. The Beatles becomes, Beatles, The.
Its all I want to do, its something probably along the lines of:
$replace($if($eq($left(%albumartist%,4),The )
but that doesnt work
a Pre-Thank you for the help!
Note: if you use artistsort on your entire collection, the changes won’t be limited to moving the ‘the’. You’ll also get e.g. “{family name}, {given name}” (which might not be something you want). More at Style/Artist/Sort Name.
Just for completeness, you can define your own set of prefixes. The default is A and The, but if you also want to move e.g. the German “Die” (the equivalent to English The) as in “Die Toten Hosen” you can do that also:
Hello, Hope no one minds if i ask a similar question in this thread? I have the same problem as the OP. I put the “$swapprefix(%artist%,A,The,Die)” that outsidercontext replied with but it didn’t work so i tried without “Die” same result and then without “The and A” same result again. Does it need to go in a particular place in the renaming string i’m using? This is what i’m currently using
$if2(%albumartist%,%artist%)/$if($ne(%album%,),%album% /)$if($gt(%totaldiscs%,1),%discnumber%-,)$if($ne(%tracknumber%,),$num(%tracknumber%,2) %title%,%title%)$if($ne(%musicbrainz_artistid%,%musicbrainz_albumartistid%), [%artist%],)