[Icecast] icecast 2.4 check if source exists?
un at dom.de
Sat Jun 7 02:35:29 PDT 2014
"Thomas B. Rücker":
> > for example, within a script (php / curl), i use
> > http://127.0.0.1:8000/admin/listclients?mount=/mymount
> > for getting info on listeners
> - 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.
raw XML is fine, easy to parse with PHP's SimpleXML extension.
the tip about the mount specific credentials is helpful, thanks.
so i don't need to expose admin data in my scripts.
00ps: i've just crashed icecast with the above call, specifying a nonexistant
mount, i.e. http://127.0.0.1:8000/admin/listclients?mount=/not_on_air
icecast2: segfault at 0 ip 00007f4f6c56af32 sp 00007f4f6dc68d08 error 4 in libc-2.11.3.so[7f4f6c4ef000+159000]
(linux debian6, icecast 2.4)
is that a known bug or specific to my setup?
More information about the Icecast