Skip to content

xtream media

alvit edited this page Oct 22, 2026 · 7 revisions

Xtream movies and series

English · العربية · বাংলা · Čeština · Deutsch · Español · فارسی · Français
עברית · हिन्दी · Bahasa Indonesia · Italiano · 日本語 · 한국어 · Nederlands · Polski
Português · Русский · ไทย · Türkçe · Українська · Tiếng Việt · 简体中文 · 繁體中文

Improvements

Configure the Xtream provider and load its live catalogue, then open Media Library. Movies and Series are separate lazy roots: opening the library does not download both catalogues. Opening a series loads its episode details. The existing shared-core Xtream parser creates identities and stream URLs; the classic adapter only handles presentation and request lifetime.

Each selection resolves its stable request again against the current account. Saved items omit the authenticated stream URL. A removed item cannot be revived from the adapter's prior resolved row. Replacing credentials/provider or closing the owner cancels outstanding work; stale responses cannot populate the next account's screen. Provider-supplied names and artwork remain provider data.

sequenceDiagram
  actor Viewer
  participant Library
  participant Adapter
  participant API as Xtream API
  Viewer->>Library: Movies / Series
  Library->>Adapter: Load selected root
  Adapter->>API: Authenticate + selected catalogue
  API-->>Library: Stable item metadata
  Viewer->>Library: Play item / episode
  Library->>Adapter: Resolve current item reference
  Adapter->>API: Current catalogue / series details
  API-->>Adapter: Current playable item
  Adapter-->>Library: URL in memory, owned by current account
Loading

The provider must allow the client's requests (CORS or the configured native transport), and the device must support the returned media. This is not an offline catalogue, cross-account migration, DRM bypass or new transcoder. Catalogue freshness costs a request on selection. Errors are reported through the existing localized library error; unavailable results do not start playback.

Run node tests/test_xtream_media.cjs for lazy roots, encoded credentials, secret-free saved requests, removed items and source cancellation, and node tests/test_provider_drivers.cjs for the actual provider lifecycle.


Source revision: f51bac7a. This documentation may describe changes awaiting release; use the matching build.

Clone this wiki locally