Re: need API doc to develop a radio client
Petr Pisar <[email protected]>
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <20120827191919.GB2894@album> |
On Mon, Aug 27, 2012 at 11:46:28AM -0700, Ralph Giles wrote: > On 12-08-27 6:18 AM, [email protected] wrote: > > > 2) How to get the station list from the server > > By default the icecast server returns an html version of the station > list. You can try interpreting that, for example looking for stream or > playlist urls. > > An xml version is available from e.g. admin/stats or admin/listmounts, > but this requires basic auth with the administrator username and > password as set in the config file. > > Why xml variants aren't available on the public page, I don't know. > Well, you can add any XSLT template in non-authenticated directory and fetch the data from there. E.g. I have a template which exports all mount points as one M3U playlist. If you are interrested, I can post it. -- Petr _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev
signature.asc
(application/pgp-signature, 230 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlA7yDcACgkQEsnFx2fG+qLZzwD7BDrGpBK/CY1OA3vA3zfMwHIE X8RUZakk0oqfAx9O5HAA/jYqmRX1ZI8KjMAnIMttKpHInignrgVhswJb/Hh/Zn/d =CQyf -----END PGP SIGNATURE-----