My earlier blog Stream Music over WiFi from your Home Server to your Sony PSP generated a number of requests for the source code. I finally got around to cleaning up the code to make it a bit more readable and move the configuration settings to a separate file.
You can find the gzip-ed tarball linked at:
I wrote it for my home server running CentOS 4.3 Linux, Apache 2.x, and PHP 5.0.
But, it should run fine on Mac OS X and, possibly, Windows XP.
Read the README and INSTALL files in the tarball for more details.
And, oh yes, I LGPLed the code. So, have fun. And, remember this is unsupported (and, yeah, ugly) code :-)