Introduction
A .wpl file is a playlist saved by Windows Media Player, introduced with
version 9 in the early 2000s. It is XML in the style of SMIL, the W3C’s multimedia
language, and lists media files by path along with the playlist’s title and some
settings.
Structure
The file starts with a processing instruction <?wpl version="1.0"?>.
The root element is smil. Its head holds
meta elements (such as the generator and item count) and a
title. Its body holds a seq element, in which
each media element gives one file in its src attribute,
usually as a path relative to the playlist.
<?wpl version="1.0"?>
<smil>
<head>
<meta name="Generator" content="Microsoft Windows Media Player"/>
<title>Road trip</title>
</head>
<body>
<seq>
<media src="..\Music\First Song.mp3"/>
<media src="..\Music\Second Song.mp3"/>
</seq>
</body>
</smil>
A playlist can also be dynamic: instead of files, its seq holds a
query that the Player runs against its library. The reference pages cover the
file structure and
smart playlists.
Not described
These pages follow Microsoft’s Windows Media Playlist Elements Reference and the IANA registration of
application/vnd.ms-wpl. The explorer has no WPL viewer.
Known, not yet covered
- Viewer: there is no WPL plugin: the playlist and its smart-playlist queries are not read.
Unknown
- Reference: the meta names
ItemCount,TotalDurationandAverageRatingcome from third-party examples, not from Microsoft. - Reference: extra media attributes such as
albumTitleandtrackTitlewere looked for and not confirmed, so they are left out. - Reference: whether names are case-sensitive; Microsoft does not say.
Links
Software
- Windows Media Player – Microsoft’s media player, built into Windows, which makes and opens WPL playlists (Windows)
- VLC media player – free player for almost any audio or video file (Windows, macOS, Linux, mobile)
Reference
- Windows Media Playlist Elements Reference – Microsoft’s definition of every WPL element