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 

pull track infomation from icecast stream?

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



Joined: 24 May 2010
Posts: 14

PostPosted: Mon May 24, 2010 10:26 am    Post subject: pull track infomation from icecast stream? Reply with quote

Hi guys,

i'm trying to setup a radio station website for my cast.

i've managed to setup Wimpy player to play the cast but i can't work out how to pull cast infomation so that i can display the latest song on my website.

preferably using PHP and javascript but i don't know any javascript but i am adept in PHP and just lookin for some pointers or even better some actual code.

thanks in advance
Back to top
View user's profile Send private message
m3gab0y



Joined: 15 Aug 2009
Posts: 47
Location: London, UK

PostPosted: Tue May 25, 2010 8:02 pm    Post subject: Reply with quote

You can make an xml file that displays only the song name and put it in the "web" directory inside the icecast directory (folder). And you can use an fget() variable function on PHP to "pull out" the data and put it in your site. But please, clearify what's your exact idea, so I can set up a simple code for it. Tell me the folowing:

* Do you have more than one mountpount on the server?
* Do you have access to the server and the config files?
* Do you have access to php-capable hosting?
* Do you have access to cronjobs via your host?
* Do you have ANY knowledge in embedding code to your page(s)?
Back to top
View user's profile Send private message
hoolahoops



Joined: 24 May 2010
Posts: 14

PostPosted: Tue May 25, 2010 9:14 pm    Post subject: Reply with quote

Quote:
* Do you have more than one mountpount on the server?
* Do you have access to the server and the config files?
* Do you have access to php-capable hosting?
* Do you have access to cronjobs via your host?
* Do you have ANY knowledge in embedding code to your page(s)?


1) I have 1 mount point on the server
2) I have access to everything on the server
3) I own the PHP server hosting the website so can edit anything needed
4) Yup can do cron jobs
5) I'm a PHP developer but couldn't work out how to mix it with icecast as i'm new to the whole PHP-XML thing...more a database kinda guy but slowly learning =D

Thanks SO MUCH for offering the help i greatly appreciate it as much as I can.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients 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