Displaying 6 results from an estimated 6 matches for "server_stat".
Did you mean:
server_start
2023 Nov 22
1
mediaplayer for icecast streams?
Icecast provides an endpoint (/status-json.xsl) which returns JSON with various data, including "Now Playing". Here is a link to the documentation: https://www.icecast.org/docs/icecast-trunk/server_stats/
In your case it looks like it would be http://radio.protestbandet.dk:8000/status-json.xsl
Ben Weddle
-----Original Message-----
From: Icecast <icecast-bounces at xiph.org> On Behalf Of Thomas Jensen
Sent: Wednesday, November 22, 2023 5:48 AM
To: icecast at xiph.org
Subject: [Icecast] med...
2023 Nov 22
1
mediaplayer for icecast streams?
Hi
Hope this is not too off-topic here.
I want to implement a simple mediaplayer on my website where people can
listen to my radio stream.
I like simple, and the HTML <audio>-tag seems to work fine, so this is
perfect for me.?
But I would like to show the title of the current song playing. Is
there some simple javascript or php I can use, to get this information?
Or maybe a simple
2017 Mar 03
3
Icecast status-json.xsl improvements
...mount=/live
>
>> [example]...
>
> More suitable would it be, to use the STATS streaming API that Icecast
> offers, server side, and then use a websocket connection to update the
> players.
Um. Where is this documented? I took a look at
http://icecast.org/docs/icecast-trunk/server_stats/ but can't find it
(I'm probably looking in the wrong place, and if this is supported in
Icecast 2.4 then shame on me for not knowing).
And does that require authentication? Since (in my case) the caching of
the info for the webplayer(s) is done using a plain PHP script I'd rater
n...
2023 Nov 22
1
mediaplayer for icecast streams?
...ensen, Denmark
ons, 22 11 2023 kl. 15:23 +0000, skrev Weddle, Ben (Library):
> Icecast provides an endpoint (/status-json.xsl) which returns JSON
> with various data, including "Now Playing". Here is a link to the
> documentation:
> https://www.icecast.org/docs/icecast-trunk/server_stats/
>
> In your case it looks like it would be
> http://radio.protestbandet.dk:8000/status-json.xsl
>
> Ben Weddle
>
> -----Original Message-----
> From: Icecast <icecast-bounces at xiph.org> On Behalf Of Thomas Jensen
> Sent: Wednesday, November 22, 2023 5:48 AM
&...
2017 Mar 03
0
Icecast status-json.xsl improvements
...ample]...
>>
>> More suitable would it be, to use the STATS streaming API that
>> Icecast offers, server side, and then use a websocket connection to
>> update the players.
>
> Um. Where is this documented? I took a look at
> http://icecast.org/docs/icecast-trunk/server_stats/ but can't find it
> (I'm probably looking in the wrong place, and if this is supported in
> Icecast 2.4 then shame on me for not knowing).
This is supported since a very long time, but not documented in a good
way anywhere, unfortunately. And the output format of STATS is a bit...
2017 Mar 03
2
Icecast status-json.xsl improvements
While http://127.0.0.1:8000/status-json.xsl?mount=/live
is fine for info on the server itself and the current track played it's
missing a played history.
I'd like to suggest adding history to status-json.xsl or to reduce the
size of the json to the bare minimum that a Web base mediaplayer might need
Add a new one at http://127.0.0.1:8000/playing-json.xsl?mount=/live
Which will only