Turntable.FM-MP3Copy is a project mainly written in PHP, it's free.
Copies and renames all of the songs played through turntable.fm