Automated ID3 tagging for iTunes on a Mac, based on AppleScript. Alter for your needs. Features intelligent genre tagging.