As a header I like to have Composer - Composition - Performers
With the tags I have you get things like
Bach, Carl Philipp Emanuel (1714-1788) - Cello concerto No.1 in A minor, H.432, Wq. 170 - Berger, Julius [Cello]; Dall'Arco Chamber Orchestra
A bit longish
Use the last name of the composer only
Hence you get Bach.
Nice but I have Carl Philipp Emanual, Wilhelm Friedemann.
You can do the same for the performers.
This is the artist tag and it contains multiple values.
Use the $Split to split them in separate values and Split again using the comma
$Split($Split(<Artist>,;,1),",",1)
Repeat this for the 2,3 etc artist.
I like a / as a separator between them.
Test if the artist exist, if so add it with a slash.
I ended with
$If(<Composer>="Bach, Carl Philipp Emanuel (1714-1788)","Bach CPE",$If(<Composer>="Bach, Johann Christian (1735-1782)","Bach JC",$If(<Composer>="Bach, Johann Christoph Friedrich(1732-1795)","Bach JCF",$If(<Composer>="Bach, Wilhelm Friedemann (1710-1784)","Bach WF",$If(<Composer>="Couperin, Louis (c1626-1661),Couperin L,$If(<Composer>=Couperin"," François (1668-1733)Couperin F",$If(<Composer>="Scarlatti, Domenico (1685-1757)","Scarlatti D",$If(<Composer>="Stamitz, Carl (1745-1801)","Stamitz C",$If(<Composer>="Stamitz, Johann (1717-1757)","Stamitz J",$If(<Composer>="Strauss, Richard (1864-1949)","Strauss R",$If(<Composer>="Tchaikovsky, Boris (1925-1996)","Tchaikovsky Boris",$If(<Composer>="Schumann, Clara (1819-1896)",Schumann-Wieck,$Split(<Composer>,",",1)))))))))))) - <Composition> - $Split($Split(<Artist>,;,1),",",1)$IsNull($Split($Split(<Artist>,;,2),",",1),,/$Split($Split(<Artist>,;,2),",",1))$IsNull($Split($Split(<Artist>,;,3),",",1),,/$Split($Split(<Artist>,;,3),",",1))
This is much easier to read
$If(<Composer>="Bach, Carl Philipp Emanuel (1714-1788)","Bach CPE",
$If(<Composer>="Bach, Johann Christian (1735-1782)","Bach JC",
$If(<Composer>="Bach, Johann Christoph Friedrich(1732-1795)","Bach JCF",
$If(<Composer>="Bach, Wilhelm Friedemann (1710-1784)","Bach WF",
$If(<Composer>="Couperin, Louis (c1626-1661),Couperin L,
$If(<Composer>=Couperin"," François (1668-1733)Couperin F",
$If(<Composer>="Scarlatti, Domenico (1685-1757)","Scarlatti D",
$If(<Composer>="Stamitz, Carl (1745-1801)","Stamitz C",
$If(<Composer>="Stamitz, Johann (1717-1757)","Stamitz J",
$If(<Composer>="Strauss, Richard (1864-1949)","Strauss R",
$If(<Composer>="Tchaikovsky, Boris (1925-1996)","Tchaikovsky Boris",
$If(<Composer>="Schumann, Clara (1819-1896)",Schumann-Wieck,
$Split(<Composer>,",",1))))))))))))
$Split(<Composer>,",",1) - <Composition> -
$Split($Split(<Artist>,;,1),",",1)
$IsNull($Split($Split(<Artist>,;,2),",",1),,/$Split($Split(<Artist>,;,2),",",1))
$IsNull($Split($Split(<Artist>,;,3),",",1),,/$Split($Split(<Artist>,;,3),",",1))
There are 2 options:
1 Don't listen to classical
2 Don't do things like this
3 Ask Steve for a expression editing window allowing you to have multi-lines