User Tools

Site Tools


ubuntu:sound:musicbrainz_picard:configure-old

Ubuntu - Sound - MusicBrainz Picard - Configure

Navigate to Options > Options.

  • Tags > Clear existing tags: Checked.
  • Plugins: Install the following plugins:
    • Amazon cover art.
    • Last.fm
    • The AudioDB cover art
    • Title Case
  • File Naming:
    • Move files when saving: Checked.
    • Destination directory: /home/peter/Music
    • Rename files when saving: Checked.
    • Windows compatibility: Checked.
    • Name files like this:
      $noop( New Script )
      
      $noop(
      $if($startswith(%albumartist%,"),$replace(%albumartist%, The,) ,)
      $if($startswith(%artist%, The), $replace(%artist%, The, ), )
      
      $set(_artist_with_no_quotes,$replace($if2(%albumartist%,%artist%),",))
      $set(_artist_with_no_quotes,$rreplace($if2(%albumartist%,%artist%), [.*"], xxx))
      
      
      $if($startswith(%albumartist%, The), $replace(%albumartist%, xxx,),)
      
      $if2(%albumartist%,%artist%)
      
       // %album%
       // %title%
      
      
      $rreplace(test,[t,)
      $rreplace(%_artist_with_no_quotes%,",xxx)
      
      $set(_artist_with_no_quotes, $if2(%albumartist%,%artist%))
      
      $if($startswith(%_artist_with_no_quotes%, The), $replace(%_artist_with_no_quotes%, xxx, yyy) ,zzz)
      
      %_artist_with_no_quotes%
      
      
      $rreplace($if2(%albumartist%, %artist%),The,)
      $rreplace($if2(%albumartist%, %artist%),""",)
      $rreplace($if2(%albumartist%, %artist%),["_*:],)
      
      
      
      $if($startswith(%_my_artist%, The), $replace(%_my_artist%, The, ))
      $if($startswith(%_my_artist%, "), $replace(%_my_artist%, ", ))
      $if($startswith(%_my_artist%, “), $replace(%_my_artist%, “, ))
      $if($startswith(%_my_artist%, ”), $replace(%_my_artist%, ”, ))
      
      %_my_artist%
      
      %_my_artist%
      
      $firstalphachar(%_my_artist%)
      
      $firstwords(%_my_artist%,1)
      $rreplace(%_my_dir%, ^\\s*\([0-9\,\\.]*\)\$, zz)
      
      $rreplace(%_my_dir%,["”_*: ], )
      
      $set(_my_dir, $if($startswith(%_my_dir%, ”), $replace(%_my_dir%, ”, )))
      $set(_my_dir, $if($startswith(%_my_dir%, "), $replace(%_my_dir%, ", )))
      
      $set(_my_dir, $left(%_my_dir%, 1))
      $if($eq($if2(%albumartist%,%artist%),Various Artists),444,555)/
      
      $set(_xmy_dir, $if($ne(%_is_various_artists%, Various Artists),$upper($left($delprefix(%_my_dir%),1)),%_my_dir%))
      $set(_xmy_dir, $if($ne($if2(%albumartist%,%artist%), Various Artists),$upper($left($delprefix(%_my_dir%),1)),))
      $set(_xmy_dir, $if($eq(%_my_dir%, Various Artists), 1, $upper($left($delprefix(%_my_dir%),1))))
      $set(_xmy_dir, $if($eq(%_my_dir%, Various Artists), 1, T))
      
      )
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      $set(_my_artist,"AA")
      
      $noop(
        Check if this album falls under Various Artists.
      )
      $set(_is_various_artists,$if2(%albumartist%,%artist%))
      
      $noop(
        Configure which top-level directory to go under.
        Removes starting The.
        Removes quotes.
        Removes other odd characters.
      )
      $set(_my_dir,$if2(%albumartist%,%artist%))
      $set(_my_dir,$if($startswith(%_my_dir%, The),$replace(%_my_dir%,The,),%_my_dir%))
      $set(_my_dir,$rreplace(%_my_dir%,[“”"_*:\(\)[],))
      $set(_my_dir,$rreplace(%_my_dir%,^[.],))
      $set(_my_dir,$if($eq(%_my_dir%,Various Artists),%_my_dir%,$upper($left($delprefix(%_my_dir%),1))))
      
      $noop(
        Configure the artist name.
        Removes starting The.
        Removes quotes.
        Removes other odd characters.
        If artist starts with a fullstop, such as .38 Special, then removes the leading fullstop.
      )
      $set(_my_artist,$if2(%albumartist%,%artist%))
      $set(_my_artist,$if($startswith(%_my_artist%, The),$replace(%_my_artist%,The,),%_my_artist%))
      $set(_my_artist,$rreplace(%_my_artist%,[“”"_*:],))
      $set(_my_artist,$rreplace(%_my_artist%,^[.],))
      $set(_my_artist,$delprefix(%_my_artist%))
      $set(_xmy_artist,$delprefix(%_my_artist%,The,A,An))
      
      $noop(
        Configure what the album name will be called.
        Removes quotes.
        Removes other odd characters.
      )
      $set(_my_album,%album%)
      $set(_my_album,$rreplace(%_my_album%,[“”"_*:],))
      
      $noop(
        Configure the album date.
        Only uses the 4-digit year, if it exists.
      )
      $set(_my_album_date,%date%)
      $set(_my_album_date,$if(%date%,$left(%date%,4),))
      
      
      $noop(
        Configure the album title.
        If the album has multiple-artists, then adds that artist name to back of the title.
      )
      $set(_my_title,%title%)
      $set(_my_title,$if(%_multiartist%,%title% [%artist%],%title%))
      
      $noop(
        Configure the track number.
        If the album has multiple-disks, then prefixs the disk number to the track number.
      )
      $set(_my_track_no,$num(%tracknumber%,2))
      $set(_my_track_no,$if($gt(%totaldiscs%,1),$pad(%discnumber%,2,0),))
      $set(_my_track_no,$if($gt(%totaldiscs%,1),$pad(%discnumber%,2,0)-$num(%tracknumber%,2),$num(%tracknumber%,2)))
      
      
      $noop(
        Writes the results.
        Depends on whether the album falls under Various Artists.
      )
      
      
      $if(%date%,
      $set(my_result,%_my_dir%/%_my_artist%/%_my_album_date% - %_my_album%/%_my_track_no% - %_my_title%),
      $set(my_result,%_my_dir%/%_my_artist%/%_my_album%/%_my_track_no% - %_my_title%)
      )
      
      
      $if(%date%,
      $set(my_result_various_artists,%_my_artist%/%_my_album% \(%_my_album_date%\)/%_my_track_no% - %_my_title%),
      $set(my_result_various_artists,%_my_artist%/%_my_album%/%_my_track_no% - %_my_title%)
      )
      
      
      
      $if($eq(%_my_dir%,Various Artists),
      %my_result_various_artists%,
      %my_result%
      )
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      $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),[:?"_]+,), , )
  • Cover Art:
    • Location:
      • Embed cover images into tags: Checked.
      • Only embed a front image: Checked.
    • Cover Art Providers:
      • Local Files Checked.
      • Cover Art Archive Checked.
      • Amazon Checked.
      • TheAudioDB Checked.
    • Cover Art Archive:
      • Download only cover art images matching selected types: Checked.
      • Only use images of the following size: 500px.
ubuntu/sound/musicbrainz_picard/configure-old.txt · Last modified: 2023/09/24 10:12 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki