wgalway
Forum Replies Created
-
Forum: Plugins
In reply to: [Icecast Now Playing] “Plugin does not have valid header”?I confirmed the issue and updated the plugin for php 7 and wordpress 5.1.
Forum: Plugins
In reply to: [Icecast Now Playing] Does not refresh?Yes the widget does not auto reload. I apologize for not meeting your expectations. I am not familiar with this “other plugin” however congratulations on finding a plugin which meets your needs.
Thank you for your feedback.
Forum: Plugins
In reply to: [Icecast Now Playing] 2017 tryHello,
You probably have the default hostname of localhost in your icecast.xml.
Please see my configuration below.<!– This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. –>
<hostname>myers.galwayland.com</hostname>
<location>U.S.A</location>
<!– You may have multiple <listener> elements –>
<listen-socket>
<port>8000</port>
<!– <bind-address>127.0.0.1</bind-address> –>
<!– <shoutcast-mount>/stream</shoutcast-mount> –>
</listen-socket>The link you click is created by reading the following element in your stats page “https://yourhostnamehere:8000/admin/stats” from your server.
<listenurl>https://myers.galwayland.com:8000/ices</listenurl>Forum: Plugins
In reply to: [Icecast Now Playing] Only song title displayedhttps://icecast.imux.net/viewtopic.php?t=7961&highlight=artist+metadata
PostPosted: Mon Dec 10, 2012 10:03 am Post subject: Reply with quote
The icy metadata is not that well defined, StreamTitle is the only one used, StreamUrl is another possibility but in theory other information could be added but things like album art is not defined.karl.
What this means is the Artist information is provided by the source client. Some source clients will not provide the Artist meta data from the tags of the music. For example the message above from karl confirms icy will only provide the StreamTitle. I will work on updating the plugin as soon as I can find a source client and content combination to provide the Artist metadata. This way if you are lucky enough to have separate artist and title metadata the plugin will display it.
Forum: Plugins
In reply to: [Icecast Now Playing] Only song title displayedHere is the scoop. I can modify the plugin to read the artist information from child attributes of the source mount element if it exists in your stats page which should be located here https://server:port/admin/stats. However if the element is missing from the stats page it will make no difference in the plugin. My test rig fails to contain the artist child element so I cannot test it. I ran a test ogg file though ices and the stats page failed to produce the element. Here is an example of the things I can pull from the stats page. These stats are from my icecast server with ices. You will notice <artist> </artist> is missing. My files are tagged properly too. I need the artist to pull from to correct the issue. You should see something similar on your stats page.
<source mount=”/ices”>
<audio_info>bitrate=64</audio_info>
<genre>Rock</genre>
<listener_peak>86</listener_peak>
<listeners>4</listeners>
<public>1</public>
<server_description>Get the Led Out!! Best of Led Zeppelin U.S.A.</server_description>
<server_type>audio/mpeg</server_type>
<server_url>https://galwayland.com:8080</server_url>
<slow_listeners>8735</slow_listeners>
<source_ip>127.0.0.1</source_ip>
<stream_start>Thu, 07 May 2015 11:41:36 -0400</stream_start>
<stream_start_iso8601>2015-05-07T11:41:36-0400</stream_start_iso8601>
<title>Led Zeppelin – In The Evening</title>
<total_bytes_read>4765201000</total_bytes_read>
<total_bytes_sent>17355052882</total_bytes_sent>
<user_agent>ices/0.4 libshout/2.2.2</user_agent>
<yp_currently_playing>Led Zeppelin – In The Evening</yp_currently_playing>
</source>Forum: Plugins
In reply to: [Icecast Now Playing] Only song title displayedAre you broadcasting a live stream, MP3 or OGG? I do not have any artist meta data on my stastics page using ices and mp3s. It seems the artist and title are combined on mine.
Forum: Plugins
In reply to: [Icecast Now Playing] Only song title displayedI will work on it today. At the moment only the title is displayed. However on my station the Artist is part of the title. I cannot remember if I had to change something for the artist to be part of the title. Using MPD at the moment as my Icecast DJ.
Forum: Plugins
In reply to: [Icecast Now Playing] Error reading Icecast data from server:portHello,
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(“https://$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.Forum: Plugins
In reply to: [Icecast Now Playing] [Plugin: Icecast Now Playing] patch for ajax callThanks!! I will check it out.
Forum: Plugins
In reply to: [Icecast Now Playing] No actionSupprised the widget failed to prouce an “Error reading Icecast data from $server” message in the plugin frame. I suggest trying a different theme to see if that resolves the issue.