parseQRC

fun parseQRC(qrcXml: String, songDurationMs: Double, metadata: QrcMetadata? = null): List<Lyric>(source)

Parse a QRC document, either the <QrcInfos> envelope QQ Music returns or a bare QRC body.

metadata is optional and only used to drop opening lines that echo the song title or artist, which QQ Music routinely prepends to a lyric body.