Skip to content

feat(stremio): add AIOStreams integration; deprecate built-in Prowlarr#720

Open
javi11 wants to merge 5 commits into
mainfrom
session/cool-bartik-587717
Open

feat(stremio): add AIOStreams integration; deprecate built-in Prowlarr#720
javi11 wants to merge 5 commits into
mainfrom
session/cool-bartik-587717

Conversation

@javi11

@javi11 javi11 commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • AIOStreams sidecar: adds docker-compose.stremio.yml for optional ghcr.io/viren070/aiostreams container; a pure-sh entrypoint reads AltMount's shared config file and auto-wires ALTMOUNT_URL/ALTMOUNT_API_KEY at container startup — no manual URL/key configuration needed
  • ServiceAPIKey: auto-generated 32-byte hex key added to StremioConfig; written to config/shared/aiostreams-init.json on startup; accepted by POST /api/nzb/streams (X-Api-Key header) and by validateDownloadKey for stream URL auth
  • /api/stremio/setup endpoint: returns AIOStreams UI URL, addon URL, NZB streams URL, and service API key for the frontend onboarding wizard
  • Prowlarr deprecated: deprecated: true field added to Prowlarr config and API response; built-in functionality kept working but clearly marked deprecated
  • Frontend wizard: StremioConfigSection rewrites with an AIOStreams "Recommended" card (3-step guide, live addon URL, one-click Stremio install), Prowlarr moved to a collapsible <details> with a Deprecated badge

Test plan

  • Start with docker compose -f docker-compose.yml -f docker-compose.stremio.yml up -d; confirm AIOStreams container starts with correct env vars
  • Enable Stremio in config; confirm config/shared/aiostreams-init.json is written with correct URL and service key
  • GET /api/stremio/setup (authenticated) returns AIOStreams URLs and service key
  • POST /api/nzb/streams with X-Api-Key: <service_key> returns 200; with bad key returns 401
  • Stremio stream URL generated using service key hash resolves correctly
  • Frontend: Stremio enabled → AIOStreams card visible with setup guide; addon URL appears after AIOStreams is running
  • Frontend: Prowlarr collapsible is collapsed by default, shows Deprecated badge, still configurable
  • Existing per-user Prowlarr addon URL still works (backward compat)

javi11 added 5 commits June 22, 2026 14:17
…ed collapsible

- StremioConfigSection: add AIOStreams recommended card with 3-step setup guide
- Fetch /api/stremio/setup via useQuery to show live AIOStreams UI/addon URLs
- Move Prowlarr to collapsible <details> with Deprecated badge and warning alert
- Add StremioSetupResponse type and getStremioSetup() to API client
- Add deprecated: boolean to ProwlarrConfig; add service_api_key to StremioConfig
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