Playlist | |
Genre: | 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.
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).
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
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:
Alternative Example containing local paths:
File1=https://e20.yesstreaming.net:8279/Length1=-1
File2=example2.mp3Title2=Just some local audio that is 2mins longLength2=120
File3=F:\Music\whatever.m4aTitle3=absolute path on Windows
File4=%UserProfile%\Music\short.oggTitle4=example for an Environment variableLength4=5
NumberOfEntries=4Version=2
To make the second example from above work the 3rd and 4th path need to be changed to something like:
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.
Other playlist file formats: