Discolink
    Preparing search index...

    Class Track<UserData, PluginInfo>

    Type Parameters

    Index

    Constructors

    Properties

    id: string

    Id of the track

    title: string = "Unknown Track"

    Title of the track

    author: string = "Unknown Author"

    Author of the track

    isLive: boolean = false

    Whether the track is a stream

    isSeekable: boolean = false

    Whether the track is seekable

    duration: number = 0

    Duration of the track in milliseconds

    formattedDuration: string = "00:00"

    Formatted duration of the track

    uri: string | null = null
    isrc: string | null = null
    url: string | null = null

    URL of the track

    artworkUrl: string | null = null

    Artwork URL of the track

    userData: UserData = ...

    User data of the track

    pluginInfo: PluginInfo = ...

    Additional info from plugins

    encoded: string

    Encoded string representation of the track

    sourceName: string = "unknown"

    Name of the source of this track

    Methods