iTunes – Setting the Compilation Flag on MP3’s using Perl

Written by max on 2009-05-02


I’ve consolidated this script into a new one. GO HERE :


If you have an album that’s a compilation or DJ mix, then Cover Flow gets confused and does not group all the tracks together into an album because there is a different “Artist” for each track.

iTunes gets around this by setting it’s own custom flag in the ID3 tag : the TCMP frame in ID3v2 to be specific.

The Script

The following script uses MP3::Tag to set the TCMP flag on

Continue Reading