Im novice in scripting but i would like musicbrainz picard to update the album name tag adding a fixed mention (Hi-Res) when an album is a 24bit album
Is there anyway to script this ?
I ve searched all the afternoon …
Many many thanks to the one who may know how to do that
I was just fiddling with something similar today but both _bitrate and _sample_rate gave me nothing. I’d love to know if _bits_per_sample works (it’s my bedtime).
Unless the OP has been edited, @Jaydiohead didn’t even mention file naming, rather:
However thanks for clarifying about when those variables are available. The documentation at Tags & Variables — MusicBrainz Picard v2.10 documentation is incorrect, then. “This page describes … Picard variables which can be used in Picard scripts (for tagging…).”
Those variables I tested are listed under “Basic Variables”.
With your suggestion of:
$if($eq(%_bits_per_sample%,24), \(Hi-Res\))
it’s not obvious to me which tag is being set. What am I missing?
No tag is being set because you can’t set tags in the file naming script. Well, I guess you can set them, but they won’t be written to the file. This is simply adding " (Hi-Res)" to the file name.