[Icecast] mediaplayer for icecast streams?

Weddle, Ben (Library) Ben.Weddle at nashville.gov
Thu Nov 23 16:01:04 UTC 2023


You are welcome! Thank the Icecast devs who make it easy to use!

Ben Weddle
________________________________
From: Icecast <icecast-bounces at xiph.org> on behalf of Thomas Jensen <lianergoist at vongriffen.dk>
Sent: Thursday, November 23, 2023 1:26 AM
To: Icecast streaming server user discussions <icecast at xiph.org>
Subject: Re: [Icecast] mediaplayer for icecast streams?

Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources.


tor, 23 11 2023 kl. 00:14 +0000, skrev Weddle, Ben (Library):
> > Here's an example with vanilla JS (attached). I had a test file
> > lying
> > around and swapped your info in. You can change setInterval() to
> > fetch as often as you like (1000 = 1 second).

Thank you VERY much! It would have taken me days, if not weeks, to come
up with that solution. I haven't used javascript for 20 years or so...

For some odd reason it's not working when I put the script online.

This works fine:

file:///home/thomas/nowPlaying.html

but this return "Program Name Not Available":

https://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fhorsens%2dgarage.rocks%2fnowPlaying.html&umid=d8e2adad-b55d-4a0f-84e9-4dfca1f5a69b&auth=1a6d21fc0f08666d9d61586860ead8e0225a9cfa-13cf6936a5bed173d0ac53bc79b24732afbd9cf2


Strange!

Well, I am sure I'll find a solution.

Thanks again!


--
Thomas Jensen, Horsens



_______________________________________________
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/20231123/0e5e8191/attachment.htm>


More information about the Icecast mailing list