MediaMetadata Class

Provides an index into the media metadata properties that have been defined.

Syntax

public sealed class MediaMetadata : System.Collections.Generic.Dictionary<string,object>

Remarks

The information that is retrieved depends on the current media experience. If the current experience is Live TV, the property is null.

The properties in the collection vary depending on the current media context, as shown in the following table:

Context Property Description
album AlbumArtist Name of the album artist
  AlbumTitle Name of the album
  Genre Name of the musical genre
  Label Name of the recording label
  ReleaseDate Release date of the album
artist AlbumArtist Name of the recording artist
genre Genre Name of the musical genre
playlist Name Name of the playlist
  URL Name of the playlist file
song AlbumArtist Name of the album recording artist
  AlbumTitle Title of the album
  Genre Genre of the music
  Label Name of the recording label
  ProductionCompany Name of the music production company
  ReleaseDate Date when the album was released
  TrackArtist Name of the artist who recorded the currently playing track
  TrackComposer Name of the composer of the currently playing track
  TrackDuration Total length, in seconds, of the currently playing track
  TrackNumber Number of the currently playing track
  TrackTitle Title of the currently playing track
  Uri URI of the audio file
DVD Name Name of the DVD
  ChapterTitle Title of the currently playing chapter
  Duration Total length, in seconds, of the video
  Uri URI of the DVD media or files
  MPAARating Parental advisory rating of the video
video Name Name of the video
  Title Title of the video
  Duration Total length, in seconds, of the video
  MPAARating Parental advisory rating of the video
  Title Title of the video
  Uri Uri of the video file
picture Name The path and filename of the image
DVR Name Name of the video
  Title Title of the video
  Duration Total length, in seconds, of the video
  Uri URI of the video file

See Also