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:
1 parent
39aed49b88
commit
81fce4a335
8 files changed
+241
-10
No files matched your search
@@ -208,10 +208,11 @@
|
||||
<string name="queue_next_up">Далее · %1$d</string>
|
||||
<string name="queue_empty">Очередь пока пуста. Здесь появятся треки, которые вы включите, и те, что за ними.</string>
|
||||
<string name="lyrics_play_first">Включите трек, чтобы увидеть его текст.</string>
|
||||
<string name="lyrics_none">У Яндекс Музыки нет текста этого трека.</string>
|
||||
<string name="lyrics_none">Текст этого трека не найден.</string>
|
||||
<string name="lyrics_failed">Не удалось загрузить текст. Проверьте подключение и попробуйте ещё раз.</string>
|
||||
<string name="lyrics_loading">Загружаем текст…</string>
|
||||
<string name="lyrics_writers">Авторы: %1$s</string>
|
||||
<string name="lyrics_source_lrclib">Текст из LRCLIB</string>
|
||||
<string name="notice_station_dry">Не удалось загрузить продолжение станции. Проверьте подключение и попробуйте ещё раз.</string>
|
||||
<string name="notice_too_many">Несколько треков подряд не удалось воспроизвести. Проверьте подключение и попробуйте ещё раз.</string>
|
||||
<string name="notice_skipped">Не удалось воспроизвести «%1$s», трек пропущен.</string>
|
||||
|
||||
Reference in new issue
Block a user