[Icecast] song title and artist

Weddle, Ben (Library) Ben.Weddle at nashville.gov
Mon May 16 23:59:07 UTC 2022


Chris,

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: https://icecast.org/docs/icecast-latest/server-stats.html

Ben Weddle
| Nashville Talking Library

-----

From: Icecast <icecast-bounces at xiph.org> on behalf of Chris Clement <chrisclement6162 at gmail.com>
Sent: Monday, May 16, 2022 6:36 PM
To: Icecast streaming server user discussions <icecast at xiph.org>
Subject: Re: [Icecast] song title and artist 
 
Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources.

using this but not getting

    fetch('http://icecast.uhururadio.com:8010/status.xsl') //http is much faster than https
    .then(response => response.text())


On Mon, May 16, 2022 at 7:32 PM Chris Clement <chrisclement6162 at gmail.com> wrote:
Wow that is a big step forward. So basically screen-scrape the desired info? Are there any scrapers already made?

Thx so much.

On Mon, May 16, 2022 at 7:06 PM Weddle, Ben (Library) <Ben.Weddle at nashville.gov> wrote:
Hi Chris,

Try using this URL: http://icecast.uhururadio.com:8010/status.xsl

If you're trying to pull from the 2nd mount, you'll need to change the index position in the JS. Try 42.

I cannot test for you due to: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin

Ben Weddle
| Nashville Talking Library |

-----

From: Icecast <icecast-bounces at xiph.org> on behalf of Chris Clement <chrisclement6162 at gmail.com>
Sent: Monday, May 16, 2022 5:11 PM
To: Icecast streaming server user discussions <icecast at xiph.org>
Subject: Re: [Icecast] song title and artist 
 
Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources.

Hi Ben - Thx for reply. I am trying to extract from this link: 

http://icecast.uhururadio.com:8010/uhururadio.mp3.m3u

I put it in the code you sent but got no title, etc.

Any thoughts?

On Mon, May 16, 2022 at 4:46 PM Weddle, Ben (Library) <Ben.Weddle at nashville.gov> wrote:
Hi,

I believe this sort of task is often accomplished with JavaScript. See this link for an example: https://github.com/talkinglibrary/now_playing/blob/main/TLNowPlaying.html

Please note the Icecast folks discourage fetching things from the status page. See: https://icecast.org/docs/icecast-latest/server-stats.html

Please don't mistake me for an expert.

Ben Weddle | Nashville Talking Library

-----

From: Icecast <icecast-bounces at xiph.org> On Behalf Of Chris Clement
Sent: Monday, May 16, 2022 1:54 PM
To: Icecast at xiph.org
Subject: [Icecast] song title and artist

Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources.
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.

TIA
_______________________________________________
Icecast mailing list
Icecast at xiph.org
http://lists.xiph.org/mailman/listinfo/icecast
_______________________________________________
Icecast mailing list
Icecast at xiph.org
http://lists.xiph.org/mailman/listinfo/icecast


More information about the Icecast mailing list