PHP Classes
elePHPant
Icontem

PHP Icecast Stats: Retrieve and parse the status of a Icecast server

Recommend this page to a friend!
  Info   View files Documentation   Demos   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-01-15 (16 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: 136 This week: 2All time: 8,339 This week: 497Up
Version License PHP version Categories
icecast-status 1.1GNU General Publi...5.0PHP 5, Web services, Audio
Description Author

This class can Retrieve and parse the status of a Icecast server.

It can send a HTTP request to a given Icecast server to retrieve its status page.

The class can parse the status page and extract details like the stream Title, stream description, stream content type, mount start, bitrate, current listeners, peak listeners, sream genre, stream URL, current song, etc..

  Performance   Level  
Name: Axel Hahn <contact>
Classes: 5 packages by
Country: Switzerland Switzerland
Innovation award
Innovation award
Nominee: 2x

Details
###############################################################################

icecaststatus.class.php

###############################################################################

AXELS ICECAST STATUS PARSER
V1.0

http://www.axel-hahn.de/php_icecaststatus
License: GNU/GPL v3

2013-11-14  1.0  first time in the wild.
--------------------------------------------------------------------------------


###############################################################################

--- typical usage:

    $o = new IcecastStatus("http://[your-icecast-server]/status.xsl");  
      
    var_dump($o->getMounts());  // lists all mountpoints
      
    $a = $o->getData();         // show all details of all mountpoints
    $a = $o->getData("[Name]"); // show all details of a given mountpoint
	

see interactive demo:
http://www.axel-hahn.de/srfradio/

###############################################################################
  demo with srf radioExternal page  

Open in a separate window

  Files folder image Files  
File Role Description
Plain text file icecaststatus.class.php Class icecast status parser class
Accessible without login Plain text file readme.txt Doc. readme txt
Accessible without login HTML file simpledoc.html Doc. Class documentation

 Version Control Unique User Downloads Download Rankings  
 66%
Total:136
This week:2
All time:8,339
This week:497Up