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

Drop the custom XSLT status stylesheet for Icecast

parent d8858609
No related branches found
No related tags found
1 merge request!1v2.0
...@@ -12,11 +12,6 @@ override_dh_auto_install: ...@@ -12,11 +12,6 @@ override_dh_auto_install:
dh_auto_install dh_auto_install
$(RM) -rv $(DESTDIR)/usr/share/gocode $(RM) -rv $(DESTDIR)/usr/share/gocode
# Icecast2 status XSL template.
install -d -m 755 -o root -g root $(DESTDIR)/usr/share/icecast2/web
install -m 644 -o root -g root $(CURDIR)/debian/status.xsl \
$(DESTDIR)/usr/share/icecast2/web/status-autoradio.xsl
override_dh_installinit: override_dh_installinit:
dh_installinit --name=autoradio dh_installinit --name=autoradio
......
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"></xsl:output>
<xsl:template match="/icestats">
<status>
<xsl:for-each select="source">
<mount>
<xsl:attribute name="name"><xsl:value-of select="@mount"></xsl:value-of></xsl:attribute>
<listeners><xsl:value-of select="listeners"></xsl:value-of></listeners>
<bitrate><xsl:value-of select="bitrate"></xsl:value-of></bitrate>
<quality><xsl:value-of select="quality"></xsl:value-of></quality>
<video-quality><xsl:value-of select="video_quality"></xsl:value-of></video-quality>
<frame-size><xsl:value-of select="frame_size"></xsl:value-of></frame-size>
<frame-rate><xsl:value-of select="frame_rate"></xsl:value-of></frame-rate>
</mount>
</xsl:for-each>
</status>
</xsl:template>
</xsl:stylesheet>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment