python - Title of icecast stream (without status.xsl) -
python - Title of icecast stream (without status.xsl) -
i seek have title (artist - song) icecast streams. there lot of give-and-take here , of them check status.xsl (like icecast playing php script does). : - lot of stream not allow script read file (for example http://95.81.147.3/status.xsl?mount=/fip/all/fiphautdebit.mp3
) - epirat says lot, not safe parse html this. proposes solution when have access server.
from read : there metadata in icecast stream itself solution give works shoutcast. for link. closest thing found this code review although title says icecast see shoutcast code icy-metadata check.
this very finish link can useful (the out-of-band standards section) explained not work still.
the question : in order artist - song information, how read metadata of icecast stream, when : - i'm not admin of server - don't want / can't parse status.xsl ?
thanks help
since icecast 2.4 preferred way machine readable meta-data streams running through server status-json.xsl. json api default enabled on installations.
if status-json.xsl returns 404, server administrator has consciously chosen disable access. in such case , in case of old icecast installations (2.3.x) won't retrofitted json api (it plenty administrator re-create status-json.xsl , xml2json.xslt web directory) approach of trying parse stream metadata ugly possible one. 1 has wonder though if administrator has chosen disallow metadata access, if ok in general utilize of stream beyond simple listening.
python django stream radio icecast
Comments
Post a Comment