Interface ConstructorConfig

Config to pass to librespot instance

Hierarchy

  • ConstructorConfig

Properties

auth: Partial<AuthDetails>

Authentication config

backend?: string

Librespot backend to use (Default rodio) Possible values rodio, pipe, subprocess

bitrate?: "96" | "160" | "320"

Bitrate to use. Possible values 96, 160, 320

cache?: CacheConfig

Cache config

connectConfig?: Partial<ConnectConfig>

Spotify connect config (Works only wit SPIRC player)

gapless?: boolean

Enable gapless playback (Default false)

logLevel?: "debug" | "info" | "trace" | "warn" | "error"
normalizationConfig?: Partial<NormalizationConfig>

Volume normalization config

passThrough?: boolean
pos_update_interval?: number

Interval at which player position is updated. (milliseconds)

volumeCtrl?: "cubic" | "fixed" | "linear" | "log"

Mixer volume control type

Generated using TypeDoc