How to compare file's existing value against MusicBrainz value?

I want to conditionally unset some fields in Picard based on the existing values in my files. For example, if the reason that the field changes is because the whitespace in MusicBrainz differs from my own, I want Picard to automatically keep my values.

Is this possible with scripting? This doesn’t work, but something like this:

$if($eq($replace($get(artist), ,),%artist%),
$unset(artist)
)

That’s unfortunately not possible with scripting currently, as the script only has access to the current metadata shown in the new column.

A plugin potentially could handle that.

1 Like