So everyone is all excited about Apple's new deal with EMI and DRM-less tracks. But the question is, do you really want to upgrade your songs at $0.30 per song? And how much will the "privilege" cost you? Unfortunately, iTunes is no help here because the copyright data is not an option for your smart playlists. Well, thanks to the modern wonder of metadata, we have a solution.
Here is a quick and easy Terminal command that will tell you what songs came from EMI:
mdfind -onlyin ~/Music/iTunes/iTunes Music
"kMDItemCopyright == '*Emi*' kMDItemCodecs == '*protected*' "
For more metadata fun, try the mdls command. A good example is:
find . -name *.m4p -exec mdls -name "kMDItemCopyright" {} ;
Note that all the labels owned by EMI are probably going to have the same no-DRM deal, so you'll need to run this command for all those labels. Luckily Wikipedia has a list.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20070404130313429