.pls
   HOME

TheInfoList



OR:

PLS is a computer
file format A file format is a Computer standard, standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary format, pr ...
for a multimedia
playlist A playlist is a list of video or audio files that can be played back on a media player, either sequentially or in a shuffled order. In its most general form, an audio playlist is simply a list of songs that can be played once or in a loop. ...
. It is typically used by media players for
streaming media Streaming media refers to multimedia delivered through a Computer network, network for playback using a Media player (disambiguation), media player. Media is transferred in a ''stream'' of Network packet, packets from a Server (computing), ...
over the Internet, but may also be used for playing local media. For online streaming, typically the .PLS file would be downloaded just once from the media source—such as from an online radio station—for immediate or future use. While most computers and players automatically recognize the .PLS format, the first time a PLS file is used on a computer, the media player's settings may need to be changed to recognize ( "associated" with) .PLS files. PLS was originally developed for use with the museArc audio player software by codeArts, and was later used by SHOUTcast and
Icecast Icecast is a streaming media project released as free software maintained by the Xiph.Org Foundation. It also refers specifically to the Server (computing), server program which is part of the project. Icecast was created in December 1998/Janua ...
for
streaming media Streaming media refers to multimedia delivered through a Computer network, network for playback using a Media player (disambiguation), media player. Media is transferred in a ''stream'' of Network packet, packets from a Server (computing), ...
over the Internet.


File format

The format is case-sensitive and essentially that of an INI file structured as follows Header * laylist: ''This tag indicates that it is a Playlist File'' Track Entry
''Assuming track entry #X'' *FileX : ''Variable defining location of media file/stream (like .m3u/.m3u8 playlists).'' *TitleX : ''Defines track title. (optional)'' *LengthX : ''Length in seconds of track. Value of -1 indicates indefinite (streaming). (optional)'' ''If file metadata includes a title already, then the TitleX entry will not be displayed.'' Footer *NumberOfEntries : ''This variable indicates the number of tracks and therefore equals the number used for the last track'' *Version : ''Playlist version. Currently only a value of 2 is valid.''


Examples

Example of a complete PLS file used for "streaming audio;" in this case, to connect to a particular online radio station and receive its audio stream: laylistFile1=https://e20.yesstreaming.net:8279/ Title1=Here enter name of the station NumberOfEntries=1 Alternative Example containing local paths: laylist File1=https://e20.yesstreaming.net:8279/ Length1=-1 File2=example2.mp3 Title2=Just some local audio that is 2mins long Length2=120 File3=F:\Music\whatever.m4a Title3=absolute path on Windows File4=%UserProfile%\Music\short.ogg Title4=example for an Environment variable Length4=5 NumberOfEntries=4 Version=2 ;Unix/BSD/Linux/OS X In
Unix-like A Unix-like (sometimes referred to as UN*X, *nix or *NIX) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Uni ...
operating systems absolute and relative file paths differ from Windows, because there are no drive letters,
Environment variable An environment variable is a user-definable value that can affect the way running processes will behave on a computer. Environment variables are part of the environment in which a process runs. For example, a running process can query the va ...
s differ and (forward slashes) are used as directory separators instead of (backslashes). Therefore, playlists pointing to absolute paths or media files outside of the folder containing the playlist will only work for one type of operating system - either Windows or Unix-like. URLs work the same for all types. To make the second example from above work the 3rd and 4th path need to be changed to something like: File3=/media/hdd/whatever.m4a File4=~/Music/short.ogg


Compatible media player software

iTunes iTunes is a media player, media library, and mobile device management (MDM) utility developed by Apple. It is used to purchase, play, download and organize digital multimedia on personal computers running the macOS and Windows operating s ...
,
VLC media player VLC media player (previously the VideoLAN Client) is a free and open-source software, free and open-source, software portability, portable, cross-platform media player software and streaming media Server (computing), server developed by the Vide ...
,
GNOME Videos GNOME Videos, formerly known as Totem, is a media player (audio and video) for the GNOME computer desktop environment. GNOME Videos uses the Clutter and GTK+ toolkits. It is officially included in GNOME starting from version 2.10 (released in Ma ...
,
RealPlayer RealPlayer, formerly RealAudio Player, RealOne Player and RealPlayer G2, is a cross-platform media player (software), media player app, developed by RealNetworks. The media player is compatible with numerous container file formats of the multimed ...
,
Winamp Winamp is a media player (software), media player for Microsoft Windows originally developed by Justin Frankel and Dmitry Boldyrev by their company Nullsoft, which they later sold to AOL in 1999 for $80 million. It was then acquired by Rad ...
, Yahoo! Music Jukebox,
MediaMonkey MediaMonkey is a digital media player and media library application developed by Ventis Media Inc., for organizing and playing audio on Microsoft Windows and Android operating systems. MediaMonkey for Windows (sometimes noted as MMW) includes ...
,
Windows Media Player Windows Media Player (WMP, officially referred to as Windows Media Player Legacy to retronym, distinguish it from Windows Media Player (2022), the new Windows Media Player introduced with Windows 11) is the first media player (application soft ...
,
AIMP AIMP is a freeware audio player for Windows and Android, originally developed by Russian developer Artem Izmaylov (). It supports a variety of audio codecs, and includes tools to convert audio files and edit their metadata. It also has the c ...
,
Kodi Kodi may refer to: Arts, entertainment, and media * KODI, a radio station in Cody, Wyoming, USA * Kodi (film), ''Kodi'' (film), India, 2016 * Kodi, a dog in the 2004 film ''Balto III: Wings of Change'' Other uses * Kodi (software), an open sour ...
,
Rhythmbox Rhythmbox is a free and open-source audio player software, tag editor and music organizer for digital audio files on Linux and Unix-like systems. Rhythmbox is designed to work well under GNOME, but can function on other desktop environments. ...
,
foobar2000 foobar2000 (often abbreviated as fb2k or f2k) is a freeware audio player for Microsoft Windows, iOS, Android, macOS, and formerly Windows Phone, developed by Peter Pawłowski. It has a modular design, which provides user flexibility in c ...
, Audacious and more than 30 others are able to interpret (open) PLS files.
Media Player Classic Media Player Classic (MPC), Media Player Classic - Home Cinema (MPC-HC), and Media Player Classic - Black Edition (MPC-BE) are a family of free and open-source, compact, lightweight, and customizable media players for 32- and 64-bit Microsoft Wi ...
with the K-Lite codec installed does work with PLS format, but still requires the appropriate
MIME A mime artist, or simply mime (from Greek language, Greek , , "imitator, actor"), is a person who uses ''mime'' (also called ''pantomime'' outside of Britain), the acting out of a story through body motions without the use of speech, as a the ...
or file extension associations.


See also

Other playlist file formats: * M3U — The most common playlist format *
XML Shareable Playlist Format XML Shareable Playlist Format (XSPF), pronounced ''spiff'', is an XML-based playlist format for digital media, sponsored by the Xiph.Org Foundation. XSPF is a file format for sharing the kind of playlist that can be played on a personal compute ...
(XSPF) — Xiph.Org Foundation


References

{{Unreferenced section, date=September 2015


External links


Unofficial PLS file specification
2001, winamp.com

2003
PLSv2 play list specification
2010/2012
Open PLS in WMP
Playlist file formats Digital audio