Last active
December 28, 2024 12:20
-
-
Save seantrane/a4e3fa3c386d21062f8838b42ce61684 to your computer and use it in GitHub Desktop.
MusicBrainz Picard Configuration
This file contains hidden or 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
$if(%albumartist%,%albumartist%,$if(%_multiartist%,Various Artists,$if2(%albumartist%,%artist%)))/ | |
$if($gt($lenmulti(%artists%),2),$join(%artists%, & )--,) | |
$if(%album%,%album%,$trim($rreplace($replace($replace($replace($replace(%title%,",'), _ , - ),:,-),/,-),\([\\?\\!_]*\),))) | |
$if(%releasetype%, [%releasetype%],)/ | |
$if(%date%, \($if(%media%,%media%-,)%date%\),)/ | |
$if(%tracknumber%,$if($gt(%totaldiscs%,1),$num(%discnumber%,2)-,$if(%discnumber%,$num(%discnumber%,2)-,))$num(%tracknumber%,2)--,%artist%--) | |
$trim($rreplace($replace($replace($replace($replace(%title%,",'), _ , - ),:, -),/,-),\([\\?\\!_]*\),)) | |
$if(%tracknumber%,$if(%_multiartist%,--%artist%,$if(%albumartist%,$if($ne(%albumartist%,%artist%),--%artist%,),)),) | |
$if(%releasedate%,$if($ne(%date%,%releasedate%), [%releasedate%],),) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment