Interface PlaylistContents

Represents the contents of a playlist

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

Properties

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, any, any>

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