Login   Register  
PHP Classes
elePHPant
Icontem

Class: Winamp Shell ProXy

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Horst Nogajski  >  Winamp Shell ProXy  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Winamp Shell ProXy
Base name: w2sp
Description: Control server side WinampPlayer via shell
Related classes: , , , , , , ,
Version: -
PHP version: -
License: Freeware
All time users: 1376 users
All time rank: 2347
Week users: 1 user
Week rank: 2467
Picture of Horst Nogajski
Author: Horst Nogajski <e-mail contact>
Packages: 7 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 42
All time rank: 404 in Germany Germany
Week rank: 211 Down7 in Germany Germany Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image Audio Voice and music data generation and manipulation View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
w5sp_exe_1.0.zip ! Required, the shell proxy file (also included: a batchfile and commandlist for using w5sp.exe from a console window)
w5sp at winamp.com component page at winamp.com, where you also can download the binary!
www.nogajski.de/w2sp/ OnlineDocu and related infos (Netjuke)
w2sp.additionals.zip 2 sets of button images for the panel

  Files folder image Files  
File Role Description
Files folder imagew2sp (10 files, 1 directory)
Plain text file wsp.class.php Class New classfile, (Version 1.1)

  Files  /  Files folder image w2sp  
File Role Description
Files folder imagehidden (3 files)
  HTML file documentation.html Doc. documentation
  HTML file index.html Doc. startframe for docu and examples
  HTML file menu.html Doc. menu for docu and examples
  Plain text file 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
  Plain text file w2sp.example1.php Example example: only info output
  Plain text file w2sp.example2.php Example example: playerpanel and info output
  Plain text file w2sp.example3.php Example example: playerpanel, tracklist select and info output
  Plain text file w2sp.example4.php Example example: mini playerpanel and songinfo
  Plain text file w2sp.example5.php Example example: mini playerpanel and tracklist select
  Plain text file w2sp.test.explanation.php Example checks configuration and explains all functions

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

Download all files: w2sp.tar.gz w2sp.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.