Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MusicTrackConstructor

MusicTrack Data Constructor

Interface for data parameter used when creating a new MusicTrack

Hierarchy

  • MusicTrackConstructor

Index

Properties

audio?: Audio[]

Audio data

author: Author | Author[]

Author/artist of track

duration: number

Duration of the track in seconds

explicit?: any

Is the track explicit?

id?: string

Service's ID of track

live?: boolean

Is the track live?

name: string

Name of track

originalData: any

The original/raw data recieved when making the request

playlisted?: boolean

Is the track in a playlist? Set true wehn adding to MusicPlaylist.tracks

queuedBy?: any

Reference of who queued the track

resolvedTo?: Service

Is the track unstreamable (e.g. a Spotify track) and was the audio replaced by an alternative source's audio?

service: Service

Service which is hosting the track

thumbnail: string

URL of thumbnail

url: string

Friendly URL of track

Generated using TypeDoc