Skip to main content

Interface: SourceCapabilities

Features implemented by a source and advertised to the host.

Properties

supportsSearch

supportsSearch: boolean

Whether ISourcePlugin.search is supported.


supportsBrowse

supportsBrowse: boolean

Whether ISourcePlugin.browse accepts the source's own previously returned container IDs and returns their direct children.


supportsTypeFilter

supportsTypeFilter: boolean

Whether the source can apply the types criterion.


supportsGenreFilter

supportsGenreFilter: boolean

Whether the source can apply TMDB genre filters.


supportsYearFilter

supportsYearFilter: boolean

Whether the source can apply production-year filters.


supportsTmdbLookup

supportsTmdbLookup: boolean

Whether the source applies direct TMDB criteria such as targetTmdbId and parentTmdbId. This is independent from host enrichment of returned items.


supportsPlaybackVariants?

optional supportsPlaybackVariants?: boolean

The source can expand one logical media item into several playback variants when search receives isSourceSelection: true.


supportedSorts?

optional supportedSorts?: SourceSortOption[]

Sort modes applied by the source before pagination.


supportedTypes

supportedTypes: SourceMediaType[]

Container and media types returned by this source. Generic playable videos use video, set isContainer: false, and are resolved like any other item.