Discord Player

searchLyrics

Resolve lyrics through the same operation registry as source metadata.

You are reading the v8 docsDev
FunctionTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/lyrics.ts:125
function searchLyrics(
  plugins: PluginRegistry,
  input: string | Track<unknown>,
  signal?: AbortSignal,
): Promise<LyricsResult[]>

Resolve lyrics through the same operation registry as source metadata.

Parameters

NameTypeDescription
pluginsPluginRegistry

Shared registry.

inputstring | Track<unknown>

Track or raw query.

signal?AbortSignal

Caller lifetime.

Returns

Promise<LyricsResult[]>

Results in provider priority order, preferring explicit and source affinity.