Introduction
PLS is a plain-text playlist format in the style of a Windows INI file. It is
associated with the Winamp player and the SHOUTcast streaming system, and internet
radio stations still offer .pls links to tune in. Each entry can carry a
title and a length as well as the file path or URL. It has no official specification,
so its rules come from how players behave.
Structure
The file starts with a [playlist] section header. Entries are numbered
from 1: File1 gives the path or URL, Title1 an optional
display title and Length1 the length in seconds, with -1 for
a stream of no fixed length. NumberOfEntries gives the count and
Version=2 marks the format version.
[playlist]
File1=https://radio.example.com/stream
Title1=Example Radio
Length1=-1
File2=Music/First Song.mp3
Title2=Artist Name - First Song
Length2=215
NumberOfEntries=2
Version=2
The file structure page gives every key, how the numbering works, and how far readers really follow the rules.
Not described
PLS has no formal specification; these pages follow Wikipedia, a survey of playlist formats and mpv’s behaviour. The explorer has no PLS viewer.
Known, not yet covered
- Reference: the unofficial specification text on the Winamp forum could not be read (the server refused the request).
- Viewer: there is no PLS plugin.
Unknown
- Reference: the character encoding and line endings, which nothing specifies.
- Reference: whether names are case-sensitive: Wikipedia says so, mpv is not.
- Reference: where the format began; the claim that museArc or codeArts made it is uncited.
Links
Software
- VLC media player – free player for almost any audio or video file, which opens PLS playlists and radio links (Windows, macOS, Linux, mobile)
- Winamp – the music player that made PLS widely used (Windows)
- foobar2000 – free music player and converter (Windows, macOS, mobile)
- mpv – free command-line media player (Windows, macOS, Linux)
Reference
- A survey of playlist formats – Lucas Gonze’s 2003 notes on PLS and other playlist formats