How do i use commas instead of semicolons here?
$if2(%albumartist%,%artist%)/$if($ne(%albumartist%,),%album%/,)$if($gt(%totaldiscs%,1),$num(%discnumber%,2))$if($ne(%albumartist%,),$num(%_paddedtracknumber%,2) - ,)$if(%_multiartist%,%artists% - ,)%title%
Also, would it be possible to only do ‘trackartist(s) - title’ if the release only has one track?
To use commas rather than semicolons to separate the artists, you need to replace %artists%
with $join(%artists%,\, )
.
To leave out the disc and track numbers if there is only one track, you need to wrap $if($gt(%totaldiscs%,1),$num(%discnumber%,2))$if($ne(%albumartist%,),$num(%_paddedtracknumber%,2) - ,)
inside a conditional, like $if($or($gt(%totaltracks%,1),$gt(%totaldiscs,1)),$if($gt(%totaldiscs%,1),$num(%discnumber%,2))$if($ne(%albumartist%,),$num(%_paddedtracknumber%,2) - ,),)
which should only display the (disc and) track number if there is more than one disc or there is more than one track.
6 Likes