Getting details off a Server???

May 20, 2008 at 3:16 PM
Hi There,
I am trying to create a Shoutcast Audio player and display the details of the Song, DJ and Bitrate from the Shoutcast Stream, but have been having problems getting the details getting these details.
Could anyone point me in the direction of how to use Shoutcast.net to do this?
Many thanks for any information,

Dave
Coordinator
May 20, 2008 at 9:53 PM
Edited May 20, 2008 at 9:54 PM
You can use the examples are and try a Web or a WinForm Example... The only change that you must do is to change the Streming URL of the server. It should be smthing like :

http://DOMAIN:PORT/admin.cgi?mode=viewxml&pass=YOURADMINPASS

Where DOMAIN is the domain of the server ex localhost or www.domain.com

Port is the PORT Used by the server ex 8000

and YOURADMINPASS is the password that you use to connect to the server.
You can also get these values from the shoucast plugin for winamp... Like This



John
May 20, 2008 at 11:08 PM
Hi John,

OK, so I gather that is for creating a server, but how about getting details from a shoutcast server and displaying them using this class?
Can it be done?  I've been after either a routine or an API which will get the TAGS from a Shoutcast Server and display them.  Playing the audio I would like to do using the Windows Media Player Plugin, but if I have to use something else thats no problem.

Cheers...

Dave