Winamp Shell ProXy: Control server side WinampPlayer via shell

Recommend this page to a friend!
  Info   View files (14)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,419 All time: 2,724 This week: 304
Version License Categories
w2sp 1.0FreewareNetworking, Audio
Description Author

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))
{
$W2SP->ValidateRequest($_GET);
}
else
{
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:

echo $W2SP->MetaRefresh();
echo $W2SP->DisplayPanel();
echo $W2SP->DisplayWinampInfo();

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.

Picture of Horst Nogajski
Name: Horst Nogajski <contact>
Classes: 7 packages by
Country: Germany Germany
Age: 50
All time rank: 505 in Germany Germany
Week rank: 261 11 in Germany Germany
Innovation award
Innovation award
Nominee: 1x

  Files  
File Role Description
w2sp (10 files, 1 directory)
wsp.class.php Class New classfile, (Version 1.1)

  Files  /  w2sp  
File Role Description
hidden (3 files)
   documentation.html Doc. documentation
   index.html Doc. startframe for docu and examples
   menu.html Doc. menu for docu and examples
   w2sp.example.iframe.php Example example: w2sp-script embedded via iframe, in this way the meta-refresh don't bother using the rest of the page
   w2sp.example1.php Example example: only info output
   w2sp.example2.php Example example: playerpanel and info output
   w2sp.example3.php Example example: playerpanel, tracklist select and info output
   w2sp.example4.php Example example: mini playerpanel and songinfo
   w2sp.example5.php Example example: mini playerpanel and tracklist select
   w2sp.test.explanation.php Example checks configuration and explains all functions

  Files  /  w2sp  /  hidden  
File Role Description
   htaccess.txt Data for security
   w2sp.class.php Class class file
   w2sp.config.php Conf. configuration file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,419
This week:0
All time:2,724
This week:304

For more information send a message to info at phpclasses dot org.