search for: icestats

Displaying 20 results from an estimated 40 matches for "icestats".

2016 Aug 19
1
Icecast Digest, Vol 146, Issue 7
...xiph.org > > You can reach the person managing the list at > icecast-owner at xiph.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Icecast digest..." > > > Today's Topics: > > 1. Adding to Icestats Available Raw Data (Mark Trimble) > 2. Re: Adding to Icestats Available Raw Data (Philipp Schafft) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 18 Aug 2016 11:38:26 -0400 > From: Mark Trimble <matrimble at gma...
2016 Aug 18
1
Adding to Icestats Available Raw Data
Is there a way to add additional metadata fields to icestats in such a way as to be accessible to stats-json.xsl? In particular I am interested in adding "album" and "year". -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20160818/6bbd1420/attachment.h...
2008 Nov 19
2
Icecast 2.3.2 doesn't list all mount points
Hello, I've upgraded from 2.3.1 to 2.3.2. I've been used to list all mount points by <xsl:for-each select="source"/> under /icestats. Howver now the /icestats elemets contains only source elemets which have been requested at least once. That means the list (e.g. /stats.xsl under web directory) is empty after server start. I've found out this regresion presents only in stylesheets from web directory. If I copy a stylsheet i...
2004 Aug 06
1
problems streaming ogg with ices2 and icecast2
...;ve been following the unofficial HOWTO at http://www.6809.org.uk/media/ices2-howto.shtml. So, I've downloaded and installed libshout2, ices2 and icecast2. Everything starts up OK and I can get stats by pointing my browser at the admin page: <?xml version="1.0" ?> - <icestats> <client_connections>5</client_connections> <connections>8</connections> <source_connections>3</source_connections> <sources>0</sources> - <source mount="/test.ogg"> <audio_info>samplerate=22050;channels=2;bitrate=64...
2005 Mar 28
1
Retrieving Playing Stats
...; $xml_elem['level']) { $php_stmt .= '[$level['.$start_level.']]'; $start_level++; } $php_stmt .= '[$xml_elem[\'tag\']] = $xml_elem[\'value\'];'; eval($php_stmt); } } $listeners = $params['ICESTATS'][$mountpoint]['LISTENERS']; $currenttrack = $params['ICESTATS'][$mountpoint]['TITLE']; echo "$listeners listeners are currently connected."; echo "<br />"; echo "Currently playing: $currenttrack"; ?>
2004 Aug 06
2
Source XML for status.xsl
I've been trying to track down this mysterious 'icestats' file that the status.xsl and status2.xsl read data from. There is no physical file as far as I can tell, but a perusal of the code seems to indicate that the server generates it on the fly when the XSL file requests it. So then I tried servername.com:8000/icestats but I got nothing. So I...
2004 Aug 06
0
Source XML for status.xsl
M Edwards <medwards@ualberta.ca> said: > I've been trying to track down this mysterious 'icestats' file that the > status.xsl and status2.xsl read data from. There is no physical file as far as > I can tell, but a perusal of the code seems to indicate that the server > generates it on the fly when the XSL file requests it. So then I tried > servername.com:8000/icestats but I...
2004 Aug 06
1
Dont play anything!!!
...esnot up. If I use the open URL feature in winamp and give it 10.1.1.101:8000/playlist.ogg Then winamp try to connects then winamp opens, and just says Connecting... - it never actually plays . When I pont http://10.0.1.1:8000/admin/stats.xml get this <?xml version="1.0" ?> - <icestats> <client_connections>12</client_connections> <clients>1</clients> <connections>13</connections> <source_connections>1</source_connections> <sources>1</sources> - <source mount="/playlist.ogg"> <artist /&gt...
2005 Mar 28
0
Retrieving Playing Stats
...$php_stmt .= '[$level['.$start_level.']]'; > $start_level++; > } > $php_stmt .= '[$xml_elem[\'tag\']] = $xml_elem[\'value\'];'; > eval($php_stmt); > } > } > > $listeners = $params['ICESTATS'][$mountpoint]['LISTENERS']; > $currenttrack = $params['ICESTATS'][$mountpoint]['TITLE']; > > echo "$listeners listeners are currently connected."; > echo "<br />"; > echo "Currently playing: $currenttrack"; > >...
2008 Nov 20
1
Icecast 2.3.2 doesn't list all mount points
On 2008-11-20, Karl Heyes <karl at xiph.org> wrote: > Petr Pisar wrote: >> Hello, >> >> I've upgraded from 2.3.1 to 2.3.2. I've been used to list all mount >> points by <xsl:for-each select="source"/> under /icestats. >> >> Howver now the /icestats elemets contains only source elemets which have >> been requested at least once. That means the list (e.g. /stats.xsl under >> web directory) is empty after server start. >> >> I've found out this regresion presents only in s...
2011 Feb 23
1
XML Parsing Error
I have managed to get icecast to start, but when I browse to the admin directory, I get this output: http://127.0.0.1:8000/admin/stats.xml XML Parsing Error: no element found Location: http://127.0.0.1:8000/admin/stats.xml Line Number 1, Column 1: Am I supposed to wrap this output in an xhtml page, like when doing an AJAX query? Kind Regards, Keith Roberts
2023 Nov 22
1
mediaplayer for icecast streams?
...5) could do the > trick, but it does not work. > > <?php > if (1) { > $jsonobj=file("http://radio.protestbandet.dk:8000/status-json.xsl"); > //var_dump($jsonobj); > $arr1[]=json_decode($jsonobj[0], true); > echo '<strong>'.$arr1[0]['icestats']['source']['title'].'</strong>'; > sleep(5); > } > ?> > > Can anyone help? > > > Thanks > >
2023 Nov 22
1
mediaplayer for icecast streams?
...he text on the webpage. I was hoping sleep(5) could do the trick, but it does not work. <?php if (1) { $jsonobj=file("http://radio.protestbandet.dk:8000/status-json.xsl"); //var_dump($jsonobj); $arr1[]=json_decode($jsonobj[0], true); echo '<strong>'.$arr1[0]['icestats']['source']['title'].'</strong>'; sleep(5); } ?> Can anyone help? Thanks -- Thomas Jensen, 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...
2018 Mar 12
0
IceCast Listenter Count Stat - BASH or php?
...<xsl:output omit-xml-declaration="no" method="text" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" /> <xsl:template match = "/icestats" >MountPoint,Connections,Stream Name,Current Listeners,Description,Currently Playing,Stream URL Global,Client:<xsl:value-of select="connections" /> Source: <xsl:value-of select="source_connections" />,,<xsl:value-of select="listeners" />,, &lt...
2020 Sep 21
2
Listener stats
...Location of user in many cases. Think VPNs for instance. > > Of course if you're set on going that route, I'm pretty sure that > status-json.xsl (in your webroot) has the IP address option simply added > to a section that does not show it: > > <xsl:template match="icestats/source/source_ip"><xsl:if > test="not(following-sibling::*)">"dummy":null}</xsl:if></xsl:template> > > I could be wrong but you may be able to simply remove that line and > it'll work. I haven't tried that before so do it at your own...
2004 Aug 06
2
XML statistics?
The documentation for Icecast2 references a structured XML document containing statistics, such as the following from the docs: <?xml version="1.0"?> <icestats> <client_connections>13</client_connections> <connections>14</connections> <source_connections>1</source_connections> <sources>1</sources> <source mount="/test.ogg"> <artist...
2020 Sep 21
2
Listener stats
Hello I’m new to Icecast and I’m using version 2.4.4. How would I be able to get a Jason file that has listener information specifically listener location or at least the IP address. I can get listener count but I’m looking for location through the IP. I need to write a php script to gather this information. I have checked the status-Jason.xsl and the xml2json.xsl but neither gives me that
2020 Sep 22
2
Listener stats
...ocation of user in many cases. Think VPNs for instance. > > Of course if you're set on going that route, I'm pretty sure that > status-json.xsl (in your webroot) has the IP address option simply > added to a section that does not show it: > > <xsl:template match="icestats/source/source_ip"><xsl:if > test="not(following-sibling::*)">"dummy":null}</xsl:if></xsl:template> > > I could be wrong but you may be able to simply remove that line and > it'll work. I haven't tried that before so do it at your ow...
2004 Aug 06
2
Custom .xsl files?
...ast2 handles the processing of these files would > be super: > > <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" > version = "1.0" > > <xsl:output method="html" indent="yes" /> > <xsl:template match = "/icestats" > > <HTML> > <HEAD> > <title>Simple Icecast stats</title> > </HEAD> > <BODY> > <xsl:for-each select="source"> > <xsl:value-of select="@mount" /> > <br> Your XSLT must be valid.This isn't...
2020 Sep 22
2
Listener stats
...> >> > >> Of course if you're set on going that route, I'm pretty sure that > >> status-json.xsl (in your webroot) has the IP address option simply > >> added to a section that does not show it: > >> > >> <xsl:template match="icestats/source/source_ip"><xsl:if > >> test="not(following-sibling::*)">"dummy":null}</xsl:if></xsl:template> > >> > >> I could be wrong but you may be able to simply remove that line and > >> it'll work. I haven't...