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 [2023/08/12 17:55] peterubuntu: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.
Line 19: Line 39:
  
 $noop( New Script ) $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") $set(_my_artist,"AA")
Line 103: Line 46:
 ) )
 $set(_is_various_artists,$if2(%albumartist%,%artist%)) $set(_is_various_artists,$if2(%albumartist%,%artist%))
 +
  
 $noop( $noop(
Line 109: Line 53:
   Removes quotes.   Removes quotes.
   Removes other odd characters.   Removes other odd characters.
-)+
 $set(_my_dir,$if2(%albumartist%,%artist%)) $set(_my_dir,$if2(%albumartist%,%artist%))
-$set(_my_dir,$if($startswith(%_my_dir%, The),$replace(%_my_dir%,The,),%_my_dir%))+$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,$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))))+$set(_my_dir,$trim(%_my_dir%)) 
 +$set(_my_dir,$if($eq(%_my_dir%,Various Artists),%_my_dir%,$upper($left(%_my_dir%,1)))) 
  
 $noop( $noop(
Line 123: Line 75:
   If artist starts with a fullstop, such as .38 Special, then removes the leading fullstop.   If artist starts with a fullstop, such as .38 Special, then removes the leading fullstop.
 ) )
-$set(_my_artist,$if2(%albumartist%,%artist%)) +$set(_my_artist,%albumartist%) 
-$set(_my_artist,$if($startswith(%_my_artist%, The),$replace(%_my_artist%,The,),%_my_artist%))+$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%,[“”"_*:],))
 $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( $noop(
Line 137: Line 91:
 $set(_my_album,%album%) $set(_my_album,%album%)
 $set(_my_album,$rreplace(%_my_album%,[“”"_*:],)) $set(_my_album,$rreplace(%_my_album%,[“”"_*:],))
 +
  
 $noop( $noop(
Line 144: Line 99:
 $set(_my_album_date,%date%) $set(_my_album_date,%date%)
 $set(_my_album_date,$if(%date%,$left(%date%,4),)) $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),)))
  
  
Line 152: Line 109:
 $set(_my_title,%title%) $set(_my_title,%title%)
 $set(_my_title,$if(%_multiartist%,%title% [%artist%],%title%)) $set(_my_title,$if(%_multiartist%,%title% [%artist%],%title%))
 +
  
 $noop( $noop(
Line 168: Line 126:
  
  
-$if(%date%,+$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_date% - %_my_album%/%_my_track_no% - %_my_title%),
 $set(my_result,%_my_dir%/%_my_artist%/%_my_album%/%_my_track_no% - %_my_title%) $set(my_result,%_my_dir%/%_my_artist%/%_my_album%/%_my_track_no% - %_my_title%)
Line 174: Line 132:
  
  
-$if(%date%,+$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_album_date%\)/%_my_track_no% - %_my_title%),
 $set(my_result_various_artists,%_my_artist%/%_my_album%/%_my_track_no% - %_my_title%) $set(my_result_various_artists,%_my_artist%/%_my_album%/%_my_track_no% - %_my_title%)
Line 187: Line 145:
  
  
 +</code>
  
  
- +  * **Plugins:**  Install the following plugins
- +    * Amazon cover art
- +    * Last.fm 
- +    * The AudioDB cover art 
- +    Title Case
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-$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> +
- +
-  * **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.1691862926.txt.gz · Last modified: 2023/08/12 17:55 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki