Interface Metadata

Song's metadata

interface Metadata {
    album?: string;
    artist?: string;
    length?: number;
    lyricsType?: LyricType;
    track?: string;
    trackId?: string;
}

Properties

album?: string

Song's album

artist?: string

Song's artist(s)

length?: number

Song's duration (in ms)

lyricsType?: LyricType

An array of lyric types to fetch

track?: string

Song's name

trackId?: string

Song's ID (returned by getTrackId)