Is there a way to identify a standalone recording in a Picard script?
Couldn’t find anything in the docs.
A standalone recording will have a recording MBID but will not have a track MBID, so this is probably the easiest way to identify them in scripts. Something like (untested):
$set(mytag,$if(%musicbrainz_trackid%,normal,standalone))
5 Likes
I actually use $if($eq(%album%,[non-album tracks]),...)
for identifying. But you need to be careful, [non-album tracks]
is just the default and can be customized in Options > Metadata. Also some might prefer to completely unset the album
tag for standalone recordings.
Generally I think @draconx approach is better and less likely to break.
We should have a variable for identifying standalone recordings.
3 Likes