create_smart_collection
Create a filter-based Plex collection that auto-updates using criteria like genre, year, rating, or actor. Specify filters, sort order, content type, and limit for dynamic media grouping.
Instructions
Create a smart (filter-based) collection that auto-updates.
library_name: exact library name (e.g. "Movies"). title: name for the collection. filters: dict of field/value pairs with optional operators. Operators are appended to the key: ">>" = greater than, "<<" = less than, "!" = not. Examples: {"genre": "Action"} -- genre is Action {"year>>": 2000} -- year greater than 2000 {"genre!": "Horror"} -- genre is not Horror {"genre": "Action", "year>>": 2000} -- both conditions Common fields: genre, year, decade, rating, audienceRating, contentRating, resolution, studio, label, director, actor. libtype: content type to filter (required for show libraries). "movie", "show", "episode", "season", "artist", "album", "track". sort: sort order (e.g. "titleSort", "year:desc", "rating:desc"). limit: max items (0 = unlimited).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_name | Yes | ||
| title | Yes | ||
| filters | Yes | ||
| libtype | No | ||
| sort | No | ||
| limit | No |