User Tools

Site Tools


ubuntu:sound:musicbrainz_picard:file_naming_setting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntu:sound:musicbrainz_picard:file_naming_setting [2020/09/21 12:03] – created 192.168.1.1ubuntu:sound:musicbrainz_picard:file_naming_setting [2020/09/21 12:03] (current) 192.168.1.1
Line 1: Line 1:
 ====== Ubuntu - Sound - MusicBrainz Picard - File Naming Setting ====== ====== Ubuntu - Sound - MusicBrainz Picard - File Naming Setting ======
 +
 +===== Peter Filenaming Settings =====
 +
 +Navigate to **Options > Options > File Naming**.
 +
 +
 +<code>
 +$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),[:?"_]+,), , )
 +</code>
 +
 +----
 +
 +===== Peter - Older =====
 +
 +
 +
 +<code>
 +$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),[:?"_]+,), , )
 +</code>
 +
 +
 +
 +==== Older ====
 +
 +
 +<code>
 +$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),[:?"_]+,), , )
 +</code>
  
ubuntu/sound/musicbrainz_picard/file_naming_setting.1600689797.txt.gz · Last modified: 2020/09/21 12:03 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki