With the eyeD3 command you can easily set the compilation tag for compatibility of your MP3 files with Apple gear. Just change to the directory containing the files making up the compilation (or soundtrack) and execute the following command:
user@debian:/path/to/your/compilation/$ find ./ -name "*.mp3" -exec eyeD3 --set-text-frame=TCMP:1 '{}' ';' &
Hope this snippet proves useful.
github.com