normalizeLyrics
Normalize and validate a lyrics record once, including sorted synchronized timestamps.
You are reading the v8 docsDev
FunctionTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/lyrics.ts:58function normalizeLyrics(result: LyricsResult): LyricsResultNormalize and validate a lyrics record once, including sorted synchronized timestamps.
Parameters
| Name | Type | Description |
|---|---|---|
| result | LyricsResult | Provider record. |
Returns
LyricsResult
Validated record with duplicate timestamps resolved deterministically.