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 

nowplaying xsl Minicaster

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



Joined: 15 Sep 2011
Posts: 3

PostPosted: Thu Sep 22, 2011 12:41 am    Post subject: nowplaying xsl Minicaster Reply with quote

Hi Guys

This is my first post and I am very new to Icecast PLEASE I need help desperately. I have a icecast server setup.

Audio is captured via Sam cast and sent to Icecast server via mp3.

Playout test is done via Winamps and Minicaster

The problem I have is that, nowplaying - artist and track is displayed on winamps but not in minicaster.

I have done all required by minicaster documentation, all file is on same server so no cross domain issue.

Minicaster see the nowplaying.xsl but just will not display the info

nb - Icecast is intalled on windows 2008 server and version 2.3.2

Thanks in advance

Oduco
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: Thu Sep 22, 2011 1:34 am    Post subject: Reply with quote

If you see successful requests for the nowplaying.xsl file in the icecast access log then it sounds like all the information is there. If you can confirm that then the issue is relating to minicaster itself.

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



Joined: 15 Sep 2011
Posts: 3

PostPosted: Thu Sep 22, 2011 1:44 am    Post subject: Reply with quote

karlH wrote:
If you see successful requests for the nowplaying.xsl file in the icecast access log then it sounds like all the information is there. If you can confirm that then the issue is relating to minicaster itself.

karl.


Thanks Karl

I see on tha access log the nowplaying is going out to winamps, but nothing going to the nowplaying.xsl for minicaster.

Here is the miniscaster's nowplaying.xsl code, I do not know if I need to change anything on there

"<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" ><xsl:output omit-xml-declaration="yes" method="text" encoding="UTF-8" />
<xsl:template match = "/icestats" >:ICECAST2_NOWPLAYING
:Mount|Name|currList|peakList|maxList|Title|bitrate-quality|samplerate
<xsl:for-each select="source">
<xsl:if test="@mount='/streamnig'">
<xsl:value-of select="@mount" />|<xsl:value-of select="server_name" />|<xsl:value-of select="listeners" />|<xsl:value-of select="listener_peak" />|<xsl:value-of select="max_listeners" />|<xsl:value-of select="title" />|<xsl:if test="bitrate"><xsl:value-of select="bitrate" /></xsl:if><xsl:if test="quality">-<xsl:value-of select="quality" /></xsl:if>|<xsl:value-of select="samplerate" />
</xsl:if></xsl:for-each>
</xsl:template>
</xsl:stylesheet>"


Any expert on this .xls please feel free to advice

Thanks again

Oduco
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: Thu Sep 22, 2011 1:00 pm    Post subject: Reply with quote

Not sure what you mean there. You should see requests from minicaster for the xsl page so that the track details can to looked at.

From the xsl, it looks like it assumes the mountpoint is named /streaming. Again we have no information to confirm that, may be that is the problem, try requesting it yourself from the browser http://ip:port/nowplaying.xsl

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



Joined: 15 Sep 2011
Posts: 3

PostPosted: Thu Sep 22, 2011 1:34 pm    Post subject: Reply with quote

karlH wrote:
Not sure what you mean there. You should see requests from minicaster for the xsl page so that the track details can to looked at.

From the xsl, it looks like it assumes the mountpoint is named /streaming. Again we have no information to confirm that, may be that is the problem, try requesting it yourself from the browser http://ip:port/nowplaying.xsl

karl.

Yes the mount point is called (streamnig), and when I request it from my browser this is what i get

":ICECAST2_NOWPLAYING
:Mount|Name|currList|peakList|maxList|Title|bitrate-quality|samplerate "

The funny thing is on Winamps its working okon the playback and showws nowplayin artist and track.

looks like the nowplaying scrip is not pulling the info

Also I tried requesting status2.xls aswell on browser and got this

"<pre>
MountPoint,Connections,Stream Name,Current Listeners,Description,Currently Playing,Stream URL
Global,Client:10122 Source: ,,2,,
</pre>"

is it that .xsl file on my system is not working or running the xls scripts?

Thanks again for your help
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 23, 2011 2:44 pm    Post subject: Reply with quote

is that a typo in the xsl file? it looks like you are looking for a mountpoint named /streamnig not /streaming

Actually it is not surprising that non-flash players work already, as they request the metadata in the stream, flash is broken which is why metadata inserts are requested separately, wasting resources in the process.

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