Last active
February 15, 2022 01:30
-
-
Save mia-riezebos/69ab117ea0d8b11ba3e08496c13cd73d to your computer and use it in GitHub Desktop.
MusicBrainz Picard tagger script (artist/album/title.ext)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$set(__year,$left(%date%,4)) | |
$set(__publisher,$if($and($eq(%albumartist%,Various Artists),%label%),$rreplace(%label%,[/_:],-),$rreplace(%albumartist%,[/_:],-))) | |
$set(__releasegroup,$if(%albumartist%,$rreplace(%album%,[/_:],-))) | |
$set(__trackno,$if($gt(%totaldiscs%,1),%discnumber%-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) , )) | |
$set(__title,$rreplace($if(%_multiartist%,%artist% - ,)%title%,[/_:],-)) | |
%__publisher%/%__year% - %__releasegroup%/%__trackno%%__title% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment