@ctrl/plex
    Preparing search index...

    Interface SmartPlaylistSearchOptions

    interface SmartPlaylistSearchOptions {
        filters?: AdvancedSearchFilters;
        includeGuids?: boolean;
        libtype?: PlaylistItemLibtype;
        limit?: number;
        sort?: string | string[] | FilteringSort | FilteringSort[];
        where?: Record<string, SearchFilterValue>;
    }
    Index

    Advanced nested and/or filters.

    includeGuids?: boolean

    Include Plex GUID metadata in the persisted search.

    Media type searched by the smart playlist.

    limit?: number

    Maximum number of matching items.

    sort?: string | string[] | FilteringSort | FilteringSort[]

    One or more validated Plex sort fields.

    where?: Record<string, SearchFilterValue>

    Simple field filters such as { year: 2026, genre: 'Comedy' }.