Differences between revisions 12 and 13
Revision 12 as of 2015-11-23 01:12:22
Size: 6639
Editor: TomRoche
Comment: change menuing when adding artist
Revision 13 as of 2015-11-25 12:27:09
Size: 6629
Comment: removed double word and since there is no CategoryMultimedia, moved multimedia link in a "See also" section
Deletions are marked like this. Additions are marked like this.
Line 64: Line 64:
 1. Enter metadata for your release: this will involve several screens. Eventually you will be able to save your metadata. If you're unsure how to format your metadata (i.e., how to map what's on the cover of your CD into the various fields wanted by !MusicBrainz), consider consulting the [[https://musicbrainz.org/doc/Style|the official MusicBrainz Style Guidelines]].  1. Enter metadata for your release: this will involve several screens. Eventually you will be able to save your metadata. If you're unsure how to format your metadata (i.e., how to map what's on the cover of your CD into the various fields wanted by !MusicBrainz), consider consulting the [[https://musicbrainz.org/doc/Style|official MusicBrainz Style Guidelines]].
Line 97: Line 97:
== See also ==

 * [[Multimedia]]
Line 104: Line 107:
[[Multimedia|CategoryMultimedia]]
<<BR>>

Translation(s) : English - Italiano



Introduction

Picard is a cross-platform (Linux/Mac OS X/Windows) application written in Python and is the official MusicBrainz tagger. A tagger is software that allows you to attach metadata (such as artist name and track titles) to a media container (such as a CD or DVD) in a music database (such as MusicBrainz).

Features

  • CD lookup and disc ID submission
  • Album oriented approach
  • Extensible via plugins

Motivation

You'll typically use Picard as a way to "pay forward" after an unsuccessful attempt to retrieve metadata when ripping a particular CD or DVD (which MusicBrainz calls a release).

When one rips, one copies media data (e.g., encoded sound) from a container to one's own filesystem, typically creating directory/folder and file names based on container metadata. For example, for a CD of a music album, one may create

  • a directory with a name matching that of the creator(s) of the album
  • under that a directory with a name matching that of the album
  • under that, one file per track on the album (with the filenames matching the track names)

One could type all that manually, but the process is much easier when one's ripper (e.g., abcde) automatically retrieves that metadata from one's music database. For that to happen, the database must already have the metadata for the album you are ripping. Unfortunately, that will not always be the case, particularly with less-well-known recordings, producing results like

$ date ; abcde -c ~/.config/abcde/abcde-MP3.conf ; date
Mon Apr 13 18:46:31 EDT 2015
Use of the encoding pragma is deprecated at /usr/bin/abcde-musicbrainz-tool line 15.
Grabbing entire CD - tracks: 01 02 03
Use of the encoding pragma is deprecated at /usr/bin/abcde-musicbrainz-tool line 15.
No Musicbrainz match.
---- Unknown Artist / Unknown Album ----
1: Track 1
2: Track 2
3: Track 3

Edit selected CDDB data? [y/n] (y):

At this point/prompt, you have 3 options:

  1. Enter n: this will rip the audio from the container to your filesystem without metadata. This causes problems at playback time: you won't know what you're playing until you play it.

  2. Enter y: this will launch your $EDITOR so you can enter the metadata manually. This will be good for you, but useless for the next person who tries to rip that album.

  3. Hit Control-c to exit, and then enter the metadata into a public database (like MusicBrainz) using a tool that can communicate with that database (like Picard). This is the morally correct option :-) You are only able to rip other containers relatively effortlessly because other people in the past made the effort to publish the metadata from those containers; now it's your turn.

Installing

To install Picard on your computer run following command as root:

aptitude install picard

Usage

Your Picard metadata-entry session will typically seek to add a *Release* (what MusicBrainz calls a particular CD or DVD), and will typically go as follows:

  1. In your shell/terminal, start the Picard GUI: e.g., picard &.

  2. In the GUI, hit button=CD Lookup near the top right of the GUI.

  3. This will popup a dialog=CD Lookup with a listbox. Since MusicBrainz previously failed to return results to your ripper, that listbox will almost certainly be empty. Click button=Lookup manually.

  4. This will launch an instance of your default web browser with a complex/varying web UI, but the tab or window title will be Lookup CD.

    1. If your default web browser is Firefox, you may wish to create a lightweight profile (i.e., without many plugins or saved tabs/windows) specifically for running from Picard.

    Try searching for information about your release or its artist. Given that MusicBrainz previously failed to return results to your ripper, your search will probably fail, but you will eventually get a webpage with a button=Add a new release: click that.

  5. Enter metadata for your release: this will involve several screens. Eventually you will be able to save your metadata. If you're unsure how to format your metadata (i.e., how to map what's on the cover of your CD into the various fields wanted by MusicBrainz), consider consulting the official MusicBrainz Style Guidelines.

  6. Unless you're entering metadata for more releases, exit the launched web-browser instance (with, e.g., Control-q).

  7. Unless you're entering metadata for more releases, exit Picard (with, e.g., Control-q).

Tips and tricks

Artists

MusicBrainz very much prefers for you to add (to your new Release) previously-defined Artist metadata. If you are adding a new Release and cannot add the Artist you want,

  1. Cancel out of your current web session. This will put you to the MusicBrainz homepage.

  2. From the horizontal menubar at page top, choose Editing > Add Artist.

  3. Add the desired artist, and save. This should put you to the page for your new Artist.
  4. From the vertical menubar at page right, choose Editing > Add Release.

  5. Resume adding your Release: you should this time be able to add your artist.

Scripting

  • Lowercase filenames with undescores
     $lower($replace(%albumartist%/%album%/$num(%tracknumber%,2) %title%, ,_))
  • Remove "feat." from filenames
     $set(title,$rreplace(%title%,\\s\\\(feat. [^\)]+\\\),))
  • Remove "various artists" from compilation filenames
     $if($and($eq(%compilation%,1), $eq(%albumartist%,Various Artists)), $unset(albumartist) $unset(albumartistsort))

Plugins

Picard has support for third party plugins, such as album art downloader, additional search options, etc: see this page. To install plugin files, download them to a ~/.config/MusicBrainz/Picard/plugins/ directory (creating the directory first if necessary).

See also


CategorySoftware