separately split flags working nicely but unfortunately, font markup tags are now being ignoredI dont think anything has been changed in that regard ie. markup tags are not supported for values split over rows.
{font: Segoe MDL2 Assets;Bold;9}{contrast: 60} {font: Verdana Pro Cond;Regular;8.25}{contrast: default}<Album>; $IsNull(<Subtitle>,,{font: WebHostingHub-Glyphs;Regular;9}{contrast: 1}" "{font: Verdana Pro Cond;Regular;7.5}{contrast: default}<Subtitle [display]>"; ")$If($Left(<Grouping>,1)="G",{font: WebHostingHub-Glyphs;Regular;9}{contrast: 1}" "{font: Verdana Pro Cond;Regular;8.25}{contrast: default}$Split(<Grouping>,"; ",2),<Grouping>)$If(<Disc Count>>1,"; "{font: Segoe UI Symbol;Regular;9}{contrast: 1}{font: Verdana Pro Cond;Regular;8.25}{contrast: default}"(disc "<Disc#>" of "<Disc Count>" - track "$If(<Track#><10,$RSplit(<Track#>,0,1),<Track#>)" of "<Track Count>")"," (track "$If(<Track#><10,$RSplit(<Track#>,0,1),<Track#>)" of "<Track Count>")")
i have added support for markup in the promptThank you.
I have updated it again as the intention was to carry the markup over the split lines which it wasnt doing in all casesShould this work with existing scripts or do I have to format them differently?
{font: Segoe MDL2 Assets;Regular;9} {font: Verdana Pro Cond;Regular;8.25}$Replace($Replace(<Genre Groups>,/,"; "),"; ","; "{font: Segoe MDL2 Assets;Regular;9}{contrast: 1}" "{font: Verdana Pro Cond;Regular;8.25}{contrast: default}); {font: Segoe MDL2 Assets;Regular;9} {font: Verdana Pro Cond;Regular;8.25}$Replace($Replace(<Genres>,/,"; "),"; ","; "{font: Segoe MDL2 Assets;Regular;9}{contrast: 1}" "{font: Verdana Pro Cond;Regular;8.25}{contrast: default})
I have updated it again as the intention was to carry the markup over the split lines which it wasnt doing in all casesShould this work with existing scripts or do I have to format them differently?
Getting duplicates now with existing scripts
(https://i.imgur.com/thGbnce.jpg)Code{font: Segoe MDL2 Assets;Regular;9} {font: Verdana Pro Cond;Regular;8.25}$Replace($Replace(<Genre Groups>,/,"; "),"; ","; "{font: Segoe MDL2 Assets;Regular;9}{contrast: 1}" "{font: Verdana Pro Cond;Regular;8.25}{contrast: default}); {font: Segoe MDL2 Assets;Regular;9} {font: Verdana Pro Cond;Regular;8.25}$Replace($Replace(<Genres>,/,"; "),"; ","; "{font: Segoe MDL2 Assets;Regular;9}{contrast: 1}" "{font: Verdana Pro Cond;Regular;8.25}{contrast: default})
$Replace($IsNull(<LABEL>,{font: Meiryo UI;Bold;10.5}$IsNull(<Work>,<ALBUM DESCRIPTION>,<WORK HEADER>),{font: Meiryo UI;Italic;10.5}$If($Or($Contains(<WORK HEADER>,$Replace(<LABEL>," in "<SONGKEY>,)),<LABEL>=<WORKSUBTITLE>),,$Replace(<LABEL>,<EXTRA INFO>,)$IsNull(<Title>,,{font: Meiryo UI;Regular;10.5}" from")$If($Pad($Add($Len($Replace(<LABEL>,<EXTRA INFO>,)),$Len($Replace($If(<Genre>="Classical",<WORK HEADER>,<ALBUM DESCRIPTION>),<SETSUBTITLE>,))),3)>=070,...;," ")){font: Meiryo UI;Bold;10.75}$If(<Genre>="Classical",$IsNull(<Work>,<Album>,<WORK HEADER>$IsNull(<WORKSUBTITLE>,,$If($Contains(<LABEL>,<WORKSUBTITLE>)," ("<WORKSUBTITLE>")",))),$Replace(<ALBUM DESCRIPTION>,<ORIGINAL/RELEASE>,{font: Meiryo UI;Regular;7.25}<ORIGINAL/RELEASE>))),<SETSUBTITLE>,)
$Replace($IsNull(<Title>,{font: Meiryo UI;Bold;10.5}$IsNull(<Work>,<Album>,"WORK"),{font: Meiryo UI;Italic;10.5}$If($Or($Contains("WORK",$Replace(<Title>," in ""SONGKEY",)),<Title>="WORKSUBTITLE"),,$Replace(<Title>,"EXTRA INFO",)$IsNull(<Title>,,{font: Meiryo UI;Regular;10.5}" from")$If($Pad($Add($Len($Replace(<Title>,"EXTRA INFO",)),$Len($Replace($If(<Genre>="Classical","WORK",<Album>),"SETSUBTITLE",))),3)>=070,...;," ")){font: Meiryo UI;Bold;10.75}$If(<Genre>="Classical",$IsNull(<Work>,<Album>,"WORK"$IsNull("WORKSUBTITLE",,$If($Contains(<Title>,"WORKSUBTITLE")," (""WORKSUBTITLE"")",))),$Replace(<Album>,<Year>,{font: Meiryo UI;Regular;7.25}<Year>))),"SETSUBTITLE",)
That code doesn't function at all on my system, it just shows the formula. But that could be because I have no <LABEL> tag, and I have no Meiryo font on my system.
Also, the formula is quite complicated and hard to decipher. Isn't there a simpler formula that narrows down the issue at hand?
The one I posted above your response has generic tags, rather than my specific ones, so it should work anywhere.label is not a generic tag
The one I posted above your response has generic tags, rather than my specific ones, so it should work anywhere.label is not a generic tag
I've reformatted the code so anyone can copy/paste it into their Track Information field panel and see if the results are replicated on their machine. It would be immensely helpful to know if this spacing issue is universal, or specific to my machine.Code$Replace($IsNull(<Title>,{font: Meiryo UI;Bold;10.5}$IsNull(<Work>,<Album>,"WORK"),{font: Meiryo UI;Italic;10.5}$If($Or($Contains("WORK",$Replace(<Title>," in ""SONGKEY",)),<Title>="WORKSUBTITLE"),,$Replace(<LABEL>,"EXTRA INFO",)$IsNull(<Title>,,{font: Meiryo UI;Regular;10.5}" from")$If($Pad($Add($Len($Replace(<Title>,"EXTRA INFO",)),$Len($Replace($If(<Genre>="Classical","WORK",<Album>),"SETSUBTITLE",))),3)>=070,...;," ")){font: Meiryo UI;Bold;10.75}$If(<Genre>="Classical",$IsNull(<Work>,<Album>,"WORK"$IsNull("WORKSUBTITLE",,$If($Contains(<Title>,"WORKSUBTITLE")," (""WORKSUBTITLE"")",))),$Replace(<Album>,<Year>,{font: Meiryo UI;Regular;7.25}<Year>))),"SETSUBTITLE",)
(https://i.imgur.com/NbJEYJF.png)
$If(<Genre>="Classical","WORK",<Album>),"SETSUBTITLE",))),3)>=070,...;," ")
Sorry I can't get your code to work, but I'm assuming that this is the problem partCode$If(<Genre>="Classical","WORK",<Album>),"SETSUBTITLE",))),3)>=070,...;," ")
Try changing the semi-colon [;] to semi-colon+space [; ]
The splitter is really that combination and maybe Steven tightened up the code for this.
$Replace($IsNull(<Title>,{font: Meiryo UI;Bold;12.5}$IsNull(<Work>,<Album>,<Work>),{font: Meiryo UI;Italic;12.5}$If($Or($Contains(<Work>,$Replace(<Title>," in SONGKEY",)),<Title>=WORKSUBTITLE>),,$RxReplace(<Title>,"\s\[.+\]","")$IsNull(<Title>,,{font: Meiryo UI;Regular;12.5}" from")$If($Pad($Add($Len($Replace(<Title>,EXTRA INFO,)),$Len($Replace($If(<Genre>="Classical",<Work>,<Album>),SETSUBTITLE,))),3)>=020,...;," ")){font: Meiryo UI;Bold;12.75}$If(<Genre>="Classical",$IsNull(<Work>,<Album>,<Work>$IsNull(WORKSUBTITLE>,,$If($Contains(<Title>,WORKSUBTITLE>)," ("WORKSUBTITLE>")",))),$Replace(<Album>,<Year>,{font: Meiryo UI;Regular;8.25}<Year>))),SETSUBTITLE,)
I'm sorry man, <LABEL> is still there, and you adding a specific font isn't also making it easier to test it.
Apart from the font not being present on my system, the font size contains dots, while my region settings require comma's.
I hope somebody else can help in testing this, but it's too much of a hassle for me.