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:125function searchLyrics(
plugins: PluginRegistry,
input: string | Track<unknown>,
signal?: AbortSignal,
): Promise<LyricsResult[]>Resolve lyrics through the same operation registry as source metadata.
Parameters
| Name | Type | Description |
|---|---|---|
| plugins | PluginRegistry | Shared registry. |
| input | string | Track<unknown> | Track or raw query. |
| signal? | AbortSignal | Caller lifetime. |
Returns
Promise<LyricsResult[]>
Results in provider priority order, preferring explicit and source affinity.