• So, it looks like it’s been a couple of years since anyone posted a question, but I’m trying mightily to get an Icecast “Now Playing” feature to work on the revised website I’m trying to cobble together.

    No matter what, I always get:
    Error reading Icecast data from xx.xx.154.211:8080

    I’m sure there must be an easy fix, but I’m way too much of a WordPress noob to know what to do.

    http://wordpress.org/plugins/icecast-now-playing/

Viewing 1 replies (of 1 total)
  • Plugin Author wgalway

    (@wgalway)

    Hello,

    The plugin uses PHP fopen to open the url to your icecast server admin stats page then parses the xml for the stats.

    // Open Icecast stats url
    $fp = fopen(“http://$username:$password@$server/admin/stats”,”r”);
    if (!$fp) {
    echo “Error reading Icecast data from $server\n”;
    }

    Confirm you can open the stats page using your web browser with the credentials you provided to the plugin.

    When you define the server you must include the port as well for example
    127.0.0.1:8080 if wordpress and icecast is hosted on the same computer.

Viewing 1 replies (of 1 total)
  • The topic ‘Error reading Icecast data from server:port’ is closed to new replies.