Shoutcast / Icecast URLs
Shoutcast streams are usually pretty straight forward and most users only have one stream that they need to monitor. However popular stations usually have more than one server to handle large numbers of listeners so they may have a playlist invovled.
Stream URL
A Shoutcast URL usually consists of three or four parts
|
||||||||
|
Port Warning
Our monitoring software has a small bug where it will fail a stream whose URL protocol is http and port is set to :80. If your URL has both of these items, please delete the :80 and your stream should pass the test.
Playlists
Stream Alerts can grab information from a properly formatted Windows Media playlist and display the streams found within. If you enter a URL with an extension of .pls or .m3u the system will automatically grab the first URL from your playlist and start monitoring. If you wish to choose a different URL from your playlist, edit your stream and choose one of the URLs listed.
If you would like to pull a URL from the playlist yourself, open the playlist in a text editor and find the lines highlighted in blue below
[playlist] |
The information above appears in a .pls file and amongst all of that information it contains three stream URLs marked in blue. When someone clicks on the proper link, their chosen media player opens and reads through this file. First it tries to connect to http://127.0.0.1:80 and if is successful, then it simply plays the stream. However if the first server is down, the player tries to connect to http://127.0.0.2:80 and will play that stream and so on. So in this case we would want to monitor 3 different streams so that we know if any of the servers fails.
So how do you find out what’s listed in your playlist?
- If you don’t have the file saved to your computer already, open the web page with a link that points to your playlist.
- Right-click on the link and you should see a menu pop-up.
- Select Save Target As… from the menu (Save link as… if you are using Firefox)
- You will be asked where to save the file. Save it somewhere you can find it easily.
- Then use a simple text editor to open the file. Windows users can use Notepad or even Word. Don’t double click on the file from My Computer or Finder because it will simply load the file and start playing your stream.
- Once the file is open, look around for URLs similar to the ones in the example above.
