<div dir="ltr"><div dir="ltr"><div class="gmail_default"><font color="#000000" face="verdana, sans-serif"><a href="http://icecast.org/docs.php">http://icecast.org/docs.php</a>    is 404. where can I learn about the suffixes, xslt, etc.?</font><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 16, 2022 at 8:12 PM Chris Clement <<a href="mailto:chrisclement6162@gmail.com">chrisclement6162@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">Not sure what to do about the index or what you mean. I won't put this in production. I am learning how all this works to help as a volunteer.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 16, 2022 at 7:59 PM Weddle, Ben (Library) <<a href="mailto:Ben.Weddle@nashville.gov" target="_blank">Ben.Weddle@nashville.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Chris,<br>
<br>
Did you change the index as well? We should probably take this off list, but not before I again mention Icecast recommends against doing what we are describing, for good reasons. Please see here: <a href="https://icecast.org/docs/icecast-latest/server-stats.html" rel="noreferrer" target="_blank">https://icecast.org/docs/icecast-latest/server-stats.html</a><br>
<br>
Ben Weddle<br>
| Nashville Talking Library<br>
<br>
-----<br>
<br>
From: Icecast <<a href="mailto:icecast-bounces@xiph.org" target="_blank">icecast-bounces@xiph.org</a>> on behalf of Chris Clement <<a href="mailto:chrisclement6162@gmail.com" target="_blank">chrisclement6162@gmail.com</a>><br>
Sent: Monday, May 16, 2022 6:36 PM<br>
To: Icecast streaming server user discussions <<a href="mailto:icecast@xiph.org" target="_blank">icecast@xiph.org</a>><br>
Subject: Re: [Icecast] song title and artist <br>
 <br>
Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources.<br>
<br>
using this but not getting<br>
<br>
    fetch('<a href="http://icecast.uhururadio.com:8010/status.xsl" rel="noreferrer" target="_blank">http://icecast.uhururadio.com:8010/status.xsl</a>') //http is much faster than https<br>
    .then(response => response.text())<br>
<br>
<br>
On Mon, May 16, 2022 at 7:32 PM Chris Clement <<a href="mailto:chrisclement6162@gmail.com" target="_blank">chrisclement6162@gmail.com</a>> wrote:<br>
Wow that is a big step forward. So basically screen-scrape the desired info? Are there any scrapers already made?<br>
<br>
Thx so much.<br>
<br>
On Mon, May 16, 2022 at 7:06 PM Weddle, Ben (Library) <<a href="mailto:Ben.Weddle@nashville.gov" target="_blank">Ben.Weddle@nashville.gov</a>> wrote:<br>
Hi Chris,<br>
<br>
Try using this URL: <a href="http://icecast.uhururadio.com:8010/status.xsl" rel="noreferrer" target="_blank">http://icecast.uhururadio.com:8010/status.xsl</a><br>
<br>
If you're trying to pull from the 2nd mount, you'll need to change the index position in the JS. Try 42.<br>
<br>
I cannot test for you due to: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin" rel="noreferrer" target="_blank">https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin</a><br>
<br>
Ben Weddle<br>
| Nashville Talking Library |<br>
<br>
-----<br>
<br>
From: Icecast <<a href="mailto:icecast-bounces@xiph.org" target="_blank">icecast-bounces@xiph.org</a>> on behalf of Chris Clement <<a href="mailto:chrisclement6162@gmail.com" target="_blank">chrisclement6162@gmail.com</a>><br>
Sent: Monday, May 16, 2022 5:11 PM<br>
To: Icecast streaming server user discussions <<a href="mailto:icecast@xiph.org" target="_blank">icecast@xiph.org</a>><br>
Subject: Re: [Icecast] song title and artist <br>
 <br>
Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources.<br>
<br>
Hi Ben - Thx for reply. I am trying to extract from this link: <br>
<br>
<a href="http://icecast.uhururadio.com:8010/uhururadio.mp3.m3u" rel="noreferrer" target="_blank">http://icecast.uhururadio.com:8010/uhururadio.mp3.m3u</a><br>
<br>
I put it in the code you sent but got no title, etc.<br>
<br>
Any thoughts?<br>
<br>
On Mon, May 16, 2022 at 4:46 PM Weddle, Ben (Library) <<a href="mailto:Ben.Weddle@nashville.gov" target="_blank">Ben.Weddle@nashville.gov</a>> wrote:<br>
Hi,<br>
<br>
I believe this sort of task is often accomplished with JavaScript. See this link for an example: <a href="https://github.com/talkinglibrary/now_playing/blob/main/TLNowPlaying.html" rel="noreferrer" target="_blank">https://github.com/talkinglibrary/now_playing/blob/main/TLNowPlaying.html</a><br>
<br>
Please note the Icecast folks discourage fetching things from the status page. See: <a href="https://icecast.org/docs/icecast-latest/server-stats.html" rel="noreferrer" target="_blank">https://icecast.org/docs/icecast-latest/server-stats.html</a><br>
<br>
Please don't mistake me for an expert.<br>
<br>
Ben Weddle | Nashville Talking Library<br>
<br>
-----<br>
<br>
From: Icecast <<a href="mailto:icecast-bounces@xiph.org" target="_blank">icecast-bounces@xiph.org</a>> On Behalf Of Chris Clement<br>
Sent: Monday, May 16, 2022 1:54 PM<br>
To: <a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
Subject: [Icecast] song title and artist<br>
<br>
Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources.<br>
How can we display these in a website link? We are uploading the metadata because Winamp (a windows desktop app) can display it. Embedding the url in html only gives us the audio, however.<br>
<br>
TIA<br>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
</blockquote></div>
</blockquote></div>