I thought it might be fun to develop a php application running under lighttpd for iPhone/iTouch that would display information on the currently playing song.

I know that under OS X, you can use osascript to get this info from iTunes, but I can't see a way to get this info from MobileMusicPlayer. It doesn't appear that php's process control functions are revealing much and as I'm not very saavy with BSD subsystems in general I feel like I've hit a wall.

Any suggestions?