The Winamp Shell ProXy is a package of two components:
A) The w5sp.exe, a little commandline tool written in VB which acts as a proxy on the system shell
B) A php-class which serve a full featured winamp remote control to a webclient.
After defining some parameters in the configuration file (where to find the w5sp.exe, the winamp.exe, etc.) the class instance can build the request commands that will be validated and (if valid) executed, all in one step:
if ($W2SP =& new Winamp2ShellProXy($w2sp_settings))
die("Sorry, Winamp ShellProxy isn't set up in valid mode!");
After that, the class keeps all the information about the last operation, the winamp status and currently playing song in an array.
With only 3 more lines of code you can provide a player panel with all controls, all available information and a auto-refresh with META tag once when the current song has finished:
The class lets you build the output in a very flexible and comfortable way.
A documentation file with all explanations is included. A test file and examples are also included. Additionally, you should get the button images
from the site mentioned in the class page.
12-Jan-2004: Now also support for Winamp 5.x available with new binary w5sp.exe. See link above.