PLS (file format)

from Wikipedia, the free encyclopedia

The PLS file format is used to store playlists . It is based on the INI format , so it is a plain-text -based file format and can therefore be created or edited with any text editor, no matter how simple.

It is supported by many popular audio players, such as: B. Winamp or iTunes .

File structure

An example PLS file is:

 [playlist]
 NumberOfEntries=3

 File1=http://streamexample.com:80
 Title1=My Favorite Online Radio
 Length1=-1

 File2=http://example.com/song.mp3
 Title2=Remote MP3
 Length2=286

 File3=D:\Eigene Musik\album.flac
 Title3=Local album
 Length3=3487

 Version=2

A distinction is made between upper and lower case. The length is given in seconds. If the specified length is smaller than the actual length, the specified length is ignored (if it is set to −1, it is also ignored).

All paths are specified according to the operating system convention. Therefore, under is Unix-like operating systems (after as the directory separator right inclined) slash (English: slash) ( /) to use, but one under Windows systems to left (English: inclined slash (backslash) backslash ) ( \).

Web links