PLS (file format)

Last updated
Playlist
Filename extension
.pls
Internet media type
audio/x-scpls
Type of format Playlist

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.

Contents

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 [1] audio player software by codeArts, and was later used by SHOUTcast and Icecast for streaming media over the Internet. PLS is a more expressive playlist format than the basic M3U playlist, as it can store (cache) 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 [2]

Header

Track Entry
Assuming track entry #X

If file metadata includes a title already, then the TitleX entry will not be displayed.

Footer

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:

[playlist]File1=https://e20.yesstreaming.net:8279/Title1=Here enter name of the stationNumberOfEntries=1

Alternative Example containing local paths:

[playlist]File1=https://e20.yesstreaming.net:8279/Length1=-1File2=example2.mp3Title2=Just some local audio that is 2mins longLength2=120File3=F:\Music\whatever.m4aTitle3=absolute path on WindowsFile4=%UserProfile%\Music\short.oggTitle4=example for an Environment variableLength4=5NumberOfEntries=4Version=2
Unix/BSD/Linux/OS X

In Unix-like operating systems absolute and relative file paths differ from Windows, because there are no drive letters, Environment variables 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.m4aFile4=~/Music/short.ogg

Compatible media player software

iTunes, VLC media player, GNOME Videos, RealPlayer, Winamp, Yahoo! Music Jukebox, MediaMonkey, Windows Media Player, AIMP, Kodi, Rhythmbox, foobar2000, Audacious and more than 30 others are able to interpret (open) PLS files. Media Player Classic with the K-Lite codec installed does work with PLS format, but still requires the appropriate MIME or file extension associations.

See also

Other playlist file formats:

Related Research Articles

<span class="mw-page-title-main">XMMS</span> Free and open source audio player

X Multimedia System (XMMS) is an audio player for Unix-like systems released under a free software license.

<span class="mw-page-title-main">Winamp</span> Media player for Microsoft Windows

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, now known as the Llama Group. Since version 2 it has been sold as freemium and supports extensibility with plug-ins and skins, and features music visualization, playlist and a media library, supported by a large online community.

The Advanced Stream Redirector (ASX) format is a type of XML metafile designed to store a playlist of Windows Media files for a multimedia presentation.

Shoutcast is a service for streaming media over the internet to media players, using its own cross-platform proprietary software. It allows digital audio content, primarily in MP3 or High-Efficiency Advanced Audio Coding format. The most common use of Shoutcast is for creating or listening to Internet audio broadcasts; however, there are also video streams. The software is available to use for free or as a paid cloud service with additional professional features.

<span class="mw-page-title-main">Playlist</span> Curated list of video or audio files

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. The term has several specialized meanings in the realms of television broadcasting, radio broadcasting and personal computers.

<span class="mw-page-title-main">RealPlayer</span> Media player app

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, MP4, QuickTime File Format, Windows Media format, and the proprietary RealAudio and RealVideo formats. RealPlayer is also available for other operating systems; Linux, Unix, Palm OS, Windows Mobile, and Symbian versions have been released.

The following comparison of video players compares general and technical information for notable software media player programs.

M3U 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 stream on the Internet. The created file provides easy access to that stream and is often used in downloads from a website, for emailing, and for listening to Internet radio.

Gapless playback is the uninterrupted playback of consecutive audio tracks, such that relative time distances in the original audio source are preserved over track boundaries on playback. For this to be useful, other artifacts at track boundaries should not be severed either. Gapless playback is common with compact discs, gramophone records, or tapes, but is not always available with other formats that employ compressed digital audio. The absence of gapless playback is a source of annoyance to listeners of music where tracks are meant to segue into each other, such as some classical music, progressive rock, concept albums, electronic music, and live recordings with audience noise between tracks.

XML Shareable Playlist Format (XSPF), pronounced spiff, is an XML-based playlist format for digital media, sponsored by the Xiph.Org Foundation.

<span class="mw-page-title-main">WinPlay3</span>

WinPlay3 was the first real-time MP3 audio player for PCs running Windows, both 16-bit and 32-bit. Prior to this, audio compressed with MP3 had to be decompressed prior to listening. It was released by Fraunhofer IIS, creators of the MP3 format, on September 9, 1995. The latest version was released on May 23, 1997. Since then, the Fraunhofer Society has removed any trace and mention of WinPlay3 from their web sites. However, the software remains available by utilizing the Web Archive, or one of the links below.

<span class="mw-page-title-main">Music on Console</span> Console audio player

Music On Console (MOC) is an ncurses-based console audio player for Linux/UNIX. It was originally written by Damian Pietras, and is currently maintained by John Fitzgerald. It is designed to be powerful and easy to use, with an interface inspired by the Midnight Commander console file manager. The default interface layout comprises a file list in the left pane with the playlist on the right. It is configurable with customizable key bindings, color schemes and interface layouts. MOC comes with several themes defined in text files, which can be modified to create new layouts. It supports ALSA, OSS or JACK outputs.

<span class="mw-page-title-main">KMPlayer</span> Freeware media player for Microsoft Windows

K-Multimedia Player is an Adware-supported media player for Windows and iOS that can play most current audio and video formats, including VCD, HDML, DVD, AVI, MKV, Ogg, OGM, 3GP, MPEG-1/2/4, AAC, WMA 7, 8, WMV, RealMedia, FLV and QuickTime.

<span class="mw-page-title-main">Mp3tag</span> Tag editor for Microsoft Windows and Apple macOS

Mp3tag is a metadata tag editor that supports many popular audio file formats. It is freeware for Microsoft Windows, while it costs USD $19.99 for Apple macOS in the Mac App Store.

<span class="mw-page-title-main">JetAudio</span>

JetAudio is a shareware media player application for Microsoft Windows and Android released in 1997, that offers playback options for a wide range of multimedia file formats.

<span class="mw-page-title-main">Clementine (software)</span> Free and open source audio player

Clementine is a free and open-source audio player. It is a port of Amarok 1.4 to the Qt 4 framework and the GStreamer multimedia framework. It is available for Unix-like, Windows, and macOS operating systems. Clementine is released under the terms of the GPL-3.0-or-later.

Didiom was a digital media company that specialized in the development of streaming media applications and wireless content delivery platforms. Built on peer-to-peer placeshifting technology, the company's flagship product allowed customers to stream their home computer's audio collection to their phone wirelessly, eliminating the need for data cables and memory cards. With two million songs under its management, Didiom previously launched an on-device music store that allowed customers to name their own prices for music downloads. In February 2011, Didiom was acquired by SnapOne, Inc.

<span class="mw-page-title-main">Puddletag</span> Tag editor for Unix-like operating systems

Puddletag is a graphical audio file metadata editor ("tagger") for Unix-like operating systems.

XMPlay is a freeware audio player for Windows. Initially released in 1998, it is often used as a reference player for tracker audio files.

References

  1. Nullsoft Winamp Online Documentation: The Playlist and Playlist Editor
  2. "configparser — Configuration file parser — Python 3.10.5 documentation". docs.python.org. Retrieved 2022-07-22.