====== Ubuntu - Sound - MusicBrainz Picard - File Naming Setting ======
===== Peter Filenaming Settings =====
Navigate to **Options > Options > File Naming**.
$replace($rreplace(
$if($eq(%albumartist%,Various Artists),,
$upper($left($delprefix($left($rreplace($if2(%albumartist%, %artist%),["_*:],),60),The),1))/
)
$delprefix($if2(%albumartist%, %artist%),The)/
$if($ne(%albumartist%,Various Artists),
$if(%date%,$left(%date%,4) -) $left($replace(%album%,/,), 70), $left($replace(%album%,/,), 70)
$if(%date%,\($left(%date%,4)\)) )
$if($gt(%totaldiscs%,1),/$pad(%discnumber%,2,0)-,/)
$num(%tracknumber%,2) - $left($if(%_multiartist%,%title% [%artist%],%title%),120),[:?"_]+,), , )
----
===== Peter - Older =====
$replace($rreplace(
$if($eq(%albumartist%,Various Artists),Various Artists/,
$left($upper($if2($delprefix(%albumartist%,The),$delprefix(%artist%,The))),1)/$left($rreplace($delprefix($if2(%albumartist%,%artist%),The),; [^\)]+,), 60))
/
$if($ne(%albumartist%,Various Artists),
$if(%date%,$left(%date%,4) -) $left($replace(%album%,/,), 70),
$left($replace(%album%,/,), 70) $if(%date%,\($left(%date%,4)\)) )
$if($gt(%totaldiscs%,1),/$pad(%discnumber%,2,0)-,/)
$num(%tracknumber%,2) - $left($if(%_multiartist%,%title% [%artist%],%title%),120),[:?"_]+,), , )
==== Older ====
$replace($rreplace(
$if($eq(%albumartist%,Various Artists),Various Artists/,
$left($upper($if2($delprefix(%albumartist%,The),$delprefix(%artist%,The))),1)/$left($rreplace($delprefix($if2(%albumartist%,%artist%),The),; [^\)]+,), 60))
/
$if($ne(%albumartist%,Various Artists),
$if(%date%,$left(%date%,4) -) $left($replace(%album%,/,), 70),
$left($replace(%album%,/,), 70) $if(%date%,\($left(%date%,4)\)) )
$if($gt(%totaldiscs%,1),/$pad(%discnumber%,2,0)-,/)
$num(%tracknumber%,2) - $left($if(%_multiartist%,%title% [%artist%],%title%),120),[:?"_]+,), , )