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 

kh29 xml only admin

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



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Thu Sep 01, 2011 3:33 pm    Post subject: kh29 xml only admin Reply with quote

Well I have never seen this problem before although I am new to using branches. The Icecast Status page displays fine. However logging into the admin area in a browser seems to only print xml, no real page. I have attached the details below. Can somebody assist me with this? Thanks!

This XML file does not appear to have any style information associated with it. The document tree is shown below.


<icestats>
<admin>icemaster@localhost</admin>
<banned_IPs>0</banned_IPs>
<client_connections>149</client_connections>
<clients>2</clients>
<connections>234</connections>
<file_connections>21</file_connections>
<host>media.rockhost.com</host>
<listener_connections>12</listener_connections>
<listeners>0</listeners>
<location>Earth</location>
<outgoing_kbitrate>0</outgoing_kbitrate>
<server_id>Icecast 2.3.2-kh29</server_id>
<server_start>Thu, 01 Sep 2011 09:44:08 -0500</server_start>
<source_client_connections>1</source_client_connections>
<source_relay_connections>0</source_relay_connections>
<source_total_connections>1</source_total_connections>
<sources>1</sources>
<stats>0</stats>
<stats_connections>0</stats_connections>
<stream_kbytes_read>76800</stream_kbytes_read>
<stream_kbytes_sent>11102</stream_kbytes_sent>

<source mount="/autodj">
<audio_codecid>2</audio_codecid>
<audio_info>bitrate=128</audio_info>
<bitrate>128</bitrate>
<connected>2458</connected>
<genre>Jazz</genre>
<incoming_bitrate>256384</incoming_bitrate>
<listener_connections>12</listener_connections>
<listener_peak>1</listener_peak>
<listeners>0</listeners>
<listenurl>http://media.rockhost.com:8060/autodj</listenurl>
<max_listeners>-1</max_listeners>
<metadata_updated>Thu, 01 Sep 2011 10:24:50 -0500</metadata_updated>
<outgoing_kbitrate>0</outgoing_kbitrate>
<public>0</public>
<server_description>Regent Club Radio</server_description>
<server_name>Regent Club Radio</server_name>
<server_type>audio/mpeg</server_type>
<server_url>http://www.regentclub.com.mk/</server_url>
<slow_listeners>0</slow_listeners>
<source_ip>184.154.145.114</source_ip>
<stream_start>Thu, 01 Sep 2011 09:44:09 -0500</stream_start>

<title>
Various Artists - Delbert McClinton - Blues as blues can get
</title>
<total_bytes_read>78644586</total_bytes_read>
<total_bytes_sent>11368448</total_bytes_sent>
<total_mbytes_sent>10</total_mbytes_sent>
<user_agent>ices/0.4.1 libshout/2.2.2</user_agent>
</source>

<source mount="/live">
<listeners>0</listeners>
<listenurl>http://media.rockhost.com:8060/live</listenurl>
<max_listeners>unlimited</max_listeners>
</source>

<source mount="/stream">
<listeners>0</listeners>
<listenurl>http://media.rockhost.com:8060/stream</listenurl>
<max_listeners>unlimited</max_listeners>
</source>
</icestats>
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM - "Be Heard"]
Back to top
View user's profile Send private message MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 02, 2011 11:52 am    Post subject: Reply with quote

I suspect this is because you are using the shortcut of http://.../admin/ which was internally aliased to /admin/stats.xsl. When I looked at providing support for your own admin xsl pages that alias disappeared so you would get a the xml content. o one seemed concerned about the old link.

You can either put in the correct address ../admin/stats.xsl or the one on the supplied pages /admin.html or you can add an alias of
<alias source="/admin/" dest=/admin/stats.xsl" />

karl.


Last edited by karlH on Fri Sep 02, 2011 5:47 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 02, 2011 1:48 pm    Post subject: Reply with quote

Hmm...I have never seen that before. I haven't done anything different accept use the branch. Could that be related? Adding stats.xsl to the end of the url seems to have solved the problem.

Thanks!
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM - "Be Heard"]
Back to top
View user's profile Send private message MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 02, 2011 5:52 pm    Post subject: Reply with quote

I suspect it's because you are using the 2.3.2 pages with the kh tree and that is exposing the issue as I think that just uses the /admin/ link to get into the admistration area.

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



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Fri Sep 02, 2011 7:49 pm    Post subject: Reply with quote

Interesting. Yes that could be the case. We are using the branch on one of our Centova Cast servers.
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM - "Be Heard"]
Back to top
View user's profile Send private message MSN Messenger
rockhost



Joined: 24 Jul 2007
Posts: 54
Location: Lawrence, KS

PostPosted: Wed Nov 02, 2011 6:50 pm    Post subject: Reply with quote

So to follow up here, the difference between the KH Branch 29 and v2.3.2. is that the configuration file references "stats.xsl" instead of "status.xsl." Is that correct?

I guess I may need to update my Icecast skeleton folder to match the branch instead of the stable release.

Are there other small changes I should look for?

Thanks!
_________________
Seth Cole (Google+) (@rockhost)
[ROCKHOST.COM - "Be Heard"]
Back to top
View user's profile Send private message MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Nov 02, 2011 7:53 pm    Post subject: Reply with quote

From a web page aspect. The files are completely interchangeable except that the 2.3.2 page assumes that the /admin/ link will get /admin/stats.xsl which the kh tree does not assume. you can either fix the stats.xsl or add an alais to the icecast xml for /admin/ to /admin/stats.xsl

There is still a webroot and an adminroot, status.xsl belongs in the former while stats.xsl resides in the latter.

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 -> Dev Branches 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