Fall back to LRCLIB for lyrics Yandex doesn't have

When Yandex answers "no lyrics" for a track, the lyrics tab now asks
LRCLIB (lrclib.net), an open lyrics database that needs no key. The
exact match by title, artist, album and length comes first; when that
is plain text, or missing, search picks a synced copy of the same
recording (within 3 s of its length). Speech and instrumentals get none.

- LRCLIB's /get answers 503 "ServerOverloaded" now and then: busy
  answers are retried twice, briefly, and a busy /get falls through to
  search.
- LRCLIB errors never map to Unauthorized, so they can't sign the user
  out of Yandex.
- Lyrics from LRCLIB carry a "Lyrics from LRCLIB" credit at the end of
  the list, and the empty state no longer blames Yandex alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yuriy.pandClaude Opus 5.5 committed 2026-10-19 12:04:50 +06:00
1 parent 39aed49b88
commit 81fce4a335
8 files changed
+241 -10

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ your phone (or a pasted token), Home (My Wave, recently played, personal playlis
chart, new releases, genres), My Wave with its mood, character and language settings and
other stations, search with suggestions and paged results, Collection (liked tracks,
albums, artists, playlists, clips), album, artist, playlist, genre and podcast pages, and a
Now Playing screen with the queue and synced lyrics. Tracks can be liked, disliked, queued
Now Playing screen with the queue and synced lyrics (from [LRCLIB](https://lrclib.net) when
Yandex has none). Tracks can be liked, disliked, queued
next or last, added to playlists, and used to start similar tracks; your own playlists can
be created, renamed, made public or private, reordered and deleted. Playback runs in a media
session, so it keeps going in the background and answers the remote's media keys. While