Old 11th May 2006, 23:22   #1
RealityRipple
Registered User
 
Join Date: May 2006
Location: Los Berros Canyon, Nipomo, CA, USA
Posts: 5
Send a message via ICQ to RealityRipple Send a message via AIM to RealityRipple Send a message via Yahoo to RealityRipple
Programming Shoutcast support

Hi, I'm the creator of a not-very-well-known media player. A few friends use it besides me, but they have requested I include support for streaming audio.
I'd like to know if there is any documentation on the codec and/or protocol for ShoutCast, so that I can include it in my program.
RealityRipple is offline   Reply With Quote
Old 11th May 2006, 23:25   #2
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
heh .... SHOUTcast is not open source.

Sorry, but I do not think you are going to have any luck with this.

However, all of need to do is get an mp3codec that it can use, and tell it how to understand a .pls file (which is going to be difficult without the source).

Sorry for the bad news
fc*uk is offline   Reply With Quote
Old 11th May 2006, 23:29   #3
RealityRipple
Registered User
 
Join Date: May 2006
Location: Los Berros Canyon, Nipomo, CA, USA
Posts: 5
Send a message via ICQ to RealityRipple Send a message via AIM to RealityRipple Send a message via Yahoo to RealityRipple
From what I see of an example ShoutCast PLS file, it just has an entry count, followed by a list of entries. I'm guessing the actual information is stored on the server it lists to.
Would it break any laws if I packet log the transfers, or would it be useless anyway?
RealityRipple is offline   Reply With Quote
Old 11th May 2006, 23:48   #4
drewbar
Sawg 2.0
Major Dude
 
Join Date: Mar 2004
Posts: 5,916
PLS files have been around before SHOUTcast. If you are working on tring to figure out how to support those...
http://forums.winamp.com/showthread....threadid=65772

Count with us!
Jan 1st, 12AM (PST, GMT -8) 2010 - 282,246
drewbar is offline   Reply With Quote
Old 11th May 2006, 23:49   #5
RealityRipple
Registered User
 
Join Date: May 2006
Location: Los Berros Canyon, Nipomo, CA, USA
Posts: 5
Send a message via ICQ to RealityRipple Send a message via AIM to RealityRipple Send a message via Yahoo to RealityRipple
No, I'm looking to support ShoutCast broadcasts. M3U and PLS file support is easy. :P
RealityRipple is offline   Reply With Quote
Old 12th May 2006, 00:13   #6
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
Quote:
Originally posted by RealityRipple
No, I'm looking to support ShoutCast broadcasts. M3U and PLS file support is easy. :P
OK.... lets step back (I misunderstood and fed somewhat false info).

Do you simply want your player to be able to "tune in" to a SHOUTcast stream, or do you want your player to be able to host a live stream and have that be listed on the SHOUTcast servers page? The first is possible, the latter is not --- well at least not with SHOUTcast. However, you could look to something that is opensource such as icecast...
fc*uk is offline   Reply With Quote
Old 12th May 2006, 00:17   #7
RealityRipple
Registered User
 
Join Date: May 2006
Location: Los Berros Canyon, Nipomo, CA, USA
Posts: 5
Send a message via ICQ to RealityRipple Send a message via AIM to RealityRipple Send a message via Yahoo to RealityRipple
I just want to listen, not create. Sorry for the confusion.
RealityRipple is offline   Reply With Quote
Old 12th May 2006, 00:19   #8
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
ahhhh...

Well, as you mentioned, all you need to be able to do is make the software understand that it needs to link to a specific address to get the stream from. All a .pls file is is a link to another source.

As mentioned, you may want to look at icecast for the source code to all of this.
fc*uk is offline   Reply With Quote
Old 12th May 2006, 00:35   #9
RealityRipple
Registered User
 
Join Date: May 2006
Location: Los Berros Canyon, Nipomo, CA, USA
Posts: 5
Send a message via ICQ to RealityRipple Send a message via AIM to RealityRipple Send a message via Yahoo to RealityRipple
Thank you. I'll look into it.
RealityRipple is offline   Reply With Quote
Old 12th May 2006, 05:18   #10
drewbar
Sawg 2.0
Major Dude
 
Join Date: Mar 2004
Posts: 5,916
http://forums.radiotoolbox.com/viewtopic.php?t=74
http://sourceforge.net/project/showf...ease_id=179152
The latter has some code for their shoutcastsourc. basically a stream decoding library.

Count with us!
Jan 1st, 12AM (PST, GMT -8) 2010 - 282,246
drewbar is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump