<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">using this but not getting</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><div class="gmail_default">    fetch('<a href="http://icecast.uhururadio.com:8010/status.xsl">http://icecast.uhururadio.com:8010/status.xsl</a>') //http is much faster than https</div><div class="gmail_default">    .then(response => response.text())</div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 16, 2022 at 7:32 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)">Wow that is a big step forward. So basically screen-scrape the desired info? Are there any scrapers already made?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">Thx so much.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">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></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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>
</blockquote></div>
</blockquote></div>