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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20220516/634c7383/attachment.htm>
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
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) > <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___ 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: This is a digitally signed message part URL: <http://lists.xiph.org/pipermail/icecast/attachments/20220518/415a6a40/attachment.sig>