Type alias PlaylistContents

PlaylistContents: {
    folders: Playlist[];
    playlists: Playlist[];
    totalTracks: number;
    tracks: AsyncIterable<Track>;
}

Represents the contents of a playlist

Type declaration

  • folders: Playlist[]

    The folders in this playlist.

  • playlists: Playlist[]

    The playlists in this playlist.

  • totalTracks: number

    The total number of tracks in this playlist.

  • tracks: AsyncIterable<Track>

    The tracks in this playlist. This is an AsyncIterator as looking up track metadata may be slow when connected to the remote database.

Generated using TypeDoc