PHP Classes
elePHPant
Icontem

What's Playing: Shows in your webpage the song you are listening.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-12-13 (12 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,103 All time: 3,207 This week: 1,317Up
Version License Categories  
whatsplaying 1.0GNU General Publi...Audio
Description Author  

Shows in your web page the song that you are currently listening in Winamp, and a list of the latest songs heard.

Using the "What's Playing" plug-in for Winamp 3 (available at http://www.srijith.net/codes/whatsplaying/), this script retrieves information about the current song you are hearing in your Winamp, along with a list of the latest songs you've heard.

Come to http://phpspain.hexoplastia.com/projects/whatsplaying for more information and a live demo!

Picture of LlorenÁ Herrera
Name: LlorenÁ Herrera <contact>
Classes: 11 packages by
Country: Spain Spain
Age: 37
All time rank: 952 in Spain Spain
Week rank: 870 Down24 in Spain Spain Down

Details provided by the author  
PHP Script for "What's playing" Winamp 3 plugin
	
Using the "What's Playing" plugin for Winamp 3 (available at http://www.srijith.net/codes/whatsplaying/),
this script retrieves information about the current song you are hearing in your Winamp, along with a list of the latest songs you've heared.

Visit http://phpspain.hexoplastia.com/projects/whatsplaying for more information on this script (and much interesting others)

FILES IN THE PACKAGE:

whatsplaying_push.php                 - The script wich handles the plugin's requests
whatsplaying.conf.php                 - Configuration here
whatsplaying.class.php                - A php class for getting the song's information (needed only if you want to access the song's information using PHP)
example.php                           - An example on how to show the songs in your site
README                                - This file ...

INSTALLATION:
Put all those files somewhere in your webserver.
In fact, you only need to put the files whatsplaying.conf.php and whatsplaying_push.php so they are accessible from the Internet, using an URL like:

http://www.yourserver.com/whatsplaying/whatsplaying_push.php

Be sure that the script whatsplaying_push.php has the correct filesystem rights to write files in the directory that it's placed.

You can change some configuration parameters, editing the file whatsplaying.conf.php, but it will work fine with the default values.

Download and install the plugin "What's Playing" for Winamp3, available from http://www.srijith.net/codes/whatsplaying/

Once installed, to access the configuration screen for the plugin, start your Winamp3 and go into "Options" -> "Preferences", and scroll down to the option "Whats playing".
And here, do the following:

. Check "Enable What's Playing"
. Insert in the "URL" field the exact internet URL on wich the script whatsplaying_push.php is located (like http://www.yourserver.com/whatsplaying/whatsplaying_push.php?)
  Be sure to put "http://" at the start of the URL, and to put "?" at the end. (This is very important!)
  Hit return when inside the "URL" field to save the changes.

Start playing something on your Winamp!

Now, open a browser and point to the script example.php

The file example.php is well documented about how to show the songs list wherever you want, so read it!

Please, note that this script is based on the software "What's Playing" for Winamp3, wich is available at the previously mentioned URL.
What's Playing will not work with Winamp versions under 3.

Please, give me feedback of this at lha@hexoplastia.com.
This software is licensed under GNU-GPL license, and you can modify it as you want. If you do so, let me know!
Visit http://phpspain.hexoplastia.com/projects/whatsplaying for more information on this script (and much interesting others)
  Files folder image Files  
File Role Description
Accessible without login Plain text file README Doc. Look at this for info on how to install
Plain text file whatsplaying.class.php Class The class for retrieving the songs trough PHP
Accessible without login Plain text file whatsplaying.conf.php Conf. Configuration file
Accessible without login Plain text file whatsplaying_push.php Appl. The class wich retrieves information from the Winamp3 plugin

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,103All time:3,207
 This week:0This week:1,317Up