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 

How do I not show the number of listeners connected?

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



Joined: 08 Oct 2009
Posts: 12

PostPosted: Fri Oct 09, 2009 6:00 am    Post subject: How do I not show the number of listeners connected? Reply with quote

How do I not show the number of listeners listening to the radio at the moment and the peak of listeners on the "Icecast2 Status"? Rolling Eyes

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


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 09, 2009 11:36 am    Post subject: Reply with quote

The xsl file is a template, just remove the block referring to the display of the listeners stat.

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



Joined: 08 Oct 2009
Posts: 12

PostPosted: Sun Oct 11, 2009 4:09 am    Post subject: Reply with quote

Sorry for my English, I'm Brazilian. I understand little of this, because I'm not the owner of the server, so I have a radio through the CentovaCast.

How can I guide my streaming provider to perform this kind of change? I believe that I even can not do these procedures, so how can I get more detailed information about which file should I change and how I access it?
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 Oct 11, 2009 12:55 pm    Post subject: Reply with quote

the status.xsl page in webroot is what is used to given you the details of the streams you have. That xsl page is a template, by removing the listener stats from that xsl you'll be able to prevent the display of the listener count. The code for this is

Quote:

<xsl:if test="listeners">
<tr><td>Current Listeners:</td><td class="streamdata"> <xsl:value-of select="listeners" /></td></tr>
</xsl:if>


Not difficult to achieve, but whether you are allowed to do this will depend on your provider.

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



Joined: 11 Oct 2009
Posts: 10

PostPosted: Wed Oct 14, 2009 5:00 am    Post subject: Reply with quote

I am creating a script to show the current number of listeners on my site, how would I do that, meaning get the information form the page?
Or create a page that is accessable by visiting a link like

192.168.0.14:8998/listen.xml

and that file would have the information I need.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Oct 14, 2009 7:18 pm    Post subject: Reply with quote

That is just the opposite of what was asked originally. If you are only interested in the listeners stats then have the xsl page only refer to that. The xsl page can be as simple or complicated as you want, but obviously if you want to read that into a program then you would make it as easy to parse as possible. Take a look at the status2.xsl as an example.

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



Joined: 08 Oct 2009
Posts: 12

PostPosted: Fri Oct 16, 2009 9:02 am    Post subject: Reply with quote

Should I see after the hearing through the Administration section? (example: http://myipfromserver:8000/admin)

I can also not show any page or leave it blank?


Last edited by vinhetariaecia on Fri Oct 16, 2009 2:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 16, 2009 1:36 pm    Post subject: Reply with quote

these are for pages in webroot, just like status.xsl, not adminroot.

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



Joined: 08 Oct 2009
Posts: 12

PostPosted: Sun Oct 18, 2009 1:20 am    Post subject: Reply with quote

I can also not show any page or leave it blank?
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 Oct 18, 2009 3:27 am    Post subject: Reply with quote

The exact layout of the pages in webroot is completely up to you. We just provide a simple set of xsl pages to show how you can get the information about the streams. icecast has no problem with you having no xsl pages.

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



Joined: 08 Oct 2009
Posts: 12

PostPosted: Sun Oct 18, 2009 4:32 am    Post subject: Reply with quote

I delete the page or not, I can keep track of information (which are not visible to others), under the Administration? (number of listeners, peak and other data)
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 Oct 18, 2009 1:46 pm    Post subject: Reply with quote

of course, adminroot translations are separate from webroot ones, the only time webroot is referenced is when the admin page has a link to a non-admin item like css or an image.

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