fix(qobuz): 403 circuit breaker + prefetch backoff; header tooltips
Issue #637: a Qobuz outage + forced re-login left a user's account transiently 403'd, and the no-backoff prefetch retry storm escalated it into a per-IP edge/WAF block (the "error decoding response body" lines are that non-JSON WAF body hitting a bare .json()). The bundle bump b019->b034 is exonerated: extraction yields byte-identical app_id/secret/private_key. - ForbiddenBreaker: after repeated 403s the hot streaming/favorites paths short-circuit without touching the network, with an exponential cooldown and a half-open probe; success resets it. - get_stream_url: typed 401/403 + body preview; abort the quality fallback loop on 403/401/breaker-open instead of firing all five qualities. - CMAF session/start + file/url: feed the breaker, map 403. - get_favorites + qws/createToken: check status before .json() so a 403 surfaces as a 403, not a misleading "error decoding response body". - Prefetch: per-track failure cooldown (negative cache) so a failed track is not re-hammered every queue tick. - Audible path: a 403/back-off no longer counts as an "unavailable" skip; stop cleanly with a toast. - QBZ_FORCE_403 test hook to smoke the back-off path on a healthy account. - Header action-button tooltips for AlbumView/ArtistView/PlaylistView, translated across all 8 locales. cc
This commit is contained in:
19 files changed
+770
-17
No files matched your search
@@ -4633,3 +4633,44 @@ msgstr "Из каталога"
|
||||
|
||||
msgid "In library"
|
||||
msgstr "В библиотеке"
|
||||
|
||||
# Issue #637: header action-button tooltips + 403 back-off toast
|
||||
msgid "Add to favorites"
|
||||
msgstr "Добавить в избранное"
|
||||
|
||||
msgid "Remove from favorites"
|
||||
msgstr "Удалить из избранного"
|
||||
|
||||
msgid "Start radio"
|
||||
msgstr "Запустить радио"
|
||||
|
||||
msgid "Booklet"
|
||||
msgstr "Буклет"
|
||||
|
||||
msgid "Add to Mixtape"
|
||||
msgstr "Добавить в Mixtape"
|
||||
|
||||
msgid "Album info"
|
||||
msgstr "Об альбоме"
|
||||
|
||||
msgid "More options"
|
||||
msgstr "Ещё"
|
||||
|
||||
msgid "Follow artist"
|
||||
msgstr "Подписаться на исполнителя"
|
||||
|
||||
msgid "Unfollow"
|
||||
msgstr "Отписаться"
|
||||
|
||||
msgid "Artist network"
|
||||
msgstr "Сеть исполнителя"
|
||||
|
||||
msgid "Upload to Qobuz"
|
||||
msgstr "Загрузить в Qobuz"
|
||||
|
||||
msgid "Select tracks"
|
||||
msgstr "Выбрать треки"
|
||||
|
||||
msgid "Qobuz is temporarily refusing requests — backing off. Try again shortly."
|
||||
msgstr "Qobuz временно отклоняет запросы — пауза. Повторите попытку чуть позже."
|
||||
|
||||
Reference in new issue
Block a user