Introduction
Zoom Player, the media player from Inmatrix, saves its playlists as .zpl files. The
maker describes them as “text tags, each on its own line”, one entry for each media file, with a
“special break tag” at the end of every entry. The same extension is also used by the
Zune playlist, an XML file that has nothing else in common with
this one: the two are told apart by their content, as this page and the Zune page describe.
The format is small. Each line is TAG=value, where the tag is two letters, and an
entry is the lines from its NM (the media source) to the next BR! line.
Inmatrix’s own description is the only specification found, in two versions (a format page and a
blog post of 7 August 2024), and it leaves several points open, which the Not described
section lists.
Structure
A file is a sequence of lines. The sources call the encoding “unicode text” (the format page: “encoded in order to support every language and emoji”; the blog post: “in order to support NON-English and even emoji file names”) and the playlist editor page says Zoom Player saves “the ZPL unicode file format”, as against “M3U UTF8 encoded format”. None of them says which Unicode encoding.
Two kinds of line carry the data:
TAG=value: a tag and its value.BR!: ends the current file entry. “Each file entry should end with this tag.”
Four tags are about the whole playlist (AC, RN, SR,
SA); the other seventeen describe one media file. The format page calls the
playlist-wide ones “global entries”.
| Tag | Name | Meaning, from the format page |
|---|---|---|
AC | Active media | The file name or URL of the last file played when the list was saved. A global entry; it should exist once in a playlist (optional). |
NM | Media source | The media file name or URL. |
ST | Source type | The media source type, for example a SHOUTcast URL. Only the format page lists it; the blog post leaves it out. No values are given. |
DR | Duration | The duration in seconds (optional). |
TT | Title | The title or description. |
TG | Genre | The genre. |
TR | Track number | The track number. |
TL | Language | The language. |
TA | Artist | The artist name. |
TB | Album | The album name. |
TY | Year | The production year. |
TH | Author | The author name. |
TE | Encoder | The encoder. |
TC | Comment | The comment. |
TU | URL | The URL. |
TO | Copyright | The copyright. |
FD | Forced duration | Forces a duration, in seconds, on a file; useful for image slideshows (optional). |
FT | File type | Set to 6 to treat the file name as a web page URL. |
RN | Random sort | If specified, the playlist is sorted randomly (optional). |
SR | Sort | If specified, the playlist is sorted on load; the codes are below. |
SA | Erase after reading | Erase the playlist file after reading it. The page adds “use with care!”. |
BR! | Break | End of file entry. |
The T* tags (TT to TO) are the metadata of the media file, each
marked optional. FileInfo.com says that “all the tags except the AC, NM, and BR! tags are optional”;
the format page itself marks AC optional, so the two disagree on that one tag.
Sort codes
| SR | Sorted |
|---|---|
0 | by name |
1 | by file type (extension) |
2 | by date |
3 | by size |
4 | by folder (path) |
5 | by duration (media length) |
6 | randomly (the same as RN) |
Example
The format page’s example, five entries and a global AC naming the entry that was
playing. The first entry is an image shown for five seconds (FD), the third has a
one-minute duration:
ac=myvideo.mp4
nm=welcome.jpg
fd=5
br!
nm=1.mp4
tt=The first video!
br!
nm=2.mkv
dr=60
br!
nm=myvideo.mp4
br!
nm=4.mp3
br!
The format page writes the tags in lower case, the blog post’s copy of the same example in upper
case (AC=myvideo.avi, NM=welcome.jpg, BR!); both are attested,
and no source says whether a reader cares.
Opening a Zoom Player playlist here
Drop a .zpl file on this site’s explorer. A .zpl file that begins with
< is shown as a Zune playlist; any other
.zpl text file is read as this format, and so is a file with another name whose first
line is a tag of this format or BR!. The viewer shows the entries (source, kind of
location, duration, title, artist and so on), every tag line with its meaning, the playlist-wide
settings (the active media, the sort code, random sort, erase after reading), the total of the
durations and a list of what looks wrong, each with its line. Files of any size open: a playlist
over 8 MiB is read in windows of whole entries. Nothing is uploaded.
Reported as problems: a line that is neither TAG=value nor BR!; a tag
that is not one of the 21; a tag twice in one entry; a second NM; an empty
NM or AC; an entry with no NM; an entry with no
BR! at the end of the file; BR! with no tags before it; a second
AC; DR or FD that is not a number; an SR that
is not 0 to 6 or is given twice; text that is not valid UTF-8. Noted but not reported as problems:
a fraction in DR or FD, an FT other than 6, blank lines
(skipped), the case of tags and white space around the equals sign (no source says anything about
them). The viewer reads a file written by hand or by another program; it states what it sees and
does not say what Zoom Player would do.
Sources and divergence from the sources
- Zoom Player’s Playlist format (Inmatrix): the primary description, with the tag list and the example above.
- The ZPL (Zoom Player
Playlist) Format (Inmatrix blog, 7 August 2024): the same list without
ST, an upper-case example, and the “unicode text” statement. - Playlist Editor (Inmatrix): the program reads ZPL, M3U, ASX, B4S, PLS and WPL, and saves ZPL (“unicode”) or M3U (UTF-8).
- FileInfo.com, .ZPL: a third-party summary, source of the “AC, NM and BR! are required” statement.
Where the two Inmatrix versions differ, the page says so: the blog omits ST. FileInfo
differs from the format page on whether AC is optional, and this page follows the maker.
The saved copies of every page read, with their SHA-256, are in the project’s
research/zpl-zoom/ folder.
Not described
Unknown
- Reference: which Unicode encoding the file uses (UTF-8, UTF-16 or another), and whether it starts with a byte order mark. Only “unicode text” is said. The viewer reads a byte order mark if there is one and otherwise UTF-8.
- Reference: the line end (CRLF or LF). The viewer accepts both.
- Reference: whether a reader accepts tags in either case, trims spaces around
the
=or at the ends of a line, skips blank lines, or ignores a tag it does not know. Both cases occur in the maker’s own examples. - Reference: what a repeated tag in one entry does, and where the playlist-wide tags
may appear (the example puts
ACfirst). The viewer treatsAC,RN,SRandSAas never opening an entry wherever they are. - Reference: the values of
ST, and ofFTother than 6; whetherDRandFDmay hold fractions; whetherRNandSAtake a value or stand alone (the viewer accepts both); howACis matched to an entry (the viewer compares the whole text with eachNM). - Reference: whether tags exist that these pages do not list. The blog post drops
ST, so the list has changed at least once.
Specs not available
- Reference: a specification beyond Inmatrix’s two descriptions: none was found, and no playlist written by Zoom Player was found online to check them against. The program is a Windows installer and was not run or taken apart for this page.
Also used for
- Zune playlist – Windows Media Player playlist XML with Zune's own processing instruction and attributes.
Links
Software
- Zoom Player – Inmatrix’s media player, which reads and writes this format
Reference
- Zoom Player’s Playlist format – the format page
- The ZPL (Zoom Player Playlist) Format – the 2024 blog post
- Playlist Editor – the playlist formats the program reads and saves
- Zune playlist (ZPL) – the other format that uses the .zpl extension
- M3U – the plain list format Zoom Player also saves