Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoradio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
autoradio
Commits
08c00bb4
Commit
08c00bb4
authored
11 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
update the icecast status xslt template
parent
18fe4211
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/radioai.xsl
+18
-18
18 additions, 18 deletions
debian/radioai.xsl
debian/rules
+1
-1
1 addition, 1 deletion
debian/rules
with
19 additions
and
19 deletions
debian/radioai.xsl
+
18
−
18
View file @
08c00bb4
<xsl:stylesheet
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
version
=
"1.0"
>
<xsl:template
match =
"/icestats"
>
<config
>
<xsl:for-each
select=
"source"
>
<mount>
<
title
><xsl:value-of
select=
"@mount"
/></titl
e>
<name
><xsl:value-of
select=
"
name"
/></name
>
<listeners
><xsl:value-of
select=
"
listeners"
/></listeners
>
<bitrate
><xsl:value-of
select=
"
bitrate"
/></bitrate
>
<url
><xsl:value-of
select=
"
url"
/></url
>
</mount
>
</xsl:for-each
>
</config
>
</xsl:template>
<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:attribut
e>
<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>
This diff is collapsed.
Click to expand it.
debian/rules
+
1
−
1
View file @
08c00bb4
...
...
@@ -66,4 +66,4 @@ override_dh_install:
# 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/radioai.xsl
\
$(DESTDIR)/usr/share/icecast2/web/radioai.xsl
$(DESTDIR)/usr/share/icecast2/web/
status-
radioai.xsl
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment