Re: song title and artist

"Weddle, Ben (Library)" <[email protected]>
Newsgroups gmane.comp.audio.icecast.general
Message-ID <SA0PR09MB604376C506F6B62119CEECB098D19@SA0PR09MB6043.namprd09.prod.outlook.com>
Chris,

To show this info on a web page you can write some JavaScript to parse your Icecast server - either the internal part or the public-facing part - and print to HTML.

Because you are using version 2.3.2, your unauthenticated options are more limited. The script I sent you should work fine with some minor modifications. I am not an expert in this(!!), but when I tried to run it, I was denied due to your server's CORS policy. Explain what you're trying to do to the person who maintains your web server.

Ben Weddle | Nashville Talking Library

-----

From: Icecast <[email protected]> On Behalf Of Chris Clement
Sent: Wednesday, May 18, 2022 6:54 AM
To: Icecast streaming server user discussions <[email protected]>
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.
Exactly. The only problem I am having is displaying the metadata while it plays in a web page. Clicking our .mp3 link plays the sound but doesn't show title, etc. This is one of our web sites. https://blackpower96.org/. It has http://icecast.uhururadio.com:8010/uhururadio.mp3 included for the sound stream.
I did not develop it but I am trying to help them display song titles, etc  when someone clicks "listen live".

TIA

On Wed, May 18, 2022 at 3:29 AM D.T. <mailto:[email protected]> wrote:
FWIW (I'm not sure what you're trying to achieve there), the stream is
sending metadata OK.
So you probably want to play it back with an application that knows how
to read it - like most media players.


On Mon, 2022-05-16 at 18:11 -0400, Chris Clement wrote:
> 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)
> <mailto:[email protected]> 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 <mailto:[email protected]> On Behalf Of Chris Clement
> > Sent: Monday, May 16, 2022 1:54 PM
> > To: mailto:[email protected]
> > 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
> > mailto:[email protected]
> > http://lists.xiph.org/mailman/listinfo/icecast
> _______________________________________________
> Icecast mailing list
> mailto:[email protected]
> http://lists.xiph.org/mailman/listinfo/icecast

___

Vaccines for everyone!
Donate to the COVAX alliance:
https://gogiveone.org/ (WHO)
https://www.gavi.org/donate (Gavi)

___

Vaccines for everyone!
Donate to the COVAX alliance:
https://gogiveone.org/ (WHO)
https://www.gavi.org/donate (Gavi)
_______________________________________________
Icecast mailing list
mailto:[email protected]
http://lists.xiph.org/mailman/listinfo/icecast
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.