Windows Media Player SDK banner art
PreviousNext

PLAYLIST.columns

The columns attribute defines the columns that appear in the Playlist control.

Syntax

elementID.columns

Possible Values

This attribute is a read/write String in the following format:

DB_NAME=FRIENDLY_NAME;DB_NAME=FRIENDLY_NAME; etc…

where FRIENDLY_NAME is the value shown in the column header of the Playlist control, and DB_NAME is a value from the following table. Note that a Playlist item might be a media item from the media library or from a CD, or it might be another Playlist that is either user-created or taken from a CD. Some columns are valid only with certain Playlist items as indicated in the Description column.

Value Description
Album The name of the album. Used with media items only.
Artist The name of the artist. Not used with user-created Playlists.
Author The name of the artist.
Bitrate The bit rate of the content. Used only with media items from the media library.
CDTrackEnabled Indicates whether the CD track is enabled. Used only with CD media items.
Checked Reserved for future use.
Copyright The copyright of the Playlist item. Not used with CD playlists or media items.
CreationDate The date and time that the entry in the media library was created. Used only with items from the media library.
DigitallySecure Indicates whether the item is protected with Windows Media Rights Manager. Used only with media items from the media library.
Duration The duration of the media item.
FileType Reserved for future use.
Genre The genre of the Playlist item. Not used with playlists from CDs.
MediaAttribute Reserved for future use.
MediaType The type of the media item (audio or video).
MetadataSource The source of the metadata for this CD track (AMG, WindowsMedia.com, etc.). Used only with CD media items.
ModifiedBy Reserved for future use.
Name The name of the Playlist item.
OriginalIndex If applicable, the corresponding CD track identifier. Used only with CD media items.
PlayCount The number of times the content has been played through to the end. Used only with media items from the media library.
PlaylistAttribute Reserved for future use.
Rating Reserved for future use.
SourceURL The path or URL to the content. Used only with media items from the media library.
Status The copying status of a CD track being copied. Used only with CD media items.
Style Reserved for future use.
TOC If applicable, the corresponding CD Table of Contents Indentifier. Not used with user-created Playlists.

Remarks

If one of the columns does not exist in the database, it is left blank.

A maximum of 31 columns may be specified.

If you specify a duplicate column, the data in the first column will be left-aligned but all other duplicate columns will be right-aligned. For example, if you have two duration columns, the data will be left-aligned in the first and right-aligned in the second.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.