How to Make a PLS File for a Stream

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

PLS files are audio metafiles that contain information about a playlist of music files or the URL of a streaming server. These text files can be created in a text editor, like Windows Notepad, then uploaded to a server. If you create a link to the PLS file on your website, then click the link from within a web browser, the browser will launch your default MP3 player and connect it to the streaming audio.

Advertisement

Step 1

Open Notepad. Type "[playlist]" and press "Enter."

Video of the Day

Step 2

Type "Number of entries=1" and press "Enter." Type "File1=http://xxx.xxx.xxx.xxx:xxxx" with "x" being the IP address of your server and the port number of the stream. For example, if you are creating a PLS file for a Shoutcast server at 209.59.234.85, type "File1=http://209.59.234.85:8000" if your Shoutcast server is running on the default port. Press "Enter." Note that all commands should be typed without the quotation marks.

Advertisement

Step 3

Type "Title1=A Name For Your Stream." For example, if your stream is called Smooth Jazz Radio, type "Title1=Smooth Jazz Radio." This title appears in the player while playing the stream. Press "Enter."

Step 4

Type "Length1=-1." The Length function tells the MP3 player how long to play before switching to the next entry. A length of "-1" means that the player should ignore the Length function and play till the stream ends. Press "Enter."

Advertisement

Advertisement

Step 5

Type "Version=2" to designate the file as a Version 2 PLS file. Click "File," then "Save" and save the file with a name of your choosing. If you are streaming at multiple bitrates or in multiple formats, you should name the PLS file based on the format and bitrate. For example, a 64K bitrate MP3 stream might be called "64kMP3.pls."

Advertisement

Step 6

Upload the file to your website and create a link to the file. If your host is smoothjazzradio.com, for example, and you upload the file to the root directory of the website, the link would be "http://www.smoothjazzradio/64kMP3.pls."

Video of the Day

Advertisement

Advertisement

references

Report an Issue

screenshot of the current page

Screenshot loading...