Conditional text in Now Playing Widget

Is there any way of showing the parts of the parts of the line text conditionally in Now Playing Widget?

What I mean is: Spotify gives the {artist} field, so I would like to have the:
{title} - {artist}

but YouTube or other websites do not provide the {artist} field, so then hyphen is spurious and just sticks always after the title.
I know it is pretty particular case, but is there a way to show parts of the text conditionally on the availability of the fields?

Here it would be: {title} - {artist} if {artist}, else {title}

This program is so powerful, maybe I am just missing it :slight_smile: