Re: song title and artist
Chris Clement <[email protected]>
| Newsgroups | gmane.comp.audio.icecast.general |
|---|---|
| Message-ID | <CAKhFkSG5DFDH=vQWyZJFUfYtNyzFrg=5pS8vnqb1UC_kwS4a0A@mail.gmail.com> |
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. On Mon, May 16, 2022 at 7:59 PM Weddle, Ben (Library) < [email protected]> wrote: > 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 <[email protected]> on behalf of Chris Clement < > [email protected]> > Sent: Monday, May 16, 2022 6:36 PM > 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. > > 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 <[email protected]> > 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) < > [email protected]> 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 <[email protected]> on behalf of Chris Clement < > [email protected]> > Sent: Monday, May 16, 2022 5:11 PM > 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. > > 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) < > [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 <[email protected]> On Behalf Of Chris Clement > Sent: Monday, May 16, 2022 1:54 PM > To: [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 > [email protected] > http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ > Icecast mailing list > [email protected] > http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ > Icecast mailing list > [email protected] > http://lists.xiph.org/mailman/listinfo/icecast > _______________________________________________ Icecast mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast