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.
Open Notepad. Type "[playlist]" and press "Enter."
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 220.127.116.11, type "File1=http://18.104.22.168:8000" if your Shoutcast server is running on the default port. Press "Enter." Note that all commands should be typed without the quotation marks.
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."
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."
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."
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."
You can save a PLS file on your computer desktop and double-click it to launch your default MP3 player and connect to the stream.
PLS files are case-sensitive, so make sure you capitalize each function properly.