update_library_sections_by_section_id_all
Apply bulk metadata edits to filtered items in a Plex library section by setting field values, locking fields, or updating tags and artist/album associations.
Instructions
Set the fields of the filtered items.
PUT /library/sections/{sectionId}/all
Args:
section_id: The id of the section
type: The media type to filter by
filters: The filters to apply to determine which items should be modified
field_value: Set the specified field to a new value
field_locked: Set the specified field to locked (or unlocked if set to 0)
title_value: This field is treated specially by albums or artists and may be used for implicit reparenting.
artist_title_value: Reparents set of Tracks or Albums - used with album.title.* in the case of tracks
artist_title_id: Reparents set of Tracks or Albums - used with album.title.* in the case of tracks
album_title_value: Reparents set of Tracks - Must be used in conjunction with artist.title.value or id
album_title_id: Reparents set of Tracks - Must be used in conjunction with artist.title.value or id
tagtype_idx_tag_tag: Creates tag and associates it with each item in the set. - [idx] links this and the next parameters together
tagtype_idx_tagging_object: Here object may be text/thumb/art/theme - Optionally used in conjunction with tag.tag, to update association info across the set.
tagtype_tag_tag: Remove comma separated tags from the set of items
tagtype_tag: Remove associations of this type (e.g. genre) from the set of items
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| filters | No | ||
| section_id | Yes | ||
| field_value | No | ||
| tagtype_tag | No | ||
| title_value | No | ||
| field_locked | No | ||
| album_title_id | No | ||
| artist_title_id | No | ||
| tagtype_tag_tag | No | ||
| album_title_value | No | ||
| artist_title_value | No | ||
| tagtype_idx_tag_tag | No | ||
| tagtype_idx_tagging_object | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |