Discord Player

PlaylistJSON

JSON-compatible Playlist representation.

You are reading the v8 docsDev
InterfaceTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/structures/playlist.ts:41
interface PlaylistJSON

JSON-compatible Playlist representation.

Properties

id

id: string

Stable source playlist identifier.

url

url: string

Source page URL.

title

title: string

Display title.

description

description: string

Playlist description.

thumbnail

thumbnail: string

Thumbnail URL.

type

type: "album" | "playlist"

Album or playlist classification.

source

source: string

Source name.

author

author: {
  name: string;
  url: string;
}

Playlist author name and source URL.

tracks

tracks: TrackJSON<unknown>[]

JSON-compatible playlist entries.

On this page