Repository navigation
Overseerr integration (exclude requested/available + request on match) - #18
Merged
Merged
Conversation
… match)
- services/overseerr.ts: best-effort, KV-cached (1h) set of tmdb ids already in the
Overseerr pipeline (pending/processing/available via /api/v1/media); createRequest
via POST /api/v1/request (tv -> seasons: all)
- deck: exclude Overseerr requested/available titles from what's served (getDeckForUser)
- POST /api/rooms/:id/request ('Add to Overseerr' on match), auth-gated
- Env: OVERSEERR_URL + OVERSEERR_API_KEY (secrets, optional); feature inert if unset
- frontend: 'Add to Overseerr' button on the match screen
- health -> v3.0
Tested local (unconfigured): deck unaffected, request -> not_configured (502), auth 403.
Live Overseerr test pending reachability + URL/key.
- send CF-Access-Client-Id/Secret when set (for Overseerr behind Cloudflare Access/Zero Trust) - keeps working without Access (plain tunnel) when unset - .dev.vars.example: OVERSEERR_URL/KEY + optional CF_ACCESS_CLIENT_ID/SECRET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overseerr integration (best-effort, opt-in via secrets)
tmdbId(fromGET /api/v1/media), KV-cached ~1h. So "what we already have / already asked for" stops showing up.POST /api/rooms/:id/request→ OverseerrPOST /api/v1/request(TV → all seasons). Cache invalidated so it drops out of decks quickly.OVERSEERR_URL+OVERSEERR_API_KEY(never in code/frontend). If unset, the feature is inert — no exclusion, request returnsnot_configured.Verified local (unconfigured)
request→not_configured(502), stranger → 403 ✅Pending (needs your setup)
Overseerr must be reachable from the internet (the Worker runs in the cloud). Once we confirm reachability and set
OVERSEERR_URL+OVERSEERR_API_KEY, I'll run the live test (exclusion + a real request).