This guide explains how to correct and update the tags of your music in your iTunes from MusicBrainz using Picard. Please read everything and check that this method will work for you before you begin.
A few things that must be considered/checked before starting:
- Purchased Music from the iTunes Store: This will not work for (.m4p). Although Picard is compatible with .m4p, it will probably mess up the release art. If you do put your purchased music through, there is a way to get to fix it (see Troubleshooting)
- Mp3s: If you are using mp3 files, be careful with using Picard to save ID3v2.4 tags. Some versions of iTunes (older ones in particular - may affect current ones) can save incorrect ID3v2.4 tags and aren't able to read the correct ones correctly. This usually affects embedded artwork, or anything with ID3 frames bigger than 32kB. To "fix" this problem, or play safe, always use Picard's default setting of ID3v2.3 tags in the options (and iTunes also).
- Consolidating library: DO NOT consolidate your library in the middle of this process, consolidating must be done before or after this process.
- Renaming / Moving Files: Consider carefully when using Picard to rename/move your files. This will cause iTunes to lose track of where the files are; meaning you will have to re-add them to the library, which may mean you lose play counts and any other information that iTunes keeps in its own library. As a general rule, unless you are willing to re-import the files you are tagging, it's usually better to have these options off when working with iTunes.
- If you DO decide to rename/move files with Picard, make sure "Keep iTunes library organized" is disabled. Otherwise after you re-import your music, iTunes will reorganize it anyway.
- Mac only: If your library exists on a HFS+ formatted disc, which it normally should, iTunes is aware of a file's location and keeps it updated, even if it's moved by Picard.
Summary of Process
- Tag files using Picard (see How to Tag Files With Picard)
- Update iTunes library (see below)
- Other troubleshooting/tidy up steps may be needed (see below)
Updating Library in iTunes
All these methods should work in iTunes 10+.
Manual method (file-by-file update)
This method works best for updating data on individual tracks or a couple of albums.
- Select the first track in an album/selection
- Right click > Get Info
- Click "Next" (or Cmd+N/Ctrl+N on the keyboard) repeatedly, until you've passed the last track. This will be much slower than the first method (especially if you're letting iTunes manage your library), but it will work in iTunes 10.
Brute force method (full library re-scan)
This method works best if
- you've re-tagged a whole lot of your files and don't remember which files/albums
- or there are far too many for the first approach
- or you've moved/renamed files and iTunes has lost them
- Go to File > Add Folder to Library
- Point it at the top of your iTunes directory ("My Music\iTunes\iTunes Music\Music" on Windows, by default).
- iTunes will rescan your music, but recognize it's already imported, so you shouldn't end up with duplicate files (unless you have moved/renamed files)
Mac-only advanced method
This method is a bit more complicated to set up, but easy to use.
Fire up Script Editor (which is under Applications/AppleScript, but it will work with TextEdit). Paste the following code, then save as a Script called /Library/iTunes/Scripts/Refresh.scpt (create the Scripts directory if it doesn't already exist).
tell application "iTunes" refresh selection end tell
Now, inside iTunes, you should see a Scripts menu (an icon of a scroll, just left of Help). The "Refresh" item on that menu will force it to re-read the tags for all tracks that you have selected.
The iPod doesn't like the MusicBrainz tags in the files, so it may pull up the wrong release art on the iPod. This can easily be fixed by
- plugging in the iPod
- going into Preferences > iPod > Music
- turning off "Display album artwork on your iPod"
- update the ipod (so it removes all the release art on the iPod)
- then turn that option on again, update the iPod and it will move the correct release art to the iPod.
If you enable the View -> Column Browser -> Group Compilations option in iTunes, you'll discover a slight different in the treatment of compilations between iTunes and MusicBrainz. Whilst MusicBrainz will mark both the "Various Artists" compilations and single artist anthologies as compilations, iTunes is expecting to find only "Various Artists" compilations. To work around this, apply the following script to Picard tagger (Tools -> Options -> Advanced ->Scripting);
This will remove the compilation marker from any album that isn't a collection of Various Artists.