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 

Newbie - Displaying current song info on website

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





PostPosted: Sat Feb 09, 2008 3:49 pm    Post subject: Newbie - Displaying current song info on website Reply with quote

Hey guys,

Sorry if this has been asked before, but i couldnt find the information. I am trying to display information my website about the icecast stream, like the name of the song that is being played.

Can you tell me the easiest way to do this on a linux box?

Regards,

James
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Feb 09, 2008 6:04 pm    Post subject: Reply with quote

we provide the song information via the xsl pages or via the playlist log. How you get that information to a web page is up to you. Some use a background process to get the name or you could embed an icecast xsl link in your own web page.

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





PostPosted: Sat Feb 09, 2008 7:29 pm    Post subject: Reply with quote

Hi Karl,

Thanks for the reply. I'm very new to this so unfortunately most of what you said doesn't make much sense to me. Are you able to provide a link to a site that explains my options in an idiot proof way?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 10, 2008 1:45 am    Post subject: Reply with quote

There's no such thing as idiot proof. You asked a very general question so I can only give you examples of the sort of thing a web developer could use. You can either use something like php to extract the information for producing a web page or use something to make the browser to retrieve the details. These are the sorts of decisions a web developer needs to make, I cannot make them for you.

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





PostPosted: Sun Feb 10, 2008 12:27 pm    Post subject: Reply with quote

Ok, are there any php example scripts to receive the current song from icecast?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 10, 2008 5:15 pm    Post subject: Reply with quote

I don't have any, although other may do. In any case, trying to parse the html is complicated, why not make a cut down version like status2.xsl and parse that. That way you'd would have 1 stream per line so your php would be much easier to read.

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