I love Coverflow. I was using it before when it was still a standalone app. And I’m using it more and more now that it is integrated into iTunes 7.
I tend to browse my albums by year but I’ve noticed something fishy. Basically, when you sort your tracks in iTunes by year, it does a secondary sort by artist name. This is fine for normal albums but really crap for compilations. For example, this is what I get by sorting by year:
Notice that the compilation albums ‘Made in England’ and ‘Made in England 2′ have songs (namely Why and Wot) before The Chemical Brothers’ album and some songs after (Should I Stay Or Should I Go et al.)
And, as expected, when you use the Coverflow view, the compilation albums appear many times instead of only once. For example, ‘Made in England’ would appear both before and after ‘Exit Planet Dust’.
The solution is easy: sort by year then by album name!
Unfortunately, iTunes cannot do this directly… but only indirectly. Here’s the secret:
- Identify a tag that you do not use (I’ve chosen Grouping),
- Select all your songs in iTunes,
- Run the following Applescript in Script Editor (found in /Applications/Apple Script):
tell application “iTunes”
    set theSongs to the selection
    repeat with theSong in theSongs
        set theKey to ((the year of theSong as text) & ” ” & the album of theSong)
        set the grouping of theSong to theKey
    end repeat
end tell
- This script goes through all selected songs and change their grouping tag to the year followed by a space followed by the album name (it runs rather slowly by the way…),
- You can then sort your song collection by grouping,
- And when you use Coverflow, you have each album only once!
Problem solved!
Thanks to codepoet for inspiration. Disclaimer: Backup your songs if you are not confident enough.
Brad says
I’ve spent the past couple days going through my iTunes library trying to make it look nice (I need album artwork for the hundreds of my CDs I ripped — argh). Anyway, I think the correct way to fix this problem is to use iTunes’ “Compilation” setting. Select all those nasty Chemical Bros songs, get info, check the “Compilation” setting and ensure it is set to “Yes”… and click ok. That should take care of it.
avinash says
Hi Brad,
Unfortunately, the ‘Compilation’ setting and also the ‘Album Artist’ tag have no incidence on the Coverflow “fishy” feature I describe. The only way I’ve been able to solve the problem is to use the technique I mention. Don’t forget that I’m trying to browse my CD collection by year.
Fred says
Does anyone else believe that iTunes would be amuch better jukebox if it had a “Now Playlist List” feature with drag & drop capabilities?
avinash says
What do you mean?
Fred says
I mean like a sidebar, which displays the tracks which have been queued for playback. And you’re able to drag tracks from the library, then drop them in the sidebar to play them next. A similar feature is available in Win Media Player and Real Player, and I find it really handy! What do you think?
avinash says
Yes. That would be handy. But I think that the iTunes designers have ruled out having songs in the left pane. Songs only appear in the central pane. So you are out of luck.
What do you think of Coverflow? Do you use it a lot?
Shane says
Fred, just create a new playlist and drag songs in there. Start playing a song from that playlist and any new songs you drag in there will be played in the same order you drag them in.
Fred says
Ehmm thanks for the tip Shane!
I have never really used iTunes in the past. But I find Coverflow really appealing indeed, and this may have me use the jukebox more now. I’m still experimenting though, I have a lot of compilations too; and I usually sort my songs by artist.
I use MediaMonkey for my mp3 collection on Windows and Amarok, of course, on Linux.
Daniel says
What about for PC users. I have the same problem with the secondary sort which to me is very annoying. Since we don’t have applescript is there a way to do this on the PC version of iTunes? Thanks!
avinash says
Hi Daniel,
I suppose you could do the same (i.e. make the Grouping tag become year + space + album) using a Windows MP3 tag editor which has some automation features. Try Google…
David says
Off topic – Useful Widget:
Try Amazon Album Art Widget for automatically retrieving album artwork from Amazon and tagging your Music…
http://www.versiontracker.com/dyn/moreinfo/macosx/28644
David says
YAOTiR…Yet Another Off Topic iTunes Reply!!
Another cool widget: Try PearLyrics for automatically adding lyrics to your music…
http://www.macupdate.com/info.php/id/18354
Too bad, further development is now compromised due to copyright issues…the music labels have scared the author of this great little app…Hope he decides to update it!
avinash says
Thanks a lot for those apps David. I’ll definitely check them :-)