~ knotless Search/
↑↓ move↵ open⇧↵ all results

geesawra.industries/hydraulophone

An unofficial YouTube Music app for iPhone, iPad, and Mac.

0
0
main
38 lines · 3.0 KB Raw History
# Metrolist lyrics reference

Reviewed 2026-09-24 at Metrolist commit
[`28fa8f042bfabb880bdecc0d9fa37e86cf72b90e`](https://github.com/MetrolistGroup/Metrolist/commit/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e).
This is a protocol and product comparison, not a runtime dependency. No Kotlin
code was copied.

Metrolist's [default provider order](https://github.com/MetrolistGroup/Metrolist/blob/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e/app/src/main/kotlin/com/metrolist/music/lyrics/LyricsProviderRegistry.kt)
starts with BetterLyrics, then LRCLIB, and ends with YouTube subtitles followed
by YouTube Music. Its [coordinator](https://github.com/MetrolistGroup/Metrolist/blob/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e/app/src/main/kotlin/com/metrolist/music/lyrics/LyricsHelper.kt)
tries enabled providers sequentially, accepts the first successful text, and
sets an eight-second timeout per provider and 25 seconds overall. Users can
reorder providers.

The primary timed source, [BetterLyrics](https://github.com/MetrolistGroup/Metrolist/blob/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e/app/src/main/kotlin/com/metrolist/music/betterlyrics/BetterLyrics.kt),
requests TTML from a separate lyrics service with title, artist, duration, and
album, then converts it to LRC. Metrolist's [LRCLIB adapter](https://github.com/MetrolistGroup/Metrolist/blob/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e/app/src/main/kotlin/com/metrolist/lrclib/LrcLib.kt)
uses `/api/search` with up to five progressively broader queries. Its
[duration-known selection](https://github.com/MetrolistGroup/Metrolist/blob/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e/app/src/main/kotlin/com/metrolist/lrclib/models/Track.kt)
prefers synchronized lyrics within five seconds of the track duration, but
does not recheck title and artist for that branch. This improves coverage at
the cost of possible wrong-version matches. Metrolist's [YouTube lyrics path](https://github.com/MetrolistGroup/Metrolist/blob/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e/innertube/src/main/kotlin/com/metrolist/innertube/YouTube.kt#L3053-L3064)
parses plain `musicDescriptionShelfRenderer` runs from WEB_REMIX `browse`;
separate YouTube captions can supply timed transcript cues. The repository
does not demonstrate reliable timed *lyrics browse* with browser-cookie
authentication.

Metrolist [persists](https://github.com/MetrolistGroup/Metrolist/blob/28fa8f042bfabb880bdecc0d9fa37e86cf72b90e/app/src/main/kotlin/com/metrolist/music/playback/MusicService.kt#L874-L897)
the selected text and provider, including a not-found sentinel, in Room by
video ID. Its coordinator also keeps a three-entry in-memory cache for
alternative provider results.

Hydraulophone retains the replaceable `LyricsProviding` boundary. Following
the feature decision, BetterLyrics is first for available word-timed TTML,
LRCLIB is second for line-timed LRC, and static YouTube Music lyrics remain the
last source. LRCLIB uses exact metadata matching and at most one conservative
search after an exact miss or plain result. We do not adopt Metrolist's broad
search or duration-only candidate acceptance.