Simple WordPress plugin to display onair song fetched from IceCast server (v2).
You just need to setup icecast server address and publish point name (via admin panel). Data are fetched using CRON.
Insert using shortcode to any post or directly to template using do_shortcode();
Usage example
[icecast live=0]
Parameters
live:
0 - simple text
1 - live update via JavaScript
NOTE
You need to update your IceCast web folder with "xml.xsl" file (included with plugin). See Installation for more information...
- Upload
plugin-name.php
to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Go to plugin settings and set server address and publishpoint name
Icecast server configuration:
You need to update your IceCast configuration with one file "xml.xsl" (embeded with this plugin).
Just upload this file to "/web" folder of your IceCast installation dir. This will open XML stats to everyone... XML will output public data as the default IceCast page do.
This will allow this plugin to read publish point info without IceCast admin password. This is mainly for security of your IceCast instalation.