Displaying 20 results from an estimated 20000 matches similar to: "Standard method to read current listeners without user/password"
2011 May 13
1
Standard method to read current listeners without user/password
Hi all,
This is the output of status2.xsl:
MountPoint,Connections,Stream Name,Current
Listeners,Description,Currently Playing,Stream URL
Global,Client:60461 Source: ,,7,,
/foxcub,,,7,, - Brian Eno - Dune Prophecy theme,
It doesn't look like any csv output I've ever seen.
Some of the output seems to be string literal and some of it is the
actual server information, and at some parts
2004 Aug 06
3
general questions
Okay, just to satisfy my mind, can someone give me a rundown on what the
other things do (other than the streaming portion)
admin root
web root
by setting these I'm not sure what to put in there or how to access
them...
and how to use the xsl files? I still cannot find anything on it.
Sorry if it all sounds stupid, it's just been rather difficult to find
what I am looking for
Thanks,
2004 Aug 06
1
PHP + parsing # of listeners.
Hello all,
I have a quick question I believed was already touched on earlier, but I cannot
find the thread/information in the archives, so I am going to ask away and
ask for your patience. :)
So I have my wonderful little PHP script, and my .pls files, and the relaying
and everything else perfect for my icecast2 setup. But what I still need to
do is pull the # of listners for a mount point, and
2011 May 13
0
Standard method to read current listeners without user/password
Hi Ross,
Sorry if anyone else has already answered this.
Yes there is. Icecast can produce stats in any format desired using XSLT
templates. These take the built-in XML as input and can format the output
any way you like.
There are two XSLT templates included with Icecast2 by default, status.xsl
and status2.xsl. Status2.xsl would be easy to parse as it outputs in CSV
format. The format
2004 Aug 06
5
Status.xsl not displaying everything
Hi guys,
I've got the following set up:
- Linux SuSE 8.2
- Running: Icecast2
- Source Client: Ices0.3
- Stream Client: Winamp 5.0 in Windows XP
The following is happening:
- I've got Ices0.3 streaming MP3's with correct ID3-tags to the
Icecast-server
- Suppose the stream name is "Ovide's Radio"
- In the status.xsl page of Icecast2, I only see info about: mountpount,
2004 Aug 06
2
Status.xml
Hi,
I have an XSL file that just transfers the XML straight through, see
status-xml.xsl here:
http://www.ecs.soton.ac.uk/~njh/libshout-doc/
<p>I also have an improved version of status.xsl there.
<p><p>Cheers,
<p>nick.
<p><p>>Hi everybody,
>
>If I understand well, the purpose of XSL files is re-formatting XML files.
>When I checked the admin
2006 Jul 23
1
XML stats
Is it possible under an Apache WebServer to create a page containing
info about the audio stream currently going on icecast?
I'd like to display the current song and no of listeners for example. Is
it possible to include code in a html/php page.
Thanks,
Marco
2004 Aug 06
2
status2.xsl info...
Quick thought, if the fields are separated by "," & a title/artist/.. has
a comma in it then it causes a few problems with parsing.
Likewise if there are multiple streams it might be nice to have each stream in it's own line so it is easier to grab the info.
Also, status.xsl displays streams even after they have been stopped.
dmz
--- >8 ----
List archives:
2009 Nov 18
1
Move listeners problems
Thanks, Karl! I've checked the log files during a move command but I
couldn't find anything that looked related to the problems. I've
thought of upgrading to 2.3.2 but thought I should ask first if it was
something common - saw that someone mailed about the same problems a
couple of months ago, if I understood it correctly.
/Mathias
2009/11/18 Karl Heyes <karl at xiph.org>:
2004 Aug 06
2
commas are status2.xsl?
in the status2.xsl there seems to be some extra commas ...
--snippet of status2.xsl
Global,Client:<xsl:value-of select="connections" /> Source:
<xsl:value-of select="source_connections" />,,<xsl:value-of
select="listeners" />,,
<xsl:for-each select="source">
<xsl:value-of select="@mount" />,,<xsl:value-of
2020 Sep 22
2
Listener stats
Good afternoon,
On Tue, 2020-09-22 at 11:43 -0400, Reaz Baksh wrote:
> Too much work.
I would like to refer to Jordan Erickson's comment here.
> If I am able to see it on the web interface I should be able to get a Json or XML file with this in it.
Why not just use the API? Remove the ".xsl" from any URL in the admin
interface and get the raw XML. The rendered webinterface
2019 Dec 22
4
Kicking duplicate connections
Hello fellow mailing list readers,
My question relates to multiple / duplicate connections to the ice cast server from the same IP address.
I am well aware that this is an issue that lies with the music player (listener agent) used by the listener. When a listener connects to the stream, sometimes it appears as two connections to the stream from the same IP address. This may last only a few
2011 May 13
0
Standard method to read current listeners without user/password
There is a file /status.xsl that contains all the status information for
your server.
For example, mine: http://radio.foxcub.net:8000/status.xsl
You can either parse it with your favorite x?l parsing library or scrape
it for listener info.
You can see an example of this in action at my page:
http://radio.foxcub.net
It shows number of listeners and song playing.
Josh
On 05/12/2011 05:48
2004 Aug 06
1
Parsing problem
If you want a good way to test out your xsl files, the following will help
quite a bit :
1. get a copy of the stats tree in a file somewhere : wget
http://admin:hackme@server:port/admin/stats;mv stats stats.xml
2. run xsltproc stats.xml yourfile.xsl
xsltproc will try to perform the transform and give you much better
messages than icecast will (icecast just says Cannot parse, but xsltproc
2015 May 12
4
Checking for file /7.html
Hi there,
My error log is full of these 2 lines
[2015-05-12 08:08:07] INFO fserve/fserve_client_create checking for
file /7.html (/usr/share/icecast2/web/7.html)
[2015-05-12 08:08:07] WARN fserve/fserve_client_create req for file
"/usr/share/icecast2/web/7.html" No such file or directory
I have checked the Icecast sources and couldn't find any file named
7.html, so I was
2019 Dec 07
2
extracting statistics
Hi all,
I have an icecast server in a facility which can handle several hundred
simultaneous connections and I would like to produce some data like:
How many people are listening now?
Where might they be? [general area is OK]
How long have they been listening?
How many different listeners have we had? [ lets not count returning
listeners as new ]
What is the average time spent listening?
2004 Aug 06
3
'ice_login' not in icecast.xml ?
Nevermind, that stats.xml page is worthless anyways.
got a updated version of icecast2 status
http://www.casterclub.com/icecast_status.php
parses the status2.xsl page
<p><p>Dave St John
(C.E.O.)
Xstream1.com
Mediacast1.com
Casterclub.com
(720-641-7586)
----- Original Message -----
From: "Dave St John" <dstjohn@mediacast1.com>
To: <icecast-dev@xiph.org>
Sent:
2004 Aug 06
4
Getting stats from icecast2
On Fri, 27 Sep 2002, Michael Smith wrote:
> >What do I have to request to get the .xsl page of stats? Can't remember
> >the page name so I don't know if it's working or not.
>
> You can use any xsl file in the web directory. Just use
> http://server:port/your_page.xsl
ummmm... Ok. And if I get a 404 error? Is this indicative of something in
particular?
the
2020 Sep 22
2
Listener stats
What about scrapping the access logs for connections that have completed, or utilizing netstat outputs to get active listeners (minus sources)?
Either of those options would get you remote IP addresses, both a slightly different view in that logs are after a connection closes, while netstat is while the connection is open.
-----Original Message-----
From: Icecast-dev <icecast-dev-bounces at
2004 Aug 06
2
Custom .xsl files?
On Thursday 22 July 2004 04:56, Myke Place wrote:
> I'm curious if it is possible to create custom .xsl files in the /admin
> directory, using the same xsl params that appear in in the web
> interfaces that ship with Icecast2.
Yes. Though I don't know if using an arbitrary one works from the admin
directory. Certainly you can put them in icecast's webroot directory (or some