User Tools

Site Tools


ubuntu:sound:musicbrainz_picard:configure

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:sound:musicbrainz_picard:configure [2020/09/21 12:01] 192.168.1.1ubuntu:sound:musicbrainz_picard:configure [2023/09/24 10:30] (current) peter
Line 3: Line 3:
 Navigate to **Options > Options**. Navigate to **Options > Options**.
  
-  * **Tags > Clear existing tags**:  Checked.+  * **Metadata** 
 +    * **Genres** 
 +      * **Use genres from MusicBrainz**:  Checked
 +      * **Fall back on albums artists genres if no genres are found for the release:**  Checked. 
 +      * **Minimal genre usage**:  90%. 
 +      * **Maximum number of genres**:  5.
  
-  * **Plugins:**  Install the following plugins+  * **Tags** 
-    * Amazon cover art+    * **Write tags to file** Checked. 
-    Last.fm +    * **Clear existing tags**:  Checked. 
-    * The AudioDB cover art + 
-    Title Case+  * **Cover Art**: 
 +    * **Embed cover images into tags**: Checked. 
 +    * **Only only a single front image**: Checked. 
 +    * **Save cover images as separate files**: Checked. 
 +    * **Use the following file name for images**cover. 
 +    * **Cover Art Providers**:  
 +        * **Cover Art Archive: Release**: Checked. 
 +        * **Allowed Cover Art URLS**:  Checked. 
 +        * **Cover Art Archive: Release Group**:  Checked. 
 +        * **Amazon**:  Checked
 +        **TheAudioDB**:  Checked. 
 +        * **Local Files**:  Checked
 +    * **Cover Art Archive**: 
 +      * **Download only cover art images matching selected types**: Checked. 
 +      **Only use images of the following size**: 500px.
  
   * **File Naming**:   * **File Naming**:
     * **Move files when saving**:  Checked.     * **Move files when saving**:  Checked.
     * **Destination directory**: <nowiki>/home/peter/Music</nowiki>     * **Destination directory**: <nowiki>/home/peter/Music</nowiki>
 +    * **Delete empty directories**:  Checked.
     * **Rename files when saving**:  Checked.     * **Rename files when saving**:  Checked.
     * **Windows compatibility**:  Checked.     * **Windows compatibility**:  Checked.
     * **Name files like this**: <code>     * **Name files like this**: <code>
-$replace($rreplace( 
-  $if($eq(%albumartist%,Various Artists),, 
  
-    $upper($left($delprefix($left($rreplace($if2(%albumartist%, %artist%),["_*:],),60),The),1))/+$noopNew Script )
  
-  )+$set(_my_artist,"AA")
  
 +$noop(
 +  Check if this album falls under Various Artists.
 +)
 +$set(_is_various_artists,$if2(%albumartist%,%artist%))
  
-$delprefix($if2(%albumartist%, %artist%),The)/ 
  
-$if($ne(%albumartist%,Various Artists), +$noop
-  $if(%date%,$left(%date%,4) -) $left($replace(%album%,/,), 70), $left($replace(%album%,/,), 70) +  Configure which top-level directory to go under. 
 +  Removes starting The. 
 +  Removes quotes. 
 +  Removes other odd characters.
  
-$if(%date%,\($left(%date%,4)\))  )+$set(_my_dir,$if2(%albumartist%,%artist%)) 
 +$set(_my_dir,$if($eq(%_my_dir%,Various Artists),%_my_dir%,$upper($left($delprefix(%_my_dir%),1)))) 
 +
 +$set(_my_dir,%albumartist%) 
 +$if($eq(%_my_dir%,),$set(_my_dir,%artist%)) 
 +$set(_xmy_dir,$if($startswith(%_my_dir%, The),$replace(%_my_dir%,The,),%_my_dir%)) 
 +$set(_xmy_dir,$delprefix(%_my_dir%,The,A,An)) 
 +$set(_my_dir,$delprefix(%_my_dir%,The)) 
 +$set(_my_dir,$rreplace(%_my_dir%,[“”"_*:\(\)[],)) 
 +$set(_my_dir,$rreplace(%_my_dir%,^[.],)) 
 +$set(_my_dir,$trim(%_my_dir%)) 
 +$set(_my_dir,$if($eq(%_my_dir%,Various Artists),%_my_dir%,$upper($left(%_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,%albumartist%) 
 +$if($eq(%_my_artist%,),$set(_my_artist,%artist%)) 
 +$set(_xmy_artist,$if($startswith(%_my_artist%,The),$replace(%_my_artist%,The,),%_my_artist%)) 
 +$set(_xmy_artist,$delprefix(%_my_artist%,The,A,An)) 
 +$set(_my_artist,$delprefix(%_my_artist%,The)) 
 +$set(_my_artist,$rreplace(%_my_artist%,[“”"_*:],)) 
 +$set(_my_artist,$rreplace(%_my_artist%,^[.],)) 
 + 
 + 
 +$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),)) 
 +$if($eq(%_my_album_date%,),$set(_my_album_date,$if(%originaldate%,$left(%originaldate%,4),))) 
 +$if($eq(%_my_album_date%,),$set(_my_album_date,$if(%originalyear%,$left(%originalyear%,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(%_my_album_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(%_my_album_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% 
 +)
  
-$if($gt(%totaldiscs%,1),/$pad(%discnumber%,2,0)-,/) 
  
-$num(%tracknumber%,2) - $left($if(%_multiartist%,%title% [%artist%],%title%),120),[:?"_]+,), , ) 
 </code> </code>
  
-  * **Cover Art**: + 
-    * **Location**: +  * **Plugins:**  Install the following plugins
-      * **Embed cover images into tags**: Checked. +    * Amazon cover art
-      * **Only embed a front image**: Checked. +    Last.fm 
-    * **Cover Art Providers**:  +    * The AudioDB cover art 
-        * **Local Files** Checked. +    Title Case
-        * **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.1600689666.txt.gz · Last modified: 2020/09/21 12:01 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki