Song

Song

Represents a song.

Constructor

new Song(video, queue)

Parameters:
Name Type Description
video Video

The Youtube video

queue Queue

The queue in which the song is

Members

author :string

Author channel of the song.

Type:
  • string

duration :Number

Song duration.

Type:
  • Number

name :string

Song name.

Type:
  • string

queue :Queue

The queue in which the song is

Type:

raw :Object

Raw informations about the song.

Type:
  • Object

rawVideo :Video

Raw video object from Simple Youtube API

Type:
  • Video

thumbnail :string

Youtube video thumbnail.

Type:
  • string

url :string

Youtube video URL.

Type:
  • string