Discolink
    Preparing search index...

    Class Playlist<PluginInfo>

    A class representing API Playlist

    Type Parameters

    Index

    Constructors

    Properties

    name: string = "Unknown Playlist"

    Name of the playlist

    selectedTrack: number = -1

    Index of a track this playlist's source URL pointed to

    tracks: Track<EmptyObject, EmptyObject>[] = []

    List of tracks this playlist contains

    pluginInfo: PluginInfo = ...

    Additional info from plugins

    duration: number = 0

    Total duration of this playlist in milliseconds

    formattedDuration: string = "00:00"

    Formatted total duration of this playlist

    Methods