Skip to content

fix(simkl): CDN v2, Retry-After+jitter, watchlist extended, poster wsrv - #1357

Open
GaintCatPerson wants to merge 1 commit into
harborstremio:beta-branchfrom
GaintCatPerson:fix/simkl-v2-and-patch
Open

GaintCatPerson wants to merge 1 commit into
harborstremio:beta-branchfrom
GaintCatPerson:fix/simkl-v2-and-patch

Conversation

@GaintCatPerson

@GaintCatPerson GaintCatPerson commented Sep 1, 2026

Copy link
Copy Markdown

P0

  • calendar.ts + home-rails/cdn.ts: migrate data.simkl.in/calendar/{file}.json/calendar/v2/{file}.json (legacy deprecated 2027-02-01, will go stale — verified both 200 HIT via curl).
  • client.ts: respect Retry-After (seconds or HTTP-date) on 429/500/502/503, add 0-1000ms jitter to exp backoff (spec rate-limits requires it).

P1

  • watchlist.ts: fetchByStatusRaw .../all/{status}.../all/{status}?extended=full for richer payloads (poster/year/ids).
  • calendar.ts: poster simkl.in/posters/{id}_m.jpgwsrv.nl/?url=https://simkl.in/posters/{id}_m.webp&q=90 per conventions/images.md (free resize/cache, correct .webp).

notes

  • simkl-api-key header is alternative to ?client_id= (spec headers.md), Harbor sends both — valid.
  • No tsc baseline change (node_modules missing, brace-count + 200 curl verified).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant