| View previous topic :: View next topic |
| Author |
Message |
Liquid_Squelch
Joined: 11 Mar 2006 Posts: 56
|
Posted: Mon May 22, 2006 3:24 am Post subject: Show only 1 stream in stats.xsl |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon May 22, 2006 2:07 pm Post subject: |
|
|
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 |
|
 |
Liquid_Squelch
Joined: 11 Mar 2006 Posts: 56
|
Posted: Sun Jun 25, 2006 4:23 am Post subject: Confused |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Jun 25, 2006 12:05 pm Post subject: |
|
|
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 |
|
 |
|