MetadataPicture Object

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The MetadataPicture object provides a way to retrieve the values of the WM/Picture metadata attribute. This attribute corresponds to album art contained in a digital media file, not to album art downloaded over the Internet.

The MetadataPicture object supports the following properties.

Property Description
description Retrieves a description of the metadata image.
mimeType Retrieves the MIME type of the metadata image.
pictureType Retrieves the picture type of the metadata image.
URL Internal use only.

 

The MetadataPicture object is accessed through the following method.

Object Method
Media getItemInfoByType

 

For purposes of illustration, player.currentMedia.getItemInfoByType(name, language, index) is used in the reference syntax sections.

See also

Object Model Reference for Scripting