Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Show only 1 stream in stats.xsl

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Liquid_Squelch



Joined: 11 Mar 2006
Posts: 56

PostPosted: Mon May 22, 2006 3:24 am    Post subject: Show only 1 stream in stats.xsl Reply with quote

Hi,

I'm trying to figure out a way to only show one stream per stats.xsl page.
I don't want to use the flag that turns off the stream from displaying, because I'd like to see it on its own stats page. I just don't want to see it with my other streams.

is there any way to hack the stats.xsl page to do that? I see it calls @mount a few times, but when I try and replace @mount with my stream name, it doesn't do anything, and my other two streams are still displaying.

The reason I would like to do this, is I have updates stats on my website, but they don't work when there is more than one mount on the stats.xsl page.
If I split each stream into its own stats page, I will be up and running again.

Thanks!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon May 22, 2006 2:07 pm    Post subject: Reply with quote

for 2.3.1, adminroot only allows for very specific xsl pages of which stats.xsl is one, does it need to be adminroot pages, won't webroot xsl stats be enough?. Only my branch work (karl.mediacast1.com kh5c is latest) will allow your own xsl pages in adminroot.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Liquid_Squelch



Joined: 11 Mar 2006
Posts: 56

PostPosted: Sun Jun 25, 2006 4:23 am    Post subject: Confused Reply with quote

Sorry Karl,

You confused me, or maybe I confused you.

I'm just looking for an easy way to only pull one mount point, and be able to parse the stats on that mount.

Basically, what my problem is, I have a php script that pulls the stats from the Admin dir (the only place you can get raw stats.xml)

I want, for example, an xml file per mount..
So I can have mount1.xml with only data from mount 1.
Mount2.xml / xsl would have only data from mount point 2.

Is this possible, or is this what you've answered.

Thanks!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jun 25, 2006 12:05 pm    Post subject: Reply with quote

You can't have that currently, when the xml file is generated no filtering is done so you get all of them. I suppose it's possible to add to a future version something like &mount=/stream.ogg to allow more selection. I don't believe anyone has requested that on bugs.xiph.org.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber