mirror of
https://github.com/Horizontal42/Sort_YM.git
synced 2026-11-10 15:42:02 +03:00
with_retries caught bare Exception with a type whitelist, masking real bugs as network errors under retry/backoff - narrowed back to NetworkError. fetch_api_languages was writing full lyrics text for every language into lyrics_text.json via its track_supplement side channel, breaking the documented RU-only invariant and letting analyze feed foreign-language lyrics through the Russian-only prompt - now gated on normalize_api_language. dedupe_playlists logged the found duplicate count as "removed" even when a mid-loop network/API error cut deletion short. THEME_PATTERN's relaxed regex allowed 2-char themes, contradicting its own test; current_themes was hoisted out of the analyze loop so later prompts never saw themes found earlier in the same run. Both reverted to intended behavior, docs updated to match. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| analyze.py | ||
| apply.py | ||
| auth.py | ||
| classify.py | ||
| cli.py | ||
| config.py | ||
| digest.py | ||
| fetch.py | ||
| genres.py | ||
| language.py | ||
| lyrics.py | ||
| report.py | ||
| source.py | ||
| ymclient.py | ||