mpc-js
    Preparing search index...

    Class Status

    The current status of the player

    Index

    Constructors

    Properties

    audio?: string

    The format emitted by the decoder plugin during playback, format: "samplerate:bits:channels".

    bitDepth?: number
    bitRate?: number

    current bitrate in kbps

    channels?: number
    consume?: boolean
    duration?: number

    duration of the current song in seconds

    elapsed?: number

    total time elapsed within the current song in seconds

    error?: string
    mixrampdb?: number

    mixramp threshold in dB

    mixrampDelay?: number

    mixramp delay in seconds

    nextSong?: number

    index of the next song within the playlist

    nextSongId?: number

    playlist songid of the next song

    partition?: string

    the name of the current partition

    playlistLength?: number

    integer, the length of the playlist

    playlistVersion?: number

    31-bit unsigned integer, the playlist version number

    random?: boolean
    repeat?: boolean
    sampleRate?: number
    single?: boolean | "oneshot"
    song?: number

    index of the currently playing or stopped on song within the playlist

    songId?: number

    playlist songid of the currently playing or stopped on song

    state?: "play" | "stop" | "pause"
    updating?: number

    update job id

    volume?: number

    0-100

    xfade?: number

    crossfade in seconds