Works for me, I just got the name wrong. It is “drum set” with a space. You also probably don’t want to have both the “performer:drums” and “performer:drums (drum set)” tags, if so use
$unset on the second. This works for me:
$set(performer:drums,$get(performer:drums \(drum set\)))
$unset(performer:drums \(drum set\))
No, because a space is not really a special character in Picard. You can use a space without problems,
$set(artist,Michael Jackson) works as expected.
The reason the space caused problems was because it was part of the variable name, and the simple syntax to access a variable is using
%somevariable%. But this syntax is only valid as long as there is no space in the variable name,
%some variable% is invalid. But for these cases there is the
$get function. Using
$get(somevariable) is equivalent to the percent sign notation, but now
$get(some variable) works as well.
You can do other things with
$get as well. E.g. you can access variables that have a special character (with special meaning for Picard’s scripting, like %, $ or parantheses etc.) in their name. E.g. it is totally possible to create a variable with a percent sign with e.g.
$set(\%,percent), but you only can access it with