Has anyone figured out the logic in the way iTunes names the MP3s you sync to your iPhone? I've created an app which searches for a given artist/song and returns direct links to the MP3 files it finds. It'd be nice to be able to transfer any of those files to the Music library. Otherwise I'll just port this to Perl and stick it on my website.

Ideas?