Haha. Quite the discussion over whether or not it's worth the time. I've actually asked myself the same thing... and obviously decided it was. I have seen various other programs that allow you to control winamp from a browser, but none of them really worked the way I wanted. Plus, I want to have total power/flexibility over it. In the future it could hook up with a mysql db with songs/playlists/song history/whatever... and maybe even write some code that analyzes the data to figure out what songs you like the most, what songs you typically listen to during different parts of the day, what songs you listen to when you're in different moods, or whatever... based on the track history, then play the songs when it thinks you want to hear them. Sort of a web application that tries to guess what you want to listen to. Haha. What I've coded so far is just the framework I guess you could say. I could go on and on about the possibilities, but I don't feel like typing that much. 😃
The program that Pearl0511 mentioned seems to be very similar to the webserver plugin my script requires. In fact, I might try it out and switch everything over to using it if it performs better. Thing is though, that's just the engine in winamp... or the API if you will. In the grand scheme of things I want to do much more than what these winamp plugins provide... or could ever provide (at least in winamp2/3/5... some future media player might do everything I'm trying to do).
Anyway, I zipped up the files so you can test it yourselves: http://gagon.net/phpamp/zipped/phpamp.zip
The only config that needs to be done is the url. The two xsl files that are included just need to go in the \path\to\winamp\plugins\html dir. The code is kind of sloppy right now, and comments are pretty scarce (plan on cleaning up the code and commenting it next, before adding anything new). Let me know if you have any questions, or even better, suggestions.