@ctrl/plex
    Preparing search index...

    Interface LibrarySectionEditOptions

    Values accepted by LibrarySection.edit.

    Use this for section-level edits where Plex expects the full replacement list of locations. For simple path changes, prefer LibrarySection.addLocations and LibrarySection.removeLocations; they preserve the current paths for you.

    interface LibrarySectionEditOptions {
        agent?: string;
        locations?: string | readonly string[];
        preferences?: Record<string, SettingValue>;
    }
    Index
    agent?: string

    Library agent identifier. Defaults to the section's current agent.

    locations?: string | readonly string[]

    Full replacement list of folder paths for this library section.

    preferences?: Record<string, SettingValue>

    Additional section edit parameters or Plex preference keys. Boolean values are sent as 1 or 0.