mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-06-30 22:18:19 -04:00
sync with master
svn path=/icecast/branches/ph3/icecast/; revision=19275
This commit is contained in:
parent
2176adaa8d
commit
7f6f94b9ee
@ -1,103 +1,95 @@
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="html" 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" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<h2>Icecast2 Admin</h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a>
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
<h1>Listener Stats</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="source">
|
||||
<div class="streamheader">
|
||||
<table cellspacing="0" cellpadding="0" >
|
||||
<colgroup align="left" />
|
||||
<colgroup align="right" width="300" />
|
||||
<tr>
|
||||
<td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td align="right">
|
||||
<a href="{@mount}.m3u">M3U</a>
|
||||
<a href="{@mount}.xspf">XSPF</a>
|
||||
<a href="{@mount}.vclt">VCLT</a>
|
||||
</td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr></table>
|
||||
</div>
|
||||
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
||||
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a>
|
||||
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
||||
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<br />
|
||||
<table cellspacing="0" cellpadding="5" border="1" bordercolor="#C0C0C0" >
|
||||
<tr>
|
||||
<td ><center><b>IP</b></center></td>
|
||||
<td ><center><b>Seconds Connected</b></center></td>
|
||||
<td ><center><b>User Agent</b></center></td>
|
||||
<td ><center><b>Action</b></center></td>
|
||||
</tr>
|
||||
<xsl:variable name = "themount" ><xsl:value-of select="@mount" /></xsl:variable>
|
||||
<xsl:for-each select="listener">
|
||||
<tr>
|
||||
<td align="center"><xsl:value-of select="IP" /><xsl:if test="username"> (<xsl:value-of select="username" />)</xsl:if></td>
|
||||
<td align="center"><xsl:value-of select="Connected" /></td>
|
||||
<td align="center"><xsl:value-of select="UserAgent" /></td>
|
||||
<td align="center"><a href="killclient.xsl?mount={$themount}&id={ID}">Kick</a></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<br />
|
||||
<br />
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="xml" 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" >
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Icecast2 Admin</h1>
|
||||
<!--index header menu -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a href="stats.xsl">Admin Home</a></li>
|
||||
<li><a href="listmounts.xsl">Mountpoint List</a></li>
|
||||
<li><a href="/status.xsl">Public Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--end index header menu -->
|
||||
<h2>Listener Stats</h2>
|
||||
<xsl:for-each select="source">
|
||||
<div class="roundbox">
|
||||
<div class="mounthead">
|
||||
<h3>Mountpoint <xsl:value-of select="@mount" /></h3>
|
||||
<div class="right">
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a class="auth" href="/auth.xsl">Login</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<ul class="mountlist">
|
||||
<li><a class="play" href="{@mount}.m3u">M3U</a></li>
|
||||
<li><a class="play" href="{@mount}.xspf">XSPF</a></li>
|
||||
<li><a class="play" href="{@mount}.vclt">VCLT</a></li>
|
||||
</ul>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mountcont">
|
||||
<ul class="nav">
|
||||
<li class="active"><a href="listclients.xsl?mount={@mount}">List Clients</a></li>
|
||||
<li><a href="moveclients.xsl?mount={@mount}">Move Listeners</a></li>
|
||||
<li><a href="updatemetadata.xsl?mount={@mount}">Update Metadata</a></li>
|
||||
<xsl:if test="authenticator">
|
||||
<li><a href="manageauth.xsl?mount={@mount}">Manage Authentication</a></li>
|
||||
</xsl:if>
|
||||
<li><a href="killsource.xsl?mount={@mount}">Kill Source</a></li>
|
||||
</ul>
|
||||
<xsl:choose>
|
||||
<xsl:when test="listener">
|
||||
<div class="scrolltable">
|
||||
<table class="colortable">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>IP</td>
|
||||
<td>Sec. connected</td>
|
||||
<td>User Agent</td>
|
||||
<td>Action</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<xsl:variable name = "themount"><xsl:value-of select="@mount" /></xsl:variable>
|
||||
<xsl:for-each select="listener">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="IP" />
|
||||
<xsl:if test="username">
|
||||
(<xsl:value-of select="username" />)
|
||||
</xsl:if>
|
||||
</td>
|
||||
<td><xsl:value-of select="Connected" /></td>
|
||||
<td><xsl:value-of select="UserAgent" /></td>
|
||||
<td><a href="killclient.xsl?mount={$themount}&id={ID}">Kick</a></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<p>No listeners connected</p>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
<div id="footer">
|
||||
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -1,86 +1,61 @@
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="html" 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" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<h2>Icecast2 Admin</h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a>
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
<h1>Active Mountpoints</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="source">
|
||||
<div class="streamheader">
|
||||
<table cellspacing="0" cellpadding="0" >
|
||||
<colgroup align="left" />
|
||||
<colgroup align="right" width="300" />
|
||||
<tr>
|
||||
<td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td align="right">
|
||||
<a href="{@mount}.m3u">M3U</a>
|
||||
<a href="{@mount}.xspf">XSPF</a>
|
||||
<a href="{@mount}.vclt">VCLT</a>
|
||||
</td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr></table>
|
||||
</div>
|
||||
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
||||
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a>
|
||||
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
||||
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
||||
<xsl:if test="authenticator"><a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
|
||||
</td></tr>
|
||||
</table>
|
||||
<br />
|
||||
<p><xsl:value-of select="listeners" /> Listener(s)</p>
|
||||
<br></br>
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="xml" 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" >
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Icecast2 Admin</h1>
|
||||
<!--index header menu -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a href="stats.xsl">Admin Home</a></li>
|
||||
<li><a href="listmounts.xsl">Mountpoint List</a></li>
|
||||
<li><a href="/status.xsl">Public Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--end index header menu -->
|
||||
<h2>Active Mountpoints</h2>
|
||||
<xsl:for-each select="source">
|
||||
<div class="roundbox">
|
||||
<div class="mounthead">
|
||||
<h3 class="mount">Mountpoint <xsl:value-of select="@mount" /></h3>
|
||||
<div class="right">
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a class="auth" href="/auth.xsl">Login</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<ul class="mountlist">
|
||||
<li><a class="play" href="{@mount}.m3u">M3U</a></li>
|
||||
<li><a class="play" href="{@mount}.xspf">XSPF</a></li>
|
||||
<li><a class="play" href="{@mount}.vclt">VCLT</a></li>
|
||||
</ul>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mountcont">
|
||||
<ul class="nav">
|
||||
<li><a href="listclients.xsl?mount={@mount}">List Clients</a></li>
|
||||
<li><a href="moveclients.xsl?mount={@mount}">Move Listeners</a></li>
|
||||
<li><a href="updatemetadata.xsl?mount={@mount}">Update Metadata</a></li>
|
||||
<xsl:if test="authenticator">
|
||||
<li><a href="manageauth.xsl?mount={@mount}">Manage Authentication</a></li>
|
||||
</xsl:if>
|
||||
<li><a href="killsource.xsl?mount={@mount}">Kill Source</a></li>
|
||||
</ul>
|
||||
<p><xsl:value-of select="listeners" /> Listener(s)</p>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
<div id="footer">
|
||||
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -1,98 +1,91 @@
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="html" 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" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<h2>Icecast2 Admin</h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a>
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="iceresponse">
|
||||
<xsl:value-of select="message" />
|
||||
</xsl:for-each>
|
||||
<xsl:for-each select="source">
|
||||
<h3>
|
||||
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
||||
(<xsl:value-of select="@mount" />)</h3>
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
||||
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move Listeners</a>
|
||||
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
||||
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<br></br>
|
||||
<form method="GET" action="manageauth.xsl">
|
||||
<table cellpadding="2" cellspacing="4" border="0" >
|
||||
<tr>
|
||||
<td ><b>User Id</b></td>
|
||||
<td ></td>
|
||||
</tr>
|
||||
<xsl:variable name = "themount" ><xsl:value-of select="@mount" /></xsl:variable>
|
||||
<xsl:for-each select="User">
|
||||
<tr>
|
||||
<td><xsl:value-of select="username" /></td>
|
||||
<td><a class="nav2" href="manageauth.xsl?mount={$themount}&username={username}&action=delete">delete</a></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
<table cellpadding="2" cellspacing="4" border="0" >
|
||||
<tr>
|
||||
<td ><b>User Id</b></td>
|
||||
<td ><b>Password</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td ><input type="text" name="username" /></td>
|
||||
<td ><input type="text" name="password" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="Submit" name="Submit" value="Add New User" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="mount" value="{@mount}"/>
|
||||
<input type="hidden" name="action" value="add"/>
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="xml" 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" >
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Icecast2 Admin</h1>
|
||||
<!--index header menu -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a href="stats.xsl">Admin Home</a></li>
|
||||
<li><a href="listmounts.xsl">Mountpoint List</a></li>
|
||||
<li><a href="/status.xsl">Public Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--end index header menu -->
|
||||
<h2>Manage Authentication</h2>
|
||||
<xsl:if test="iceresponse">
|
||||
<div class="roundbox">
|
||||
<h3>Message</h3>
|
||||
<xsl:for-each select="iceresponse">
|
||||
<xsl:value-of select="message" /><br />
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:if>
|
||||
<xsl:for-each select="source">
|
||||
<div class="roundbox">
|
||||
<h3>Mountpoint <xsl:value-of select="@mount" />
|
||||
<xsl:if test="server_name">
|
||||
<small><xsl:value-of select="server_name" /></small>
|
||||
</xsl:if>
|
||||
</h3>
|
||||
<ul class="nav">
|
||||
<li><a href="listclients.xsl?mount={@mount}">List Clients</a></li>
|
||||
<li><a href="moveclients.xsl?mount={@mount}">Move Listeners</a></li>
|
||||
<li><a href="updatemetadata.xsl?mount={@mount}">Update Metadata</a></li>
|
||||
<li><a href="manageauth.xsl?mount={@mount}">Manage Authentication</a></li>
|
||||
<li><a href="killsource.xsl?mount={@mount}">Kill Source</a></li>
|
||||
</ul>
|
||||
<xsl:if test="User">
|
||||
<table class="colortable">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>User</td>
|
||||
<td>Action</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<xsl:variable name="themount"><xsl:value-of select="@mount" /></xsl:variable>
|
||||
<xsl:for-each select="User">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="username" />
|
||||
</td>
|
||||
<td>
|
||||
<a href="manageauth.xsl?mount={$themount}&username={username}&action=delete">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tbody>
|
||||
</table>
|
||||
</xsl:if>
|
||||
<form class="alignedform" method="get" action="/admin/manageauth.xsl">
|
||||
<fieldset>
|
||||
<legend>Add new user</legend>
|
||||
<p>
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username"/>
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password"/>
|
||||
</p>
|
||||
<input type="hidden" name="mount" value="{@mount}"/>
|
||||
<input type="hidden" name="action" value="add"/>
|
||||
<input type="Submit" value="Add"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
<div id="footer">
|
||||
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -1,63 +1,39 @@
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="html" 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" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<h2>Icecast2 Admin</h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a>
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<xsl:variable name = "currentmount" ><xsl:value-of select="current_source" /></xsl:variable>
|
||||
<h1>Moving Listeners From (<xsl:value-of select="current_source" />)</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<h3>Move to which mountpoint ?</h3>
|
||||
<xsl:for-each select="source">
|
||||
<table border="0" cellpadding="1" cellspacing="5" >
|
||||
<tr>
|
||||
<td>Move from (<xsl:copy-of select="$currentmount" />) to (<xsl:value-of select="@mount" />)</td>
|
||||
<td><xsl:value-of select="listeners" /> Listeners</td>
|
||||
<td><a class="nav2" href="moveclients.xsl?mount={$currentmount}&destination={@mount}">Move Clients</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<br />
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="xml" 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" >
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Icecast2 Admin</h1>
|
||||
<!--index header menu -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a href="stats.xsl">Admin Home</a></li>
|
||||
<li><a href="listmounts.xsl">Mountpoint List</a></li>
|
||||
<li><a href="/status.xsl">Public Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--end index header menu -->
|
||||
<xsl:variable name = "currentmount" ><xsl:value-of select="current_source" /></xsl:variable>
|
||||
<h2>Moving listeners from <xsl:value-of select="current_source" /></h2>
|
||||
<div class="roundbox">
|
||||
<h3>Move to which mountpoint?</h3>
|
||||
<xsl:for-each select="source">
|
||||
<p>
|
||||
Move from <code><xsl:copy-of select="$currentmount" /></code> to <code><xsl:value-of select="@mount" /></code><br />
|
||||
<xsl:value-of select="listeners" /> listeners<br />
|
||||
<a href="moveclients.xsl?mount={$currentmount}&destination={@mount}">Move clients</a>
|
||||
</p>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
<div id="footer">
|
||||
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -1,56 +1,35 @@
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="html" 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 = "/iceresponse" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<img align="left" src="/icecast.png" /><h2><center>Icecast2 Admin</center></h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a> |
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a> |
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a> |
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<h1>Icecast Server Response</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<h3>Response</h3>
|
||||
<xsl:for-each select="/iceresponse">
|
||||
Message : <xsl:value-of select="message" /><br></br>
|
||||
Return Code: <xsl:value-of select="return" /><br></br>
|
||||
</xsl:for-each>
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="xml" 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 = "/iceresponse" >
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Icecast2 Admin</h1>
|
||||
<!--index header menu -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a href="stats.xsl">Admin Home</a></li>
|
||||
<li><a href="listmounts.xsl">Mountpoint List</a></li>
|
||||
<li><a href="/status.xsl">Public Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--end index header menu -->
|
||||
<h2>Icecast Server Response</h2>
|
||||
<xsl:for-each select="/iceresponse">
|
||||
<div class="roundbox">
|
||||
<h3>Response</h3>
|
||||
<p>Message: <xsl:value-of select="message" /></p>
|
||||
<p>Return Code: <xsl:value-of select="return" /></p>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
<div id="footer">
|
||||
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
226
admin/stats.xsl
226
admin/stats.xsl
@ -1,126 +1,100 @@
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="html" 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" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<h2>Icecast2 Admin</h2>
|
||||
<br />
|
||||
<!--header menu -->
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a>
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<!--end header menu -->
|
||||
|
||||
<!--global server stats-->
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<h3>Global Server Stats</h3>
|
||||
<table border="0" cellpadding="4">
|
||||
<xsl:for-each select="/icestats">
|
||||
<xsl:for-each select="*">
|
||||
<xsl:if test = "name()!='source'">
|
||||
<tr>
|
||||
<td width="130"><xsl:value-of select="name()" /></td>
|
||||
<td class="streamdata"><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<!--end global server stats-->
|
||||
|
||||
<!--mount point stats-->
|
||||
<xsl:for-each select="source">
|
||||
<xsl:if test = "listeners!=''">
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<div class="streamheader">
|
||||
<table cellspacing="0" cellpadding="0" >
|
||||
<colgroup align="left" />
|
||||
<colgroup align="right" width="300" />
|
||||
<tr>
|
||||
<td><h3>Mount Point <xsl:value-of select="@mount" /></h3></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<td align="right"><a class="auth" href="/auth.xsl">Login</a></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td align="right">
|
||||
<a href="{@mount}.m3u">M3U</a>
|
||||
<a href="{@mount}.xspf">XSPF</a>
|
||||
<a href="{@mount}.vclt">VCLT</a>
|
||||
</td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</tr></table>
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="5" bgcolor="444444">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav2" href="listclients.xsl?mount={@mount}">List Clients</a>
|
||||
<a class="nav2" href="moveclients.xsl?mount={@mount}">Move MountPoints</a>
|
||||
<a class="nav2" href="updatemetadata.xsl?mount={@mount}">Update Metadata</a>
|
||||
<a class="nav2" href="killsource.xsl?mount={@mount}">Kill Source</a>
|
||||
<xsl:if test="authenticator"><a class="nav2" href="manageauth.xsl?mount={@mount}">Manage Authentication</a></xsl:if>
|
||||
</td></tr>
|
||||
</table>
|
||||
<br />
|
||||
<table cellpadding="5" cellspacing="0" border="0">
|
||||
<xsl:for-each select="*">
|
||||
<tr>
|
||||
<td width="130"><xsl:value-of select="name()" /></td>
|
||||
<td class="streamdata"><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</table>
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
|
||||
|
||||
<!--end mount point stats-->
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="xml" 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" >
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Icecast2 Admin</h1>
|
||||
<!--index header menu -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a href="stats.xsl">Admin Home</a></li>
|
||||
<li><a href="listmounts.xsl">Mountpoint List</a></li>
|
||||
<li><a href="/status.xsl">Public Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--end index header menu -->
|
||||
<!--global server stats-->
|
||||
<div class="roundbox">
|
||||
<h3>Global Server Stats</h3>
|
||||
<table class="yellowkeys">
|
||||
<tbody>
|
||||
<xsl:for-each select="/icestats">
|
||||
<xsl:for-each select="*">
|
||||
<xsl:if test = "name()!='source'">
|
||||
<tr>
|
||||
<td><xsl:value-of select="name()" /></td>
|
||||
<td><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!--end global server stats-->
|
||||
|
||||
<!--mount point stats-->
|
||||
<xsl:for-each select="source">
|
||||
<xsl:if test = "listeners!=''">
|
||||
<div class="roundbox">
|
||||
<div class="mounthead">
|
||||
<h3 class="mount">Mountpoint <xsl:value-of select="@mount" /></h3>
|
||||
<div class="right">
|
||||
<xsl:choose>
|
||||
<xsl:when test="authenticator">
|
||||
<a class="auth" href="/auth.xsl">Login</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<ul class="mountlist">
|
||||
<li><a class="play" href="{@mount}.m3u">M3U</a></li>
|
||||
<li><a class="play" href="{@mount}.xspf">XSPF</a></li>
|
||||
<li><a class="play" href="{@mount}.vclt">VCLT</a></li>
|
||||
</ul>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mountcont">
|
||||
<ul class="nav">
|
||||
<li><a href="listclients.xsl?mount={@mount}">List Clients</a></li>
|
||||
<li><a href="moveclients.xsl?mount={@mount}">Move Listeners</a></li>
|
||||
<li><a href="updatemetadata.xsl?mount={@mount}">Update Metadata</a></li>
|
||||
<xsl:if test="authenticator">
|
||||
<li><a href="manageauth.xsl?mount={@mount}">Manage Authentication</a></li>
|
||||
</xsl:if>
|
||||
<li><a href="killsource.xsl?mount={@mount}">Kill Source</a></li>
|
||||
</ul>
|
||||
<xsl:if test="server_type and ((server_type = 'application/ogg') or (server_type = 'audio/ogg'))">
|
||||
<div class="audioplayer">
|
||||
<audio controls="controls" preload="none">
|
||||
<source src="{@mount}" type="{server_type}" />
|
||||
</audio>
|
||||
</div>
|
||||
</xsl:if>
|
||||
<table class="yellowkeys">
|
||||
<tbody>
|
||||
<xsl:for-each select="*">
|
||||
<tr>
|
||||
<td><xsl:value-of select="name()" /></td>
|
||||
<td><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<!--end mount point stats-->
|
||||
<div id="footer">
|
||||
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,67 +1,49 @@
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
|
||||
<xsl:output omit-xml-declaration="no" method="html" 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" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
|
||||
<h2>Icecast2 Admin</h2>
|
||||
<br />
|
||||
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<table border="0" cellpadding="1" cellspacing="3">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a class="nav" href="stats.xsl">Admin Home</a>
|
||||
<a class="nav" href="listmounts.xsl">List Mountpoints</a>
|
||||
<a class="nav" href="moveclients.xsl">Move Listeners</a>
|
||||
<a class="nav" href="/status.xsl">Index</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<h1>Update Metadata</h1>
|
||||
<div class="roundcont">
|
||||
<div class="roundtop">
|
||||
<img src="/corner_topleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
<div class="newscontent">
|
||||
<xsl:for-each select="source">
|
||||
<h3>
|
||||
<xsl:if test="server_name"><xsl:value-of select="server_name" /> </xsl:if>
|
||||
(<xsl:value-of select="@mount" />)</h3>
|
||||
|
||||
<form method="GET" action="/admin/metadata.xsl">
|
||||
<table border="0" cellpadding="4">
|
||||
<tr><td>Metadata : <input type="text" name="song"/></td></tr>
|
||||
<tr><td><input type="Submit" value="Update"/></td></tr>
|
||||
</table>
|
||||
<input type="hidden" name="mount" value="{@mount}"/>
|
||||
<input type="hidden" name="mode" value="updinfo"/>
|
||||
<input type="hidden" name="charset" value="UTF-8"/>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
</xsl:for-each>
|
||||
<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;
|
||||
</div>
|
||||
<div class="roundbottom">
|
||||
<img src="/corner_bottomleft.jpg" class="corner" style="display: none" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="poster">Support icecast development at <a class="nav" href="http://www.icecast.org">www.icecast.org</a></div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0">
|
||||
<xsl:output omit-xml-declaration="no" method="xml" 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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Icecast Streaming Media Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Icecast2 Admin</h1>
|
||||
<!--index header menu -->
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a href="stats.xsl">Admin Home</a></li>
|
||||
<li><a href="listmounts.xsl">Mountpoint List</a></li>
|
||||
<li><a href="/status.xsl">Public Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--end index header menu -->
|
||||
<h2>Update Metadata</h2>
|
||||
<xsl:for-each select="source">
|
||||
<div class="roundbox">
|
||||
<h3>Mountpoint <xsl:value-of select="@mount" />
|
||||
<xsl:if test="server_name">
|
||||
<small><xsl:value-of select="server_name" /></small>
|
||||
</xsl:if>
|
||||
</h3>
|
||||
<form class="alignedform" method="get" action="/admin/metadata.xsl">
|
||||
<p>
|
||||
<label for="song">Metadata:</label>
|
||||
<input type="text" id="song" name="song"/>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" value="Update"/>
|
||||
<input type="hidden" name="mount" value="{@mount}"/>
|
||||
<input type="hidden" name="mode" value="updinfo"/>
|
||||
<input type="hidden" name="charset" value="UTF-8"/>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
<div id="footer">
|
||||
Support icecast development at <a href="http://www.icecast.org">www.icecast.org</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -1,6 +1,6 @@
|
||||
<!--
|
||||
XSPF xslt stylesheet for Icecast 2.3.2 and above
|
||||
Copyright (C) 2007 Thomas B. Ruecker, tbr@ruecker-itk.de
|
||||
XSPF xslt stylesheet for Icecast and above
|
||||
Copyright (C) 2007 Thomas B. Ruecker, thomas@ruecker.fi
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
|
@ -6,10 +6,8 @@ docdir = $(datadir)/doc/icecast
|
||||
doc_DATA = index.html icecast2_admin.html icecast2_basicsetup.html \
|
||||
icecast2_config_file.html icecast2_faq.html icecast2_glossary.html \
|
||||
icecast2_introduction.html icecast2_relay.html icecast2_stats.html \
|
||||
icecast2_win32.html icecast2_yp.html icecast2_listenerauth.html icecast2_changes.html \
|
||||
icecast2_win32.html icecast2_yp.html icecast2_auth.html icecast2_changes.html \
|
||||
listener_auth1.jpg listener_auth2.jpg listener_auth3.jpg \
|
||||
masterslave.png relay.png
|
||||
|
||||
EXTRA_DIST = Index.hhk icecast2.hhc icecast2.hhp index_win32.html \
|
||||
stats1.jpg style.css win32_section1.html win32_section2.html \
|
||||
win32_section3.html windowtitle.jpg $(doc_DATA)
|
||||
EXTRA_DIST = $(doc_DATA)
|
||||
|
@ -1,66 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
|
||||
<!-- Sitemap 1.0 -->
|
||||
</HEAD><BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="ImageType" value="Folder">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Icecast2 - Table of Contents">
|
||||
<param name="Local" value="index.html">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Changes">
|
||||
<param name="Local" value="icecast2_changes.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Introduction">
|
||||
<param name="Local" value="icecast2_introduction.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Basic Setup">
|
||||
<param name="Local" value="icecast2_basicsetup.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Icecast Config File">
|
||||
<param name="Local" value="icecast2_config_file.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Admin Interface">
|
||||
<param name="Local" value="icecast2_admin.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Server Statistics">
|
||||
<param name="Local" value="icecast2_stats.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Relaying">
|
||||
<param name="Local" value="icecast2_relay.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Listing in a YP Directory">
|
||||
<param name="Local" value="icecast2_yp.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Listener Authentication">
|
||||
<param name="Local" value="icecast2_listenerauth.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Win32 specific documentation">
|
||||
<param name="Local" value="icecast2_win32.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Glossary">
|
||||
<param name="Local" value="icecast2_glossary.html">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="FAQ">
|
||||
<param name="Local" value="icecast2_faq.html">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
</UL>
|
||||
</BODY></HTML>
|
@ -1,23 +0,0 @@
|
||||
[OPTIONS]
|
||||
Auto Index=Yes
|
||||
Compatibility=1.1 or later
|
||||
Compiled file=icecast2.chm
|
||||
Contents file=icecast2.hhc
|
||||
Default Font=,8,0
|
||||
Default Window=Icecast 2 Documentation
|
||||
Default topic=index.html
|
||||
Display compile progress=No
|
||||
Full-text search=Yes
|
||||
Index file=Index.hhk
|
||||
Language=0x409 English (United States)
|
||||
Title=Icecast 2
|
||||
|
||||
[WINDOWS]
|
||||
Icecast 2 Documentation=,"icecast2.hhc","Index.hhk","index.html",,,,,,0x42520,,0x3006,[26,28,794,605],,,,,,,0
|
||||
|
||||
|
||||
[FILES]
|
||||
index.html
|
||||
|
||||
[INFOTYPES]
|
||||
|
@ -7,7 +7,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="boxtest">
|
||||
<h1>Icecast 2 Listener Authentication</h1>
|
||||
<h1>Icecast 2 Authentication</h1>
|
||||
<hr id='titlebar' />
|
||||
<br />
|
||||
<br />
|
||||
@ -85,17 +85,17 @@ config file. The following shows the list of options available :</p>
|
||||
<mount>
|
||||
<mount-name>/example.ogg</mount-name>
|
||||
<authentication type="url">
|
||||
<option name="mount_add" value="http://myauthserver.com/stream_start.php"/>
|
||||
<option name="mount_remove" value="http://myauthserver.com/stream_end.php"/>
|
||||
<option name="listener_add" value="http://myauthserver.com/listener_joined.php"/>
|
||||
<option name="listener_remove" value="http://myauthserver.com/listener_left.php"/>
|
||||
<option name="mount_add" value="http://auth.example.org/stream_start.php"/>
|
||||
<option name="mount_remove" value="http://auth.example.org/stream_end.php"/>
|
||||
<option name="listener_add" value="http://auth.example.org/listener_joined.php"/>
|
||||
<option name="listener_remove" value="http://auth.example.org/listener_left.php"/>
|
||||
<option name="username" value="user"/>
|
||||
<option name="password" value="pass"/>
|
||||
<option name="auth_header" value="icecast-auth-user: 1"/>
|
||||
<option name="timelimit_header" value="icecast-auth-timelimit:"/>
|
||||
<option name="headers" value="x-pragma,x-token"/>
|
||||
<option name="header_prefix" value="ClientHeader."/>
|
||||
<option name="stream_auth" value="http://myauthserver.com/source.php"/>
|
||||
<option name="stream_auth" value="http://auth.example.org/source.php"/>
|
||||
</authentication>
|
||||
</mount>
|
||||
</pre>
|
||||
@ -107,7 +107,7 @@ is passed for this, but can be used to initialise any details the auth server ma
|
||||
</p>
|
||||
<p>POST details are</p>
|
||||
<pre>
|
||||
action=mount_add&mount=/live&server=myserver.com&port=8000
|
||||
action=mount_add&mount=/live&server=icecast.example.org&port=8000
|
||||
</pre>
|
||||
<p>Here the details indicate the server name (<hostname>) and mountpoint starting up</p>
|
||||
<h3>mount_remove</h3>
|
||||
@ -115,7 +115,7 @@ is passed for this, but can be used to initialise any details the auth server ma
|
||||
listener details are passed.</p>
|
||||
<p>POST details are</p>
|
||||
<pre>
|
||||
action=mount_remove&mount=/live&server=myserver.com&port=8000
|
||||
action=mount_remove&mount=/live&server=icecast.example.org&port=8000
|
||||
</pre>
|
||||
<p>like the start option, server name and mountpoint are provided</p>
|
||||
</p>
|
||||
@ -126,7 +126,7 @@ unless the auth server sends back a response header which may be stated in the '
|
||||
</p>
|
||||
<p>POST details are</p>
|
||||
<pre>
|
||||
action=listener_add&server=myserver.com&port=8000&client=1&mount=/live&user=&pass=&ip=127.0.0.1&agent=My%20player
|
||||
action=listener_add&server=icecast.example.org&port=8000&client=1&mount=/live&user=&pass=&ip=127.0.0.1&agent=My%20player
|
||||
</pre>
|
||||
<p>There are more details with this, client is the unique ID for the client within icecast,
|
||||
user and pass may be blank but come from the HTTP basic auth that the listener states, ip
|
||||
@ -139,7 +139,7 @@ note that each option data is escaped before being passed via POST
|
||||
<p>This URL is for when a listener connection closes.</p>
|
||||
<p>POST details are</p>
|
||||
<pre>
|
||||
action=listener_remove&server=myserver.com&port=8000&client=1&mount=/live&user=&pass=&duration=3600&ip=127.0.0.1&agent=My%20player
|
||||
action=listener_remove&server=icecast.example.org&port=8000&client=1&mount=/live&user=&pass=&duration=3600&ip=127.0.0.1&agent=My%20player
|
||||
</pre>
|
||||
<p>Again this is similar to the add option, the difference being that a duration is passed
|
||||
reflecting the number of seconds the listener was connected for </p>
|
||||
@ -183,6 +183,40 @@ standard HTTP basic authentication, and in general, many media players support t
|
||||
support anything at all. Winamp and Foobar2000 support HTTP basic authentication on windows,
|
||||
and XMMS supports it on unix platforms. Winamp/XMMS as least support the passing of query
|
||||
parameters, other players may also do</p>
|
||||
<br />
|
||||
<h2>Source Authentication</h2>
|
||||
<p>Source authentication is a feature of icecast which allows you to secure a certain
|
||||
mountpoint such that in order to stream to it, a source client must pass some verification test.
|
||||
This section will show you the basics of setting up and maintaining this component.</p>
|
||||
|
||||
<p>To define source authentication, a group of tags are specified in the <mount>
|
||||
group relating to the mountpoint.</p>
|
||||
<br />
|
||||
<p>The following authentication mechanisms can apply to sources</p>
|
||||
<ul>
|
||||
<li>BASIC - <password> and possibly <username> in the <mount> section</li>
|
||||
<li>URL - issue web requests (eg PHP) to match authentication</li>
|
||||
</ul>
|
||||
<br />
|
||||
|
||||
<div id="stream_auth" >
|
||||
|
||||
<h3>URL authentication: stream_auth</h3>
|
||||
<p>A <mount> can contain a section <authentication type="url">
|
||||
and therein <option name="stream_auth" value="http://auth.example.org/source.php"/>.
|
||||
When a source connects, before anything is sent back to them,
|
||||
this request is processed. The default action is to reject a source unless the auth server
|
||||
sends back a response header which may be stated in the 'header' option (same as listener auth)
|
||||
</p>
|
||||
<p>POST details are</p>
|
||||
<pre>
|
||||
action=stream_auth&mount=/stream.ogg&ip=192.0.2.0&server=icecast.example.org&port=8000&user=source&pass=password&admin=1
|
||||
</pre>
|
||||
<p>The request contains: the mountpoint, the IP from which the source client is connecting,
|
||||
the hostname of the icecast server the client tries to connect to,
|
||||
the port of said server and finally username and password as sent by the source client.
|
||||
As admin requests can come in for a stream (eg metadata update) these requests can be
|
||||
issued while stream is active. For these &admin=1 is added to the POST details.</p></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -44,13 +44,7 @@ specified, and if neccessary, changed to suite your situation :
|
||||
<source-password> - will be used for the source client authentication
|
||||
<admin-password> - will be used for authenticating admin features of icecast
|
||||
<listen-socket> (both port and bind-address)
|
||||
<logdir> - directory where log files will be placed
|
||||
<webroot> - directory for non admin content (file serving root), status page is provided
|
||||
<adminroot> - directory containing admin xslt files
|
||||
</pre>
|
||||
<p>Most will not need to change adminroot/webroot as those are only read by icecast but icecast
|
||||
needs to create files in the logdir which MAY mean you want to be more selective. The other
|
||||
settings above will need to be provided by the icecast administrator </p>
|
||||
<p>Once the configuration file is modified, you should be able to start the server with the following command</p>
|
||||
<pre>
|
||||
icecast -c /path/to/icecast.xml
|
||||
@ -72,7 +66,7 @@ source password - from <source-password>
|
||||
</p>
|
||||
<p>Additionally, you will need to choose a mountpoint and specify this in the source client. Icecast does not need to know about each mount point (although you can configure settings for specific mountpoint - this is covered under Advanced configuration) there are, however, some points to mention regarding mountpoints. All Ogg Vorbis streams should have mountpoints that end in .ogg (i,e. /mystream.ogg). This is due to the lazy way most media players infer the type of stream. MP3 streams usually do not contain an extension (/mystream). Mount points also should not contain any spaces or odd characters (again due to the lazy way many of the media players are coded).</p>
|
||||
<p>Once you have configured your source client, you should be able to connect it to the icecast server. Verify that it is connected by hitting the stats.xml URL that was mentioned above.</p>
|
||||
<p>Now that you have the source connnected, listening to the stream involves simply opening the appropriate following URL in a browser: http://yourip:port/mounpointyouspecified.m3u. So, for instance, if you attached your source client to an icecast server located at 192.168.1.10:8000 with a mountpoint of /mystream.ogg, then you would open : http://192.168.1.10:8000/mystream.ogg.m3u. Note that the .m3u extention will serve up a link that opens most media players. Also it is important to note that m3u need not contain only MP3 stream, it can contain streams of arbitrary content-type and is used by icecast to serve a playlist that represents your broadcast to listening clients. Alternatively you can open up the stream URL directly within your media player (http://192.168.1.10:8000/mystream.ogg in this case)</p>
|
||||
<p>Now that you have the source connnected, listening to the stream involves simply opening the appropriate following URL in a browser: http://yourip:port/mounpointyouspecified . So, for instance, if you attached your source client to an icecast server located at 192.0.2.23:8000 with a mountpoint of /mystream.ogg, then you would open : http://192.0.2.23:8000/mystream.ogg or http://192.0.2.23:8000/mystream.ogg.m3u. Note that the URL with .m3u extention will serve up a link that opens most media players. Also it is important to note that m3u need not contain only MP3 stream, it can contain streams of arbitrary content-type and is used by icecast to serve a playlist that represents your broadcast to listening clients. Alternatively you can open up the stream URL directly within your media player (http://192.0.2.23:8000/mystream.ogg in this case)</p>
|
||||
<p>
|
||||
<br />
|
||||
<br />
|
||||
|
@ -11,6 +11,59 @@
|
||||
<hr id='titlebar' />
|
||||
<p>
|
||||
</p>
|
||||
<h2>Version 2.4.0</h2>
|
||||
<h3>New Features</h3>
|
||||
<p>
|
||||
<ul>
|
||||
<li> Support for Ogg Opus streams
|
||||
<li> Support for WebM streams
|
||||
<li> HTTP 1.1 PUT support for source connections. Deprecating SOURCE method.
|
||||
<li> <em>Default mount.</em> -
|
||||
This <mount type="default"> allows you to define a global set of defaults
|
||||
for ALL mounts.
|
||||
This way you can use e.g. url-auth for sources and or listeners also for
|
||||
dynamically generated mounts.
|
||||
<li> <em>Web interface redone</em> -
|
||||
<ul>
|
||||
<li> Web output properly redone, credit to ePirat.
|
||||
<li> Added <audio> element for supported audio streams.
|
||||
<li> Now validates completely as XHTML1.0 strict.
|
||||
<li> Also improves rendering on mobile devices.
|
||||
</ul>
|
||||
<li> Added basic JSON API (/status-json.xsl) based on a xml2json template by Doeke Zanstra (see xml2json.xslt). Output is roughly limited to data also visible through status.xsl.
|
||||
<li> Send charset in HTTP headers for everything, excluding file-serv and streams.
|
||||
<li> Allow (standard strftime(3)) %x codes in <dump-file>. Disabled for win32.
|
||||
<li> Added stream_start_iso8601, server_start_iso8601 to statitics.
|
||||
ISO8601 compliante timestamps for statistics. Should make usage in
|
||||
e.g. JSON much easier.
|
||||
Added as new variables to avoid breaking backwards compatibility.
|
||||
<li> Now compiles for win32 using mingw
|
||||
<li> Added options "headers" and "header_prefix" to URL based listener auth.
|
||||
<li> Updated listener_remove handler, added ip= and agent=,
|
||||
<li> Allow full URLs to be returned by the master server.
|
||||
</ul>
|
||||
<h3>Fixes</h3>
|
||||
<ul>
|
||||
<li> <strong>SECURITY FIX</strong> - Override supplementary groups if <changeowner> is used
|
||||
<li> Fixes for some race conditions
|
||||
<li> Dropped debian packaging directory as debian use their own.
|
||||
<li> Send proper HTTP headers in responses to clients.
|
||||
<li> corrected Content-Length: header in admin (raw) requests. Thanks to paluh for reporting.
|
||||
<li> Escape log entries in access log
|
||||
<li> Fixed a memory leak. Lost headers of stream because of wrong ref
|
||||
counter in associated refbuf objects.
|
||||
<li> avoid memory leak in _parse_mount() when "type"-attribute is set
|
||||
<li> Updated web interface to be XHTML compliant.
|
||||
<li> Removed status2.xsl from release. It was only a broken example file anyway.
|
||||
</ul>
|
||||
<h3>Known issues</h3>
|
||||
<ul>
|
||||
<li> Will crash if certain config tags are left empty.
|
||||
</ul>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
<h2>Version 2.3</h2>
|
||||
<h3>New Features</h3>
|
||||
<p>
|
||||
|
@ -31,12 +31,13 @@ This section will describe each section of the config file and is grouped into t
|
||||
</p>
|
||||
<h2>A word of warning</h2>
|
||||
<p>
|
||||
Please note that, especially for new Icecast users, editing the config file can be quite tricky. <strong>It is thus recommended to start by just changing all passwords, nothing else.</strong> You can then use the source-password to bring up an initial stream and get more comfortable with how Icecast works.
|
||||
Please note that, especially for new Icecast users, editing the config file can be quite tricky. <strong>It is thus recommended to make a backup of the original config file and then start by just changing all passwords, nothing else.</strong> You can then use the source-password to bring up an initial stream and get more comfortable with how Icecast works.
|
||||
</p>
|
||||
<p>
|
||||
Should you need to customize the configuration, then make a backup of your working config file, before you make any changes. If Icecast refuses to start it is in most cases due to a malformed config file. In such a case running the following command should point out most XML syntax problems.
|
||||
<pre>xmllint icecast.xml</pre>
|
||||
Also check the Icecast error.log for additional hints.
|
||||
<strong>A known limitation of Icecast 2.4.0 is that it will segfault on empty XML tags, so please don't use them (e.g. <webroot></webroot>).</strong><br /><br />
|
||||
Also check the Icecast error.log for additional hints in case of all problems!
|
||||
</p>
|
||||
<p>
|
||||
<br />
|
||||
@ -61,7 +62,7 @@ Also check the Icecast error.log for additional hints.
|
||||
</p>
|
||||
<h4>clients</h4>
|
||||
<div class="indentedbox">
|
||||
Total number of concurrent clients supported by the server. Listeners are considered clients, but so are accesses to any static content (i.e. fileserved content) and also any requests to gather stats. These are max *concurrent* connections for the entire server (not per mountpoint).
|
||||
Total number of concurrent clients supported by the server. Listeners are considered clients, but so are accesses to any static content (i.e. fileserved content) and also any requests to gather stats. These are max <strong>concurrent</strong> connections for the entire server (not per mountpoint).
|
||||
</div>
|
||||
<h4>sources</h4>
|
||||
<div class="indentedbox">
|
||||
@ -100,6 +101,7 @@ The burst size is the amount of data (in bytes) to burst to a client at connecti
|
||||
burst-on-connect, this is to quickly fill the pre-buffer used by media players. The default
|
||||
is 64 kbytes which is a typical size used by most clients so changing it is not usually required.
|
||||
This setting applies to all mountpoints unless overridden in the mount settings.
|
||||
Ensure that this value is smaller than queue-size, if necessary increase queue-size to be larger than your desired burst-size. Failure to do so might result in aborted listener client connection attempts, due to initial burst leading to the connection already exceeding the queue-size limit.
|
||||
</div>
|
||||
<p>
|
||||
<br />
|
||||
@ -478,7 +480,7 @@ Do not set this value unless you are sure that the source clients connecting to
|
||||
<h4>password</h4>
|
||||
<div class="indentedbox">
|
||||
An optional value which will set the password that a source must use to connect using this mountpoint.<br />
|
||||
There is also a <a href="icecast2_listenerauth.html#stream_auth">URL based authentication method</a> for sources that can be used instead.
|
||||
There is also a <a href="icecast2_auth.html#stream_auth">URL based authentication method</a> for sources that can be used instead.
|
||||
</div>
|
||||
<h4>max-listeners</h4>
|
||||
<div class="indentedbox">
|
||||
@ -632,7 +634,7 @@ relay to be shown
|
||||
</div>
|
||||
<h4>authentication</h4>
|
||||
<div class="indentedbox">
|
||||
This specifies that the named mount point will require listener (or source) authentication. Currently, we support a file-based authentication scheme (type=htpasswd) and URL based authentication request forwarding. A mountpoint configured with an authenticator will display a red key next to the mount point name on the admin screens. You can read more about listener authentication and URL based source authentication <a href="icecast2_listenerauth.html">here</a>.
|
||||
This specifies that the named mount point will require listener (or source) authentication. Currently, we support a file-based authentication scheme (type=htpasswd) and URL based authentication request forwarding. A mountpoint configured with an authenticator will display a red key next to the mount point name on the admin screens. You can read more about listener authentication and URL based source authentication <a href="icecast2_auth.html">here</a>.
|
||||
</div>
|
||||
<h4>on-connect</h4>
|
||||
<div class="indentedbox">
|
||||
@ -720,10 +722,12 @@ Aliases are used to provide a way to create multiple mountpoints that refer to t
|
||||
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
||||
</logging>
|
||||
</pre>
|
||||
<p>This section contains information relating to logging within icecast. There are two logfiles currently generated by icecast, an error.log (where all log messages are placed) and an access.log (where all stream/admin/http requests are logged).
|
||||
<p>This section contains information relating to logging within icecast. There are three logfiles currently generated by icecast, an error.log (where all log messages are placed), an access.log (where all stream/admin/http requests are logged) and an optional playlist.log.
|
||||
</p>
|
||||
<p>Note that on non-win32 platforms, a HUP signal can be sent to icecast in which the log files are re-opened for appending giving the ability move/remove the log files.
|
||||
</p>
|
||||
<p>If you set any of the filenames to a simple dash (e.g. <accesslog>-</accesslog>) then Icecast will direct the log output to STDERR instead of a file.
|
||||
</p>
|
||||
<h4>accesslog</h4>
|
||||
<div class="indentedbox">
|
||||
Into this file, all requests made to the icecast2 will be logged. This file is relative to the path specified by the <logdir> config value.
|
||||
|
@ -30,9 +30,12 @@
|
||||
</ul>
|
||||
<p>Currently the following Windows platforms are supported:</p>
|
||||
<ul>
|
||||
<li>Windows NT</li>
|
||||
<li>Windows 2000</li>
|
||||
<li>Windows XP</li>
|
||||
<li>Windows Vista</li>
|
||||
<li>Windows 7</li>
|
||||
<li>Windows 8</li>
|
||||
<li>Windows Server 2003</li>
|
||||
<li>Windows Server 2008</li>
|
||||
<li>Windows Server 2012</li>
|
||||
</ul>
|
||||
<br />
|
||||
<br />
|
||||
@ -45,11 +48,6 @@
|
||||
<li>Icecast Developers mailing list <a href="http://www.xiph.org/archives">http://www.xiph.org/archives</a></li>
|
||||
<li>Icecast IRC chat room - irc.freenode.net : #icecast</li>
|
||||
</ul>
|
||||
<h3>Alternate Ways</h3>
|
||||
<ul>
|
||||
<li>team@icecast.org</li>
|
||||
</ul>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
|
@ -11,47 +11,161 @@
|
||||
<hr id='titlebar' />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<ul>
|
||||
<li><a href="#overview">Overview</a></li>
|
||||
<li><a href="#xslt">HTML interface, XSLT generated</a></li>
|
||||
<li><a href="#xslt_advanced">Advanced machine readable data, XSLT generated</a></li>
|
||||
<li><a href="#available_raw_data">Available raw data</a></li>
|
||||
</ul>
|
||||
|
||||
<a name="overview"></a>
|
||||
<h2>Overview</h2>
|
||||
<p>This section contains information about the server statistics available from icecast. An example stats XML tree will be shown and each element will be described. The following example stats tree will be used:</p>
|
||||
<p>Icecast provides extensive run time statistics. Both in the form of active connection numbers and cumulative counters (since server startup or respectively source connection startup).</p>
|
||||
<a name="xslt"></a>
|
||||
<h2>HTML interface, XSLT generated</h2>
|
||||
<p>Icecast comes with a basic, XHTML web interface. It exposes a basic set of server statistics that should fulfil basic user needs. If so desired the files in web-root can be customized to contain more or less information (see section on raw XML data below). <br/>
|
||||
We strongly discourage attempts to scrape data from this interface as we do not consider this an API and will change it, even completely, between versions. The preferred ways are custom XSLT, JSON and raw XML.</p>
|
||||
<a name="xslt_advanced"></a>
|
||||
<h2>Advanced machine readable data, XSLT generated</h2>
|
||||
<p>Icecast uses the very powerful libXSLT engine to transform its internal raw statistical data into custom tailored interfaces. Many people have written custom XSLT code that produces e.g. plain text "now playing", XSPF, VCLT, munin interface data, etc.</p>
|
||||
<p>Since version 2.4.0 Icecast includes a basic JSON API (/status-json.xsl) based on a xml2json template by Doeke Zanstra (see xml2json.xslt). It exposes a basic set of server statistics that should fulfil basic user needs. The intention is to not break backwards compatibility of this interface in the future, still we recommend to design robust software that can deal with possible changes like addition or removal of variables.</p>
|
||||
<a name="available_raw_data"></a>
|
||||
<h2>Available raw data</h2>
|
||||
<p>This section contains information about the raw XML server statistics data available inside icecast. An example stats XML tree will be shown and each element will be described. The following example stats tree will be used:</p>
|
||||
<pre>
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0"?>
|
||||
<icestats>
|
||||
<admin>icemaster@example.org</admin>
|
||||
<client_connections>13</client_connections>
|
||||
<clients>2</clients>
|
||||
<connections>14</connections>
|
||||
<source_connections>1</source_connections>
|
||||
<file_connections>1</file_connections>
|
||||
<host>stream.example.org</host>
|
||||
<listener_connections>7</listener_connections>
|
||||
<listeners>1</listeners>
|
||||
<location>Earth</location>
|
||||
<server_id>Icecast 2.4.0</server_id>
|
||||
<server_start>Tue, 01 Apr 2014 23:42:05 +0000</server_start>
|
||||
<server_start_iso8601>2014-04-01T23:42:05+0000</server_start>
|
||||
<source_client_connections>1</source_client_connections>
|
||||
<source_relay_connections>0</source_relay_connections>
|
||||
<source_total_connections>1</source_total_connections>
|
||||
<sources>1</sources>
|
||||
<stats>0</stats>
|
||||
<stats_connections>0</stats_connections>
|
||||
<source mount="/test.ogg">
|
||||
<artist></artist>
|
||||
<audio_info>ice-samplerate=32000;ice-bitrate=Quality -1;ice-channels=1</audio_info>
|
||||
<ice-bitrate>Quality -1</ice-bitrate>
|
||||
<ice-channels>1</ice-channels>
|
||||
<ice-samplerate>32000</ice-samplerate>
|
||||
<artist>Test artist</artist>
|
||||
<audio_bitrate>32000</audio_bitrate>
|
||||
<audio_channels>2</audio_channels>
|
||||
<audio_info>samplerate=32000;channels=2;quality=-1;ice-channels=1</audio_info>
|
||||
<ice-bitrate>32</ice-bitrate>
|
||||
<listener_peak>2</listener_peak>
|
||||
<listeners>0</listeners>
|
||||
<listenurl>http://stream.example.org:8000/test.ogg</listenurl>
|
||||
<max_listeners>unlimited</max_listeners>
|
||||
<public>0</public>
|
||||
<title></title>
|
||||
<type>Ogg Vorbis</type>
|
||||
<quality>-1.00</quality>
|
||||
<samplerate>32000</samplerate>
|
||||
<server_description>A stream for testing ogg/vorbis.</server_description>
|
||||
<server_name>TestStream</server_name>
|
||||
<server_type>application/ogg</server_type>
|
||||
<slow_listeners>1</slow_listeners>
|
||||
<source_ip>203.0.113.42</source_ip>
|
||||
<stream_start>Wed, 02 Apr 2014 13:37:42 +0000</stream_start>
|
||||
<stream_start_iso8601>2014-04-02T13:37:42+0000</stream_start>
|
||||
<subtype>Vorbis</subtype>
|
||||
<title>Test title</title>
|
||||
<total_bytes_read>448632</total_bytes_read>
|
||||
<total_bytes_sent>207463</total_bytes_sent>
|
||||
<user_agent>IceS 2.0.1</user_agent>
|
||||
</source>
|
||||
</icestats>
|
||||
</pre>
|
||||
<h3>General Statistics</h3>
|
||||
<h4>client-connections</h4>
|
||||
<!--
|
||||
<h4></h4>
|
||||
<div class="indentedbox">
|
||||
Client connections are basically anything that is not a source connection. These include listeners (not concurrent, but cumulative), any admin function accesses, and any static content (file serving) accesses.
|
||||
|
||||
</div>
|
||||
<h4>source-connections</h4>
|
||||
-->
|
||||
<h4>admin</h4>
|
||||
<div class="indentedbox">
|
||||
Source connections are the number of times (cumulative not currently connected) a source has connected to icecast.
|
||||
As set in the server config, this should contain contact details for getting in touch with the server administrator. Usually this will be an email address, but as this can be an arbitrary string it could also be a phone number.
|
||||
</div>
|
||||
<h4>client_connections</h4>
|
||||
<div class="indentedbox">
|
||||
Client connections are basically anything that is not a source connection. These include listeners (not concurrent, but cumulative), any admin function accesses, and any static content (file serving) accesses. This is an accumulating counter.
|
||||
</div>
|
||||
<h4>clients</h4>
|
||||
<div class="indentedbox">
|
||||
Number of currently active client connections. <!-- FIXME: be more verbose -->
|
||||
</div>
|
||||
<h4>connections</h4>
|
||||
<div class="indentedbox">
|
||||
The total of client + source connections.
|
||||
The total of all inbound TCP connections since start-up. This is an accumulating counter.
|
||||
</div>
|
||||
<h4>file_connections</h4>
|
||||
<div class="indentedbox">
|
||||
<!--FIXME-->This is an accumulating counter.
|
||||
</div>
|
||||
<h4>host</h4>
|
||||
<div class="indentedbox">
|
||||
As set in the server config, this should be the full DNS resolveable name or FQDN for the host on which this icecast instance is running.
|
||||
</div>
|
||||
<h4>listener_connections</h4>
|
||||
<div class="indentedbox">
|
||||
Number of listener connections to mount points. This is an accumulating counter.
|
||||
</div>
|
||||
<h4>listeners</h4>
|
||||
<div class="indentedbox">
|
||||
Number of currently active listener connections.
|
||||
</div>
|
||||
<h4>location</h4>
|
||||
<div class="indentedbox">
|
||||
As set in the server config, this is a free form field that should describe e.g. the physical location of this server.
|
||||
</div>
|
||||
<h4>server_id</h4>
|
||||
<div class="indentedbox">
|
||||
Defaults to the version string of the currently running Icecast server. While not recommended it can be overriden in the server config.
|
||||
</div>
|
||||
<h4>server_start_iso8601</h4>
|
||||
<div class="indentedbox">
|
||||
Timestamp of server startup in ISO 8601 date format.
|
||||
</div>
|
||||
<h4>server_start</h4>
|
||||
<div class="indentedbox">
|
||||
Timestamp of server startup in RFC 2822 date format. This field is deprecated and may be removed in a future version, please use <em>server_start_iso8601</em> instead.
|
||||
</div>
|
||||
<h4>source_client_connections</h4>
|
||||
<div class="indentedbox">
|
||||
Source client connections are the number of times (cumulative since start-up, not just currently connected) a source client has connected to icecast. This is an accumulating counter.
|
||||
</div>
|
||||
<h4>source_relay_connections</h4>
|
||||
<div class="indentedbox">
|
||||
Number of outbound relay connections to (master) icecast servers. This is an accumulating counter.
|
||||
</div>
|
||||
<h4>source_total_connections</h4>
|
||||
<div class="indentedbox">
|
||||
Both clients and relays. This is an accumulating counter.
|
||||
<!--FIXME-->
|
||||
</div>
|
||||
<h4>sources</h4>
|
||||
<div class="indentedbox">
|
||||
The total of currently connected sources (mountpoints).
|
||||
The total of currently connected sources.
|
||||
</div>
|
||||
<h4>stats</h4>
|
||||
<div class="indentedbox">
|
||||
The total of currently connected STATS clients.
|
||||
</div>
|
||||
<h4>stats_connections</h4>
|
||||
<div class="indentedbox">
|
||||
Number of times a stats client has connected to icecast. This is an accumulating counter.
|
||||
</div>
|
||||
|
||||
|
||||
<h3>Source-specific Statistics</h3>
|
||||
<p>Please note that the statistics are valid within the scope of the current source connection. A reconnect or disconnection will reset those.
|
||||
</p>
|
||||
<h4>artist</h4>
|
||||
<div class="indentedbox">
|
||||
Artist of the current song (metadata set by source client).
|
||||
@ -60,30 +174,98 @@ Artist of the current song (metadata set by source client).
|
||||
<div class="indentedbox">
|
||||
Title of the current song (metadata set by source client).
|
||||
</div>
|
||||
<h4>audio_bitrate</h4>
|
||||
<div class="indentedbox">
|
||||
<!--FIXME-->(metadata set by source client).
|
||||
</div>
|
||||
<h4>audio_channels</h4>
|
||||
<div class="indentedbox">
|
||||
<!--FIXME-->(metadata set by source client).
|
||||
</div>
|
||||
<h4>audio-info</h4>
|
||||
<div class="indentedbox">
|
||||
Information about the bitrate/samplerate/quality of the stream (set by source client). Also used for YP entries.
|
||||
Information about the bitrate/samplerate/quality of the stream (metadata set by source client). Also used for YP entries.
|
||||
</div>
|
||||
<h4>ice-bitrate</h4>
|
||||
<h4>ice-samplerate</h4>
|
||||
<h4>ice-channels</h4>
|
||||
<h4>samplerate</h4>
|
||||
<div class="indentedbox">
|
||||
Information about the bitrate/samplerate/quality of the stream (set by source client).
|
||||
Information about the bitrate/samplerate/quality of the stream (metadata set by source client).
|
||||
</div>
|
||||
<h4>listener_peak</h4>
|
||||
<div class="indentedbox">
|
||||
Peak concurrent number of listener connections for this mountpoint.
|
||||
</div>
|
||||
<h4>listeners</h4>
|
||||
<div class="indentedbox">
|
||||
The number of currently connected listeners.
|
||||
</div>
|
||||
<h4>listenurl</h4>
|
||||
<div class="indentedbox">
|
||||
URL to this mountpoint. (This is not aware of aliases)
|
||||
</div>
|
||||
<h4>max_listeners</h4>
|
||||
<div class="indentedbox">
|
||||
Maximum number of listeners permitted to concurrently connect to this mountpoint.
|
||||
</div>
|
||||
<h4>public</h4>
|
||||
<div class="indentedbox">
|
||||
Flag that indicates whether this mount is being listed on a YP (sey by source client).
|
||||
Flag that indicates whether this mount is to be listed on a YP (set by source client, can be overriden by server config).
|
||||
</div>
|
||||
<h4>type</h4>
|
||||
<h4>quality</h4>
|
||||
<div class="indentedbox">
|
||||
Media type of the stream.
|
||||
<!--FIXME-->(metadata set by source client).
|
||||
</div>
|
||||
<h4>samplerate</h4>
|
||||
<div class="indentedbox">
|
||||
<!--FIXME-->(metadata set by source client).
|
||||
</div>
|
||||
<h4>server_description</h4>
|
||||
<div class="indentedbox">
|
||||
<!--FIXME-->(metadata set by source client).
|
||||
</div>
|
||||
<h4>server_name</h4>
|
||||
<div class="indentedbox">
|
||||
<!--FIXME-->(metadata set by source client).
|
||||
</div>
|
||||
<h4>server_type</h4>
|
||||
<div class="indentedbox">
|
||||
MIME-type for the stream currently active on this mountpoint.
|
||||
</div>
|
||||
<h4>slow_listeners</h4>
|
||||
<div class="indentedbox">
|
||||
<!--FIXME-->
|
||||
</div>
|
||||
<h4>source_ip</h4>
|
||||
<div class="indentedbox">
|
||||
IP address of the currently connected source client. In case of relays the content of <server>.
|
||||
</div>
|
||||
<h4>stream_start_iso8601</h4>
|
||||
<div class="indentedbox">
|
||||
Timestamp of when the currently active source client connected to this mount point in ISO 8601 date format.
|
||||
</div>
|
||||
<h4>stream_start</h4>
|
||||
<div class="indentedbox">
|
||||
Timestamp of when the currently active source client connected to this mount point in RFC 2822 date format. This field is deprecated and may be removed in a future version, please use <em>stream_start_iso8601</em> instead.
|
||||
</div>
|
||||
<h4>subtype</h4>
|
||||
<div class="indentedbox">
|
||||
MIME-subtype, can be e.g. codecs like Opus, Vorbis, Theora.
|
||||
</div>
|
||||
<h4>total_bytes_read</h4>
|
||||
<div class="indentedbox">
|
||||
Total number of bytes received from the source client.
|
||||
</div>
|
||||
<h4>total_bytes_sent</h4>
|
||||
<div class="indentedbox">
|
||||
Total number of bytes sent to all listener connections since last source connect.
|
||||
</div>
|
||||
<h4>user_agent</h4>
|
||||
<div class="indentedbox">
|
||||
HTTP user agent string as sent by the source client.
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
Additional data can be accessed through the admin interface, as every page of the admin interface has an XML equivalent.
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
|
@ -10,13 +10,14 @@
|
||||
<h1>Icecast 2 - Win32 Specific Documentation</h1>
|
||||
<hr id='titlebar' />
|
||||
<p>
|
||||
The win32 port of icecast2 is simply a UI framework around the core icecast2 server. The win32 version of icecast2 directly uses the main executable of icecast (statically included) and simply provides a GUI interface to icecast2.
|
||||
The win32 port of icecast2 is a simple command line application, it used to be a UI framework around the core icecast2 server.
|
||||
</p>
|
||||
<p>
|
||||
Most of the features of icecast2 are available in the win32 port. <br />
|
||||
A notable absence is IPv6 support.
|
||||
<strong>A notable absence is IPv6 support.</strong>
|
||||
</p>
|
||||
<h2>Server Status Tab</h2>
|
||||
<p>If there is sufficient user interest we may reintroduce the Icecast GUI and capability to start Icecast as a Windows Service.</p>
|
||||
<!-- <h2>Server Status Tab</h2>
|
||||
<p>
|
||||
The server status tab contains information regarding statistics that are global to the server. There are two types of statistics in icecast2: source level and global statistics. Global statistics are cumulative stats from all sources offered by the server. Source level statistics are stats which apply only to a single source attached to the server.
|
||||
</p>
|
||||
@ -55,7 +56,7 @@ Editing the icecast2 configuration file is a very simple process. For a descrip
|
||||
The stats tab contains a view of all the connected mountpoints and the statistics that go along with them. Each connected mountpoint is displayed in the left pane of the window, and all stats for the selected mountpoint are displayed in the right pane of the window.
|
||||
</p>
|
||||
<img src="stats1.jpg" alt="Screenshot of Icecast Windows GUI - Stats Tab" />
|
||||
|
||||
-->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<br />
|
||||
<br />
|
||||
<h2>Overview</h2>
|
||||
<p>A YP (Yellow Pages) directory is a listing of broadcast streams. Icecast2 has it own YP directory located at http://dir.xiph.org. Currently icecast2 can only be listed in an icecast2-supported YP directory. This means that you cannot list your stream in the Shoutcast YP directory.</p>
|
||||
<p>A YP (Yellow Pages) directory is a listing of broadcast streams. Icecast2 has it own YP directory located at <a href="http://dir.xiph.org">http://dir.xiph.org</a>. Currently icecast2 can only be listed in an icecast2-supported YP directory. This means that you cannot list your stream in the Shoutcast YP directory.</p>
|
||||
<p>In the icecast2 configuration file are all the currently available YP directory servers. Listing your stream in a YP is a combination of settings in the icecast configuration file and also in your source client.</p>
|
||||
<br />
|
||||
<br />
|
||||
@ -32,7 +32,8 @@
|
||||
<br />
|
||||
<br />
|
||||
<h2>Configuring Your Source Client for YP Support</h2>
|
||||
<p>This is usually covered in the source client documentation. More specifically, the source client needs to provide the HTTP header ice-public:1 on connect in order to enable YP listing of the stream.</p>
|
||||
<p>This is usually covered in the source client documentation. More specifically, the source client needs to provide the HTTP header ice-public:1 on connect in order to enable YP listing of the stream.<br />
|
||||
This can however be overridden in mount point settings, refer to the config file documentation for further details.</p>
|
||||
<p>If a mountpoint is being listed on a YP, then you will see some additional statistics relating to the YP such as last-touch, currently-playing, etc.</p>
|
||||
<br />
|
||||
<br />
|
||||
|
@ -18,7 +18,7 @@
|
||||
<li><a href="icecast2_stats.html">Server Statistics</a></li>
|
||||
<li><a href="icecast2_relay.html">Relaying</a></li>
|
||||
<li><a href="icecast2_yp.html">Listing in a YP directory</a></li>
|
||||
<li><a href="icecast2_listenerauth.html">Listener Authentication</a></li>
|
||||
<li><a href="icecast2_auth.html">Authentication</a></li>
|
||||
<li><a href="icecast2_win32.html">Win32 specific documentation</a></li>
|
||||
<li><a href="icecast2_glossary.html">Glossary</a></li>
|
||||
<li><a href="icecast2_faq.html">FAQ</a></li>
|
||||
@ -45,20 +45,8 @@ icecast requires the following packages :
|
||||
* libxml2 - http://xmlsoft.org/downloads.html
|
||||
* libxslt - http://xmlsoft.org/XSLT/downloads.html
|
||||
* curl - http://curl.haxx.se/download.html (>= version 7.10 required)
|
||||
NOTE: icecast may be compiled without curl, however this will
|
||||
disable all Directory server interaction (YP).
|
||||
* ogg/vorbis - http://www.vorbis.com/files (>= version 1.0 required)
|
||||
|
||||
A Note About RPMS
|
||||
---------------------------------------------------------------------
|
||||
This section only applies to you if your operating system uses RPMS.
|
||||
|
||||
In order to build icecast, you will need to install the "devel" RPM
|
||||
packages for each of the prerequisite packages in addition to the
|
||||
normal RPMS for each package.
|
||||
|
||||
please check the websites for each of the prerequisite packages for
|
||||
appropriate download links for RPMS.
|
||||
* openssl - optional, enable if SSL support is desired
|
||||
|
||||
|
||||
Build/Install
|
||||
@ -78,8 +66,8 @@ the current working directory (on Win32) and is called icecast.xml
|
||||
Documentation for icecast is available in the doc directory, by
|
||||
viewing doc/index.html in a browser.
|
||||
|
||||
Please email us at icecast@xiph.org or icecast-dev@xiph.org, or come and see
|
||||
us at irc.freenode.net, channel #icecast, if you have any troubles.
|
||||
Please email us at icecast@xiph.org, or come and see us
|
||||
at irc.freenode.net, channel #icecast, if you have any troubles.
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>Icecast v2.x Documentation Win32</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="boxtest">
|
||||
<h1>Icecast 2 - Win32 Specific Documentation</h1>
|
||||
<hr id='titlebar' />
|
||||
<p>
|
||||
The win32 port of icecast2 is simply a UI framework around the core icecast2 server. The win32 version of icecast2 uses directly the main executable of icecast (statically included) and simply provides a nicer, friendlier interface to icecast2.
|
||||
</p>
|
||||
<p>
|
||||
Most of the features of icecast2 are available in the win32 port. <br />
|
||||
A notable absence is IPv6 support.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
doc/stats1.jpg
BIN
doc/stats1.jpg
Binary file not shown.
Before Width: | Height: | Size: 67 KiB |
@ -1,38 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>Icecast v2.x Documentation</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="boxtest">
|
||||
<h1>Server Status Tab</h1>
|
||||
<hr id='titlebar' />
|
||||
<h3>Overview</h3>
|
||||
<p>
|
||||
The server status tab contains information regarding statistics that are global to the server. There are two types of statistics in icecast2, source level and global statistics. Global statistics are those that are accumilations of stats from all sources offered by the server. Source level statistics are stats which apply only to a single source attached to the server.
|
||||
</p>
|
||||
<p>
|
||||
Examples of global statistics are :
|
||||
</p>
|
||||
<pre>
|
||||
The number of current sources connected
|
||||
The number of sources that have attempted connections
|
||||
Total number of attempted connections to the server
|
||||
</pre>
|
||||
<p>
|
||||
The Server Status tab contains at a minimal the global stats for the server. Additionally, you may add source specific stats to this tab. The intent is to provide a single "dashboard view" of what's going on in the server. To add source statistics to the Server Status tab, see the section on the <a href="win32_section3.html">Stats</a> tab.
|
||||
</p>
|
||||
<h3>Adding stats to the window title</h3>
|
||||
<p>
|
||||
Any stat that is contained on the Server Status tab can be displayed as the icecast2 window title. This provides yet another mechanism by which you can view activities on the server. To enable this feature, right click on any stat in the Server Status tab as seen below :
|
||||
</p>
|
||||
<img src="windowtitle.jpg" />
|
||||
<h3>Removing source level stats from the Server Status Tab</h3>
|
||||
<p>
|
||||
To remove a source level stat that you have inserted onto the Server Status Tab, simple right click that statistic and select "Delete from Global Stats". The stat will be deleted from the Server Status tab, but will still remain on the source level Stats tab.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>Icecast v2.x Documentation</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="boxtest">
|
||||
<h1>Editing A Config File</h1>
|
||||
<hr id='titlebar' />
|
||||
<p>
|
||||
Editing the icecast2 configuration file is a very simple process. For a description of what each field means, see the main icecast documenation. Changes to the icecast2 configuration can only be done while the server is stopped. To edit the current server configuration file, select "Configuration/Edit Configuration" from the main menu.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>Icecast v2.x Documentation</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="boxtest">
|
||||
<h1>Stats Tab</h1>
|
||||
<hr id='titlebar' />
|
||||
<p>
|
||||
Explanation of the stats tab here
|
||||
</p>
|
||||
<img src="stats1.jpg" /><br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 65 KiB |
Loading…
x
Reference in New Issue
Block a user