Skip to content
Snippets Groups Projects
Commit 08c00bb4 authored by ale's avatar ale
Browse files

update the icecast status xslt template

parent 18fe4211
Branches
Tags
No related merge requests found
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" > <xsl:stylesheet version="1.0"
<xsl:template match = "/icestats" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"></xsl:output>
<config> <xsl:template match="/icestats">
<status>
<xsl:for-each select="source"> <xsl:for-each select="source">
<mount> <mount>
<title><xsl:value-of select="@mount" /></title> <xsl:attribute name="name"><xsl:value-of select="@mount"></xsl:value-of></xsl:attribute>
<name><xsl:value-of select="name" /></name> <listeners><xsl:value-of select="listeners"></xsl:value-of></listeners>
<listeners><xsl:value-of select="listeners" /></listeners> <bitrate><xsl:value-of select="bitrate"></xsl:value-of></bitrate>
<bitrate><xsl:value-of select="bitrate" /></bitrate> <quality><xsl:value-of select="quality"></xsl:value-of></quality>
<url><xsl:value-of select="url" /></url> <video-quality><xsl:value-of select="video_quality"></xsl:value-of></video-quality>
</mount> <frame-size><xsl:value-of select="frame_size"></xsl:value-of></frame-size>
</xsl:for-each> <frame-rate><xsl:value-of select="frame_rate"></xsl:value-of></frame-rate>
</mount>
</config> </xsl:for-each>
</status>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
...@@ -66,4 +66,4 @@ override_dh_install: ...@@ -66,4 +66,4 @@ override_dh_install:
# Icecast2 status XSL template. # Icecast2 status XSL template.
install -d -m 755 -o root -g root $(DESTDIR)/usr/share/icecast2/web install -d -m 755 -o root -g root $(DESTDIR)/usr/share/icecast2/web
install -m 644 -o root -g root $(CURDIR)/debian/radioai.xsl \ install -m 644 -o root -g root $(CURDIR)/debian/radioai.xsl \
$(DESTDIR)/usr/share/icecast2/web/radioai.xsl $(DESTDIR)/usr/share/icecast2/web/status-radioai.xsl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment