Interface: SourceSearchCriteria
Search, filtering, and lookup values passed to a source addon.
Properties
query?
optionalquery?:string
Free-text query entered by the user.
types?
optionaltypes?:SourceMediaType[]
Media types that may be returned.
genreTmdbIds?
optionalgenreTmdbIds?:number[]
TMDB genre identifiers that returned items should match.
year?
optionalyear?:number
Four-digit production or release year.
sortBy?
optionalsortBy?:SourceSortOption
Sort mode requested by the host.
limit?
optionallimit?:number
Maximum preferred number of logical items in the page.
parentTmdbId?
optionalparentTmdbId?:number
TMDB identifier of the parent series or container.
parentSeason?
optionalparentSeason?:number
Season number of the requested parent context.
parentEpisode?
optionalparentEpisode?:number
Episode number of the requested parent context.
parentTitle?
optionalparentTitle?:string
Human-readable parent title for sources without a stable metadata ID.
targetTmdbId?
optionaltargetTmdbId?:number
Direct TMDB lookup target.
targetImdbId?
optionaltargetImdbId?:string
Direct IMDb lookup target.
targetSourceItemId?
optionaltargetSourceItemId?:string
Opaque item ID previously returned by this source for the selected media. During source selection, prefer this value over an enriched or localized title when it belongs to the receiving source.
isSourceSelection?
optionalisSourceSelection?:boolean
Whether the request is selecting playback for a known item. Sources that advertise playback variants should return one playable item per variant.
noEnrich?
optionalnoEnrich?:boolean
Whether the host asks the source to avoid optional metadata enrichment.
noFacets?
optionalnoFacets?:boolean
Whether the source may omit expensive facet computation.