Skip to main content

Constructor

Returns

BaseProvider<P>

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
Resolvers that this provider supports.
required
Provide a method that checks whether this provider supports a certain ID.

Methods

getSources()

Fetch sources for a certain media.

Parameters

required
Return object of the resolver’s resolve() method.
ProviderResultEmitter
required
The result emitter.

Returns

Promise<ProviderResult>
Last modified on July 27, 2026