[Icecast] icecast 2.4 check if source exists?
"Thomas B. Rücker"
thomas at ruecker.fi
Fri Jun 6 22:47:41 PDT 2014
On 06/06/2014 01:08 PM, uno wrote:
> ... to answer myself:
> i had a fallback-mount specified, after removing it
> things work as expected. sorry for the noise.
In case of fallbacks you have to check properly through querying a
custom XSL, JSON or the admin backend.
> btw: what's the prefered way to get server and/or listener info?
> for example, within a script (php / curl), i use
> for getting info on listeners
If you need IPs and UA strings then that's the only option. Plain
numbers you can get easier.
- as you noticed listclients instead of listclients.xsl gives you raw XML
- you can get mount specific information using the mount specific
credentials, you don't have to use admin credentials.
> is there a better way / api?
see docs link above.
More information about the Icecast