Skip to main content

Properties

Catalog of media this provider supports. It does not have to exist. If it does, it should be a list of media IDs. This does not get queried for source resolving, but more metadata about the provider.
boolean
required
Whether the provider will be used.
string
required
Provider ID. Must be unique.
string
required
Friendly name of the provider.
P
required
Resolver that this provider is bound to.
required
Provide a method that checks whether this provider supports a certain ID.

Methods

getSources()

Fetch sources for a certain request. The shape of request.meta is derived from the resolver’s resolve() return type.

Parameters

required
ProviderResultEmitter
required

Returns

Promise<ProviderResult>
Last modified on July 27, 2026