PLS (file format)
   HOME

TheInfoList



OR:

PLS is a computer file format for a multimedia playlist. It is typically used by media players for streaming media over the Internet, but may also be used for playing local media. For online streaming, typically the .PLS
file File or filing may refer to: Mechanical tools and processes * File (tool), a tool used to ''remove'' fine amounts of material from a workpiece **Filing (metalworking), a material removal process in manufacturing ** Nail file, a tool used to gent ...
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 .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 program which is part of the project. Icecast was created in December 1998/January 1999 by Jack Mo ...
for streaming media over the Internet. PLS is a more expressive playlist format than the basic
M3U M3U (''MP3 URL'' or Moving Picture Experts Group Audio Layer 3 Uniform Resource Locator in full) is a computer file format for a multimedia playlist. One common use of the M3U file format is creating a single-entry playlist file pointing to a st ...
playlist, as it can store (
cache Cache, caching, or caché may refer to: Places United States * Cache, Idaho, an unincorporated community * Cache, Illinois, an unincorporated community * Cache, Oklahoma, a city in Comanche County * Cache, Utah, Cache County, Utah * Cache County ...
) information on the song title and length (this is supported in extended M3U only).


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)'' 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=http://stream2.streamq.net:8020/ Title1=Here enter name of the station NumberOfEntries=1 Alternative Example containing local paths: laylist File1=http://relay5.181.fm:8068 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 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 Unix-li ...
operating systems absolute and relative file paths differ from Windows, because there are no drive letters,
Environment variable An environment variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs. For example, a running process can query the value of the TEMP envi ...
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 A Uniform Resource Locator (URL), colloquially termed as a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifi ...
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,
VLC media player VLC media player (previously the VideoLAN Client and commonly known as simply VLC) is a free and open-source, portable, cross-platform media player software and streaming media server developed by the VideoLAN project. VLC is available for desk ...
,
Totem A totem (from oj, ᑑᑌᒼ, italics=no or '' doodem'') is a spirit being, sacred object, or symbol that serves as an emblem of a group of people, such as a family, clan, lineage, or tribe, such as in the Anishinaabe clan system. While ''the ...
,
RealPlayer RealPlayer, formerly RealAudio Player, RealOne Player and RealPlayer G2, is a cross-platform media player app, developed by RealNetworks. The media player is compatible with numerous container file formats of the multimedia realm, including MP3 ...
,
Winamp Winamp is a 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 Radionomy in 2014. Sinc ...
,
Yahoo! Music Jukebox Yahoo! Music Jukebox, formerly known as Yahoo! Music Engine, was a freeware music player released by Yahoo! in 2005 to compete with iTunes and Rhapsody in the digital music market. Developed side-by-side with MusicMatch Jukebox, another music pl ...
,
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) include ...
,
Windows Media Player Windows Media Player (WMP) is the first media player (application software), media player and media library application that was developed by Microsoft for playing sound reproduction, audio, video and viewing images on personal computers runnin ...
,
AIMP AIMP (Artem Izmaylov Media Player) is a freeware Audio player (software), audio player for Windows and Android (operating system), Android, originally developed by Russian developer Artem Izmaylov ( rus, Артём Измайлов, Artyom Izmajlo ...
, Kodi,
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. I ...
, foobar2000, 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-bit and 64-bit Microsoft ...
with the K-Lite codec installed does work with PLS format but still requires the appropriate
MIME Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email messages to support text in character sets other than ASCII, as well as attachments of audio, video, images, and application programs. Message ...
or file extension associations.


See also

Other playlist file formats: * ASX - Windows media *
M3U M3U (''MP3 URL'' or Moving Picture Experts Group Audio Layer 3 Uniform Resource Locator in full) is a computer file format for a multimedia playlist. One common use of the M3U file format is creating a single-entry playlist file pointing to a st ...
- The most common playlist format * XSPF - Xiph.Org Foundation * WPL - Windows Media Player


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