@ctrl/plex
    Preparing search index...

    Interface CreateSmartPlaylistOptions

    interface CreateSmartPlaylistOptions {
        filters?: Record<string, boolean | number | string>;
        limit?: number;
        section?: LibrarySection<unknown>;
        smart: true;
        sort?: string;
    }
    Index

    Properties

    filters?: Record<string, boolean | number | string>

    Smart playlists only, a dictionary of advanced filters. See Section.search for more info.

    limit?: number

    Smart playlists only, limit the number of items in the playlist.

    section?: LibrarySection<unknown>

    Smart playlists only, the library section to create the playlist in.

    smart: true

    True to create a smart playlist

    sort?: string

    Smart playlists only, a string of comma separated sort fields or a list of sort fields in the format column:dir. See Section.search for more info.