How-to: Building and Uploading Your Own .pls and .asx Files


Here are templates for building your own static .pls and .asx files (for submitting to iTunes and Windows Media Guide, etc.) You will need to use a text editor and replace the title and the stream address with your true stream address. Once you have the file edited, save it as name.pls or name.asx (make sure your text editor is using the correct save format so it lets you save exactly as it isĀ  and without adding .txt to the end of the name. For uploading instructions see below.

PLS Files

For Icecast you must have the Stream address, port and mountpoint as below (this assumes standard configuration using port 80 and /stream as the mountpoint.)
Sample Icecast .pls file:

[playlist]
numberofentries=1
File1=http://ip number goes here:80/1
Title1=My Station name
Length1=-1
Version=2

For Shoutcast 1 you must have the stream address and port (this assumes port 80.)
[playlist]
numberofentries=1
File1=http://ip number goes here:80/1
Title1=My Station Name
Length1=-1
Version=2

For Shoutcast 2 you must have the Stream address, port and mountpoint will be the number of the stream (this assumes port 80 and 1 as the stream number.)
[playlist]
numberofentries=1
File1=http://ip number goes here:80/1
Title1=My Station name
Length1=-1
Version=2

For ASX Files

You will use the same stream addresses as illustrated above. Here is the template (this template assumes Shoutcast 1):

<ASX version="3.0" bannerbar="fixed">
<ENTRY>
<TITLE>My Station Name</TITLE>
<REF HREF="http://ip number goes here:port" />
</ENTRY>
</ASX>



Once you have your file built correctly save it as either myname.pls or myname.asx then upload it to your custom folder at StreamLicensing. To do that, Log into StreamLicensing Account, make sure you are in the Client Area, click on My Streams, look on the lower part of the page, you'll see your Custom Content (There are already a couple of html files in there) - Use that area to upload your PLS file, then test it by clicking on it to make sure all is well.

Was this answer helpful?

 Print this Article

Powered by WHMCompleteSolution