<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d11473549\x26blogName\x3dPDA+and+Laptop+Today+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://pdatoday.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://pdatoday.blogspot.com/\x26vt\x3d-4872991368707470484', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Español | Deutsche | Français | Italiano | Português

Saturday, December 10, 2005

Tidy Up iTunes MP3 collection

If like me you have a big music collection gathered from lots of sources, then you are probably having the same problems with the awful metadata that some tracks have.


A lot of my tracks have weird or missing track details, errors and for some tracks I have no ID3 tags at all for the artist and album. I also have a lot of duplicates which have happened from mistakenly importing the same CD twice, or when I've added a friends collection to mine and they have the same track but with a slightly different filename, so it slipped through the net.

(continued...)

Given that my collection is continuing to grow, and I am increasingly accessing my library via other PCs, devices and my Xbox via Xbox Media Centre I decided it was time to tidy things up before it became an impossible task.


Below are the steps I went through, which I will now do with all new tracks before they get into my library.


Step 1: Tagging


Even if your tracks have been imported directly from CD the ID3 tags can still contain errors, especially if you are importing old CDs or non-mainstream CDs. The best tool I have found to fix tags is MusicBrainz Tagger http://musicbrainz.org/tagger/index.html. This great tool scans your various music files and writes clean metadata tags (ID3 tags or Vorbis comment fields) to your files.


For files that MusicBrainz doesn't recognize, MB submits acoustic fingerprints (TRM ids) of the files back to the server and asks the user to manually edit the track information, so that the next time someone uses the tool these tracks will be identified.


MusicBrainz allows you to set the threshold at which it thinks it has a match. For my collection I found that very few mistakes were made with a threshold of 80% and I was able to automatically update the tags on around 50% of my 8,000 track collection this way.


For the other 50%, MetaBrainz Tagger still made a pretty good guess as to what the correct tags were. In some cases I was able to automatically accept MB's best stab, but in other cases I had to use the tools within MB to find the correct details. This took quite a long time, but was worth the effort as MB helped me identify a lot of previously unknown tracks and artists. Sorting by album proved to be the quickest way to process my tracks as once I'd confirmed what album a particular track came from I could usually process another 10 tracks from the same album immediately.


Step 2: - Re-import to iTunes


(a) iTunes unfortunately manages its own tag database so it won't immediately pick up the new information. This can be fixed by:


- highlighting all tracks in the library, right clicking and selecting “Get Info.” - Then click "OK" (BE SURE NOT TO CHECK ANY OF THE FIELDS OR YOU WILL LOSE THE VALUE FOR EVERY FILE).


After doing this, the files are all processed and the tag changes will be picked up, and your playcounts and playlists will remain the same.


(b) I had some problems with the above method as iTunes seemed to get a bit confused and wouldn't find the modifed tracks so what I ended up doing was going into my iTunes folder, deleting the iTunes music library files, and re-importing my music folder which picked up all the new tag info.


WARNING: THIS WILL DELETE ALL PLAYCOUNTS AND PLAYLISTS


Step 3: - Removing Duplicates


Once you've tidied up your tags removing duplicates becomes much easier. iTunes has a 'Show Duplicate Songs' command in the Edit menu. It only matches track name, which should be fine if you've tidied up your tags. Once you've done this it's just a case of working through the list and deleting duplicates.


Step 4: - Add Album Art


iTunes doesn't automatically add the artwork from CDs. The iTunes Art Importer http://www.yvg.com/itunesartimporter.shtml solves this problem by adding album images from Amazon to your CDs - very clever.


It's taken me a few evenings to do all this but it's been worth the effort as now at least I can find tracks that I want to hear, and I also know now what I'm listening too!


The author runs a blog following developments in the internet and mobile internet sectors. With over 10 years experience in strategy consulting and business development, and has seen and lived through the highs, and the lows of the industry.


Based in London, the author can be contacted on admin@connectedinternet.co.uk and his blog can be found at http://www.connectedinternet.co.uk