MusicTrack
Media metadata representing a music track.
example
{
type: 'musicTrack',
title: 'Photograph',
artist: 'Ed Sheeran'
}
Hierarchy
-
↳ MusicTrack
Index
Properties
Properties
Optional
albumArtist
• albumArtist? : undefined | string
The name of the artist who produced an album. For example, in compilation albums such as DJ mixes, the album artist is not necessarily the same as the artist(s) of the individual songs on the album.
Optional
albumTitle
• albumTitle? : undefined | string
The title of the album that the music track belongs to.
Optional
artist
• artist? : undefined | string
The name of the artist who created the track.
Optional
composer
• composer? : undefined | string
The name of the composer of the music track.
Optional
discNumber
• discNumber? : undefined | number
The disc number (counting from 1) that the music track belongs to in a multi-disc album.
Optional
images
• images? : WebImage[]
Inherited from MediaMetadata.images
List of images, e.g. a poster image, album cover, photo etc.
Optional
releaseDate
• releaseDate? : undefined | string
The date and/or time at which the music track was released, in ISO-8601 format.
Optional
title
• title? : undefined | string
The title of the music track.
Optional
trackNumber
• trackNumber? : undefined | number
The track number of the music track on an album disc. Typically track numbers are counted starting from 1, however this value may be 0 if it is a "hidden track" at the beginning of an album.
type
• type: "musicTrack"
Overrides MediaMetadata.type
Media type.