2017 © Pedro PelĂĄez
 

library icecast

Getting info from IceCast server

image

mahlstrom/icecast

Getting info from IceCast server

  • Wednesday, February 8, 2017
  • by mahlstrom
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

IceCast

A simple class that parses status.xsl and returns the stream-data as objects., (*1)

Installation:, (*2)

composer require mahlstrom/icecast

Example:, (*3)

<?php
require_once 'vendor/autoload.php';

$streams=new \mahlstrom\IceCast\IceCastStatus('127.0.0.1:8000');
print_r($streams);

Output:, (*4)

mahlstrom\IceCast\IceCastStatus Object
(
    [streams] => Array
        (
            [0] => mahlstrom\IceCast\IceCastStream Object
                (
                    [name] => pop_radio_aacp
                    [streamTitle] => pop_radio
                    [contentType] => audio/aacp
                    [mountStart] => 31/Jan/2017:01:29:38 +0100
                    [bitrate] => 64
                    [currentListeners] => 0
                    [peakListeners] => 0
                    [streamGenre] => -
                    [currentSong] => RIHANNA - RUSSIAN ROULETTE
                )
        )

)

The Versions

08/02 2017

dev-master

9999999-dev

Getting info from IceCast server

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.0.0

 

by Magnus Ahlström

icecast

08/02 2017

v1.0.0

1.0.0.0

Getting info from IceCast server

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.0.0

 

by Magnus Ahlström

icecast