[Icecast] Best method of grabbing Now Playing metadata with PHP?

Richard Elen relen at brideswell.com
Fri Sep 13 15:04:18 UTC 2019

Hi, Fred...

Many thanks for the suggestion!

If we simply want to output metadata as you describe, how much,if any, 
of the prerequisites described in
can we dispense with? We are dealing with a shared hosting system for 
the host so installing the bare minimum would be a good idea (especially 
as we may have to ask the provider to do it! The streaming server is a 
dedicated machine, but the logging system we need to run this on is 
shared hosting).


--Richard E

On 12-Sep-19 23:49, Fred Gleason wrote:
> You may want to take a look at GlassPlayer:
> 	https://github.com/RadioFreeAsia/GlassPlayer
> While (as the name implies) it is primarily an audio stream player,
> when invoked with the '--metadata-out --json' options, GlassPlayer will
> emit a JSON-formatted update each time stream metadata changes. It
> derives these updates from the audio bitstream itself --i.e. no polling
> of or interaction with the IceCast administrative interface whatever is
> required.

More information about the Icecast mailing list