0.6.13: Fix watermark maintenance jobs, honest buy-link write reporting, Qobuz 403 diagnosis
scrub-watermark-text.py crashed on every run (missing import os). strip-watermark-art.py was starved every Sunday by lock contention from strip-mb-tags' growing runtime -- moved it to 01:00 so the rest of the weekly chain has room. enrich-buy-url.py's summary line counted matches found, not successful writes, so a run where every metaflac write failed (root-owned files) still reported "N tagged". pipeline-status.sh now tells a 403 from Qobuz (Akamai/CDN block) apart from a 401 (actually expired token) -- re-exporting the token does nothing for the former. Also fixes the dedup review table's "Caught by" badge overflowing into the Keep column's format pill.
This commit is contained in:
@@ -425,6 +425,14 @@ PYEOF
|
||||
case "$q_code" in
|
||||
200) mark_ok "Qobuz token" "valid (buy-link lookup live)" ;;
|
||||
401) mark_warn "Qobuz token" "EXPIRED — re-export X-User-Auth-Token to ${ALEMBIC_CONFIG_DIR:-/config}/pipeline/qobuz/token" ;;
|
||||
# A genuinely expired/bad token gets a JSON 401 from Qobuz's own API.
|
||||
# 403 instead means the request never reached that code at all -- Qobuz's
|
||||
# Akamai edge is rejecting the request outright (seen 2026-07-22: the
|
||||
# exact same request got this "Access Denied"/edgesuite.net block from
|
||||
# alembic's VPN egress IP, but a clean 401 from a non-VPN IP). Re-
|
||||
# exporting the token does nothing for that -- it's the egress IP's
|
||||
# reputation, not the credential. Say so, so it isn't mistaken for 401.
|
||||
403) mark_warn "Qobuz token" "blocked (HTTP 403, likely Akamai/CDN, not the token) — VPN egress IP may be flagged; re-exporting the token won't fix this" ;;
|
||||
*) mark_warn "Qobuz token" "check failed (HTTP ${q_code:-none})" ;;
|
||||
esac
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user