CGI Interface to Winamp
can be used as a WWW interface to a WinAmp-powered
"jukebox". At my research lab, I hooked up a
computer to the local network and filled its hard drive with MP3s.
I then hooked it up to some big speakers so that it could function
as our research group's "jukebox". Only one problem
remained: in order to control the jukebox, we had to leave our
computers. Solution? A web page through which we could
control WinAmp on the jukebox computer. The WebAmp interface
is essentially an image map which sends messages to a CGI script on
the jukebox computer. These messages are processed by the
script and an appropriate message is posted to WinAmp's window
procedure. You can download the WebAmp CGI script and HTML
sample files here.
Are you working
in an environment where multiple people share a communal MP3
"jukebox"? Perhaps you have difficulty agreeing on
which songs to play. WebAmp is a good solution -- it lets
everyone enqueue their requests to the jukebox playlist.
To set up WebAmp,
you'll need to set up the jukebox computer (a Windows PC) as a web
server. Download the WebAmp files, and copy the HTML files to
the root web directory and the netamp.exe file to the cgi-bin/
directory. Start up WinAmp and you everything should be ready.
You may want to set access permissions on the web server so that
people from outside your office can't modify your playlist.
WebAmp control console (not active).