View Full Version : Shoutcast?
The Schnoo
06 May 2003, 02:42 PM
Anyone know anything about shoutcast? i'm hosting my own server, but i'm not sure how someone could access my feed.
thanks for any help, in advance.
-The Schnoo
Bryan
05 Jun 2003, 11:24 AM
Alright, so this is waaaay late, but do you still need help with this? I could probably provide some guidance. the server is up and running but you're not sure how to create the listen link on your webpage?
The Schnoo
06 Jun 2003, 01:04 AM
Originally posted by Bryan
Alright, so this is waaaay late, but do you still need help with this? I could probably provide some guidance. the server is up and running but you're not sure how to create the listen link on your webpage?
exactly, sire.
Bryan
06 Jun 2003, 09:39 AM
What you need is a .pls file (just like the playlist files used in Winamp) to launch the stream. But instead of putting file names of MP3's in there, you put the like to your Shoutcast server. For example:
[playlist]
numberofentries=1
File1=http://yourserver.com:8000
Title1=Your Stream Title
Length1=-1
Version=2
The :8000 number on the end of File1 should be whatever port # you're using for your Shoutcast server (the default is 8000). Save the whole thing as a text file and name it something like stream.pls, upload it to your server and create a hyperlink on your webpage to the file. You also need to make sure you have the .pls extension registered on your web server as a valid mime type. I believe it's "audio/x-scpls pls" If not, when someone clicks on the link, the server will just send them the plaintext of the file which is not what you want.
Alternatively, you could just link directly to your Shoutcast server and let it handle the details, such as:
<a href="http://yourserver.com:8000/listen.pls">Click to listen</a>
Again replacing 8000 with whatever port # your Shoutcast server is running on. This way is a little easier because you don't have to deal with mime types. But you also lose the ability to link multiple servers with the same "Listen" link.
vBulletin® v3.7.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.