A JSON status page for Icecast2
You only have to add IcecastJSONStatus.xsl to Icecast2's web folder. If you are using Ubuntu:
- Clone repository
git clone https://github.com/jimakker/IcecastJSONStatus.git
- There are two server variables at the top of the IcecastJSONStatus.xsl file you must declare: host and port.
nano IcecastJSONStatus/IcecastJSONStatus.xsl
. Change the values,Ctrl+o
(save) andCtrl+x
(close). - Copy
IcecastJSONStatus.xsl
to Icecast2's web folder and change name tojson.xsl
cp IcecastJSONStatus/IcecastJSONStatus.xsl /usr/share/icecast2/web/json.xsl
- Visit your new JSON status page: http://YOURSERVER:8000/json.xsl
- ...
- Profit!