Metadata Updates¶
Update the collection or playlist itself, or update the Plex media items selected by its builders. Put metadata options beside the builder, not inside its dictionary.
Choose what to update¶
| Target | Options | Playlist support |
|---|---|---|
| Collection display and visibility | collection_*, sort_title, content_rating, labels, themes |
No |
| Person metadata | tmdb_person |
Yes |
| Summary and artwork | Text, file, URL, and external metadata sources below | Yes |
| Media items inside a collection | item_*, non_item_remove_label |
No; overlays also unsupported |
For example, label changes the collection's labels, while item_label changes
labels on the selected media. These options update metadata; they do not replace
a builder that selects the items.
Collection display¶
| Attribute | Value / effect |
|---|---|
sort_title |
Display-sort string; a leading + promotes a collection and ~ demotes it |
content_rating |
Content-rating text |
collection_mode |
default: library default; hide: hide collection; hide_items: hide its items; show_items: show collection and items |
collection_order |
release, alpha, custom.asc, custom.desc, or a Plex search sort; manual collections only |
collection_filtering |
admin: server admin's view; user: current viewer's view; smart collections only |
Custom ascending/descending builder ordering requires one builder in the collection. Smart collections use their own filter sorting instead.
Labels¶
Values below are comma-separated label strings. Append and remove preserve other labels; synchronize replaces the collection's label set.
| Attribute | Effect |
|---|---|
label |
Append labels |
label.remove |
Remove the named labels |
label.sync |
Replace labels with the supplied set; blank removes all labels |
Visibility and themes¶
visible_library, visible_home, and visible_shared require Plex Pass.
Each accepts true, false, or a schedule to control
visibility on the Library Recommended tab, your Home tab, or shared users' Home
respectively. The values can therefore be booleans or schedule strings.
file_theme takes a local MP3 path; url_theme takes an MP3 URL. Both change the
collection's theme.
TMDb people¶
tmdb_person takes a TMDb person ID or actor name, as a YAML list or comma-separated
string for multiple people. Names use the first TMDb search result. The first
person supplies the biography and profile image, and the specified people can
also be used in Plex searches.
The other collection display, label, theme, and offset options are collection-only.
tmdb_person_offset offsets the selected search results. Its default is 0;
use a positive number to change the offset.
Summaries¶
All summary sources below work with collections and playlists.
| Attribute | Value / source |
|---|---|
summary |
Summary text |
letterboxd_description |
Letterboxd list URL; uses its description |
tmdb_biography |
TMDb person ID; uses the biography |
tmdb_description |
TMDb list ID; uses its description |
tmdb_summary |
TMDb movie/collection ID for movie libraries, or show ID for show libraries |
tvdb_description |
TVDb list URL; uses its description |
tvdb_summary |
TVDb movie/show ID or URL, according to library type |
Artwork sources¶
All artwork sources below work with collections and playlists. TMDb movie-library sources accept movie/collection IDs; show-library sources use show IDs. TVDb sources accept the corresponding movie/show ID or URL.
| Source | Poster option | Background option | Value |
|---|---|---|---|
| Public image URL | url_poster |
url_background |
Image URL |
| Local image | file_poster |
file_background |
File path |
| TMDb title | tmdb_poster |
tmdb_background |
TMDb movie/show/collection ID |
| TVDb title | tvdb_poster |
tvdb_background |
TVDb movie/show ID or URL |
| TMDb list | tmdb_list_poster |
- | TMDb list ID |
| TVDb list | tvdb_list_poster |
- | TVDb list URL |
| TMDb person | tmdb_profile |
- | TMDb person ID |
| Artwork | Public image URL | Local file |
|---|---|---|
| Logo | url_logo |
file_logo |
| Square art, used by some Plex clients | url_square_art |
file_square_art |
Asset lookup and source priority¶
When artwork is not specified, Kometa checks the
asset directories for a folder matching the collection
or playlist name, or name_mapping when set.
| Artwork | Supported asset names | Standard priority, highest first |
|---|---|---|
| Poster | poster.ext, cover.ext, default.ext, folder.ext, movie.ext |
url_poster, file_poster, tmdb_poster, tvdb_poster, assets, tmdb_person, tmdb_collection_details, other _details methods |
| Background | background.ext, art.ext, backdrop.ext, fanart.ext |
url_background, file_background, tmdb_background, tvdb_background, assets |
| Logo | logo.ext, clearlogo.ext |
url_logo, file_logo, assets |
| Square art | square.ext, square_art.ext, squareArt.ext, backgroundSquare.ext |
url_square_art, file_square_art, assets |
prioritize_assets moves assets to the top of these priority lists.
Person-image validation and fallback
People-Images URLs are checked before selection. Missing images log a warning
and fall back to the next poster source, such as the profile from tmdb_person.
Existing images retain their usual priority. Successful and missing-image
checks are cached for the run and checked again next run; each distinct URL
requires a HEAD request. Rate-limit, server, and network failures also fall
back, but are logged as validation failures rather than confirmed missing
images, and temporary failures are not cached.
Collection examples¶
Selects Action movies, assigns a literal summary, and appends two labels to
the collection. The comma-separated label string does not label the movies.
Collects Robin Williams' acting credits and uses his TMDb biography/profile for the collection. The numeric person ID is used by both the builder and metadata option for different purposes.
Uses local poster and background files and promotes the collection to your
Home tab. true is an unquoted boolean and Home visibility requires Plex Pass.
Replace the file paths with your own images.
Media item updates¶
Collection items only
Item updates affect the selected media, rather than the collection itself. They are not supported for playlists or overlays. Most options below apply to movies/shows; show-only and Music exceptions are noted explicitly.
Maintenance and artwork¶
| Attribute | Effect | Values / default |
|---|---|---|
item_analyze |
Run Plex Analyze | true, false |
item_assets |
Look for assets for each selected movie/show | true, false |
item_refresh |
Refresh item metadata | true, false |
item_refresh_delay |
Wait between metadata refreshes | Positive delay; default 0 |
item_lock_background |
Lock or unlock background | true, false, or leave blank |
item_lock_poster |
Lock or unlock poster | true, false, or leave blank |
item_lock_square_art |
Lock or unlock square art | true, false, or leave blank |
item_lock_title |
Lock or unlock title | true, false, or leave blank |
Ratings and edition¶
| Attribute | Effect | Values / default |
|---|---|---|
item_audience_rating |
Set audience rating | Number between 0.0 and 10.0 or blank to erase the rating |
item_critic_rating |
Set critic rating | Number between 0.0 and 10.0 or blank to erase the rating |
item_user_rating |
Set user rating | Number between 0.0 and 10.0 or blank to erase the rating |
item_edition |
Replace edition name | Edition name (e.g. Extended, Director's Cut) |
Item labels and genres¶
Label updates support movies, shows, artists, albums, and tracks; item.label is
also accepted as an alias for item_label. Genres apply to movies/shows. Supply
comma-separated strings: the base option appends, .remove removes named values,
and .sync replaces the existing set.
| Attribute | Effect | Values / default |
|---|---|---|
item_label |
Append labels | Comma-separated string |
item_label.remove |
Remove named labels | Comma-separated string |
item_label.sync |
Replace label set | Comma-separated string |
non_item_remove_label |
Remove these labels from movies/shows outside the collection | Comma-separated string |
item_genre |
Append genres | Comma-separated string |
item_genre.remove |
Remove named genres | Comma-separated string |
item_genre.sync |
Replace genre set | Comma-separated string |
Playback and metadata preferences¶
These preferences require the Plex Movie or Plex Series agent.
| Attribute | Effect | Values / default |
|---|---|---|
item_audio_language |
Preferred audio language | See language values (also en) |
item_subtitle_language |
Preferred subtitle language | See language values (also en) |
item_metadata_language |
Metadata language | See language values (locale codes only) |
item_subtitle_mode |
Automatic subtitle selection mode | default (Account default), manual (Manually selected), foreign (Shown with foreign audio), always (Always enabled) |
item_use_original_title |
Use original title | default (Library default), no, yes |
item_credits_detection |
Credits-detection preference | default (Library default), disabled (Disabled) |
Show and episode preferences¶
These options apply only to show libraries.
| Attribute | Effect | Values / default |
|---|---|---|
item_delete_episodes |
Automatic episode deletion policy | never (Never), day (After a day), week (After a week), month (After a month), refresh (On next refresh) |
item_episode_ordering |
Episode ordering source | default (Library default), tmdb_aired, tvdb_aired, tvdb_dvd, tvdb_absolute |
item_episode_sorting |
Episode display order | default (Library default), oldest, newest |
item_keep_episodes |
Episode retention policy | all, 5_latest, 3_latest, latest, past_3, past_7, past_30 |
item_season_display |
Season display mode | default (Library default), show, hide |
item_tmdb_season_titles |
Use TMDb season titles | true, false |
Language values¶
item_audio_language and item_subtitle_language accept en as well as the
following values. item_metadata_language uses the locale list below.
Language codes
default, ar-SA, ca-ES, cs-CZ, da-DK, de-DE, el-GR, en-AU, en-CA, en-GB, en-US, es-ES, es-MX, et-EE, fa-IR, fi-FI, fr-CA, fr-FR, he-IL, hi-IN, hu-HU, id-ID, it-IT, ja-JP, ko-KR, lt-LT, lv-LV, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sk-SK, sv-SE, th-TH, tr-TR, uk-UA, vi-VN, zh-CN, zh-HK, zh-TW
Item examples¶
Appends action-pick to the selected Action movies. non_item_remove_label
removes that label from other movies/shows outside the collection, keeping
it aligned with current membership without replacing unrelated labels.
Assigns a user rating of 8.5 to every movie selected from the list. This sets an item field; it does not filter out movies with lower existing ratings.
Clears the user rating on selected movies. A blank value erases the field, unlike a numeric zero, which is a rating value.
Changes selected shows' episode sorting to newest first and keeps all episodes. These are string-valued preferences, not playback-history filters. The show-only preference rules and agent requirements above still apply.