??? blank "`assets_for_all` - Used to search the asset directories for images for all items in the library.<aclass="headerlink"href="#assets-for-all"title="Permanent link">¶</a>"
<divid="assets-for-all"/>Ordinarily, Kometa searches the asset directories for collection artwork. Enabling this operation tells Kometa to searches the asset directories for images for all items [movies, shows, seasons, episodes, etc] in the library.
??? blank "`delete_collections` - Deletes collections based on a set of given attribute.<aclass="headerlink"href="#delete-collections"title="Permanent link">¶</a>"
<tr><td>`managed: true`</td><td>Collection must be Managed to be deleted<br>(collection has the `Kometa` label)</td></tr>
<tr><td>`managed: false`</td><td>Collection must be Unmanaged to be deleted<br>(collection does not have the `Kometa` label)</td></tr>
<tr><td>`configured: true`</td><td>Collection must be Configured to be deleted<br>(collection is in the config file of the specific Kometa run)</td></tr>
<tr><td>`configured: false`</td><td>Collection must be Unconfigured to be deleted<br>(collection is not in the config file of the specific Kometa run)</td></tr>
<tr><td>`less: ###`</td><td>Collection must contain less than the given number of items to be deleted.<br>### is a Number greater than 0<br>Optional value which if undefined means collections will be deleted regardless of how many items they have</td></tr>
<tr><td>`ignore_empty_smart_collections: false`</td><td>Do not apply less check to empty smart collections<br>This allows retaining things like smart collections that show movies without subtitles or the like.</td></tr>
??? blank "`mass_genre_update` - Updates the genres of every item in the library.<aclass="headerlink"href="#mass-genre-update"title="Permanent link">¶</a>"
<divid="mass-genre-update"/>Updates every item's genres in the library to the chosen site's genres.
??? blank "`mass_content_rating_update` - Updates the content rating of every item in the library.<aclass="headerlink"href="#mass-content-rating-update"title="Permanent link">¶</a>"
<divid="mass-content-rating-update"/>Updates every item's content rating in the library to the chosen site's
MDBList is not a live reflection of third-party sites such as CommonSense and Trakt. The data on MDBList is often days, weeks and months out of date as it is only periodically refreshed. As such, the data that Kometa applies using `mdb_` operations applies may not be the same as you see if you visit those third-party sources directly.
??? blank "`mass_original_title_update` - Updates the original title of every item in the library.<aclass="headerlink"href="#mass-original-title-update"title="Permanent link">¶</a>"
<divid="mass-original-title-update"/>Updates every item's original title in the library to the chosen site's
??? blank "`mass_studio_update` - Updates the studio of every item in the library.<aclass="headerlink"href="#mass-studio-update"title="Permanent link">¶</a>"
<divid="mass-studio-update"/>Updates every item's studio in the library to the chosen site's studio.
??? blank "`mass_originally_available_update` - Updates the originally available date of every item in the library.<aclass="headerlink"href="#mass-originally-available-update"title="Permanent link">¶</a>"
<divid="mass-originally-available-update"/>Updates every item's originally available date in the library to the
chosen site's date.
???+ tip
As plex does not allow this field to be empty, using `remove` or `reset` will set the date to the Plex default
MDBList is not a live reflection of third-party sites such as CommonSense and Trakt. The data on MDBList is often days, weeks and months out of date as it is only periodically refreshed. As such, the data that Kometa applies using `mdb_` operations applies may not be the same as you see if you visit those third-party sources directly.
??? blank "`mass_added_at_update` - Updates the added at date of every item in the library.<aclass="headerlink"href="#mass-added-at-update"title="Permanent link">¶</a>"
<divid="mass-added-at-update"/>Updates every item's added at date in the library to the chosen site's date.
<hrstyle="margin: 0px;">
**Attribute:**`mass_added_at_update`
**Accepted Values:** Source or List of sources to use in that order
MDBList is not a live reflection of third-party sites such as CommonSense and Trakt. The data on MDBList is often days, weeks and months out of date as it is only periodically refreshed. As such, the data that Kometa applies using `mdb_` operations applies may not be the same as you see if you visit those third-party sources directly.
??? blank "`mass_***_rating_update` - Updates the audience/critic/user rating of every item in the library.<aclass="headerlink"href="#mass-star-rating-update"title="Permanent link">¶</a>"
<divid="mass-star-rating-update"/>Updates every item's audience/critic/user rating in the library to the chosen
site's rating.
???+ warning "Important Note"
This does not affect the icons displayed in the Plex UI. This will place the number of your choice in the
relevant field in the Plex database. In other words, if Plex is configured to use Rotten Tomatoes ratings, then
no matter what happens with this mass rating update operation, the icons in the Plex UI will remain Rotten
Tomatoes. The human who decided to put TMDb ratings in the critic slot and Letterboxd ratings in the audience
slot is the only party who knows that the ratings are no longer Rotten Tomatoes. One primary use of this feature
MDBList is not a live reflection of third-party sites such as CommonSense and Trakt. The data on MDBList is often days, weeks and months out of date as it is only periodically refreshed. As such, the data that Kometa applies using `mdb_` operations applies may not be the same as you see if you visit those third-party sources directly.
??? blank "`mass_episode_***_rating_update` - Updates the audience/critic/user rating of every episode in the library.<aclass="headerlink"href="#mass-episode-star-rating-update"title="Permanent link">¶</a>"
<divid="mass-episode-star-rating-update"/>Updates every item's episode's audience/critic/user rating in the
library to the chosen site's rating.
???+ warning "Important Note"
This does not affect the icons displayed in the Plex UI. This will place the number of your choice in the
relevant field in the Plex database. In other words, if Plex is configured to use Rotten Tomatoes ratings, then
no matter what happens with this mass rating update operation, the icons in the Plex UI will remain Rotten
Tomatoes. The human who decided to put TMDb ratings in the critic slot and Letterboxd ratings in the audience
slot is the only party who knows that the ratings are no longer Rotten Tomatoes. One primary use of this feature
??? blank "`mass_poster_update` - Updates the poster of every item in the library.<aclass="headerlink"href="#mass-poster-update"title="Permanent link">¶</a>"
<divid="mas-_poster-update"/>Updates every item's poster to the chosen sites poster. Will fall back to `plex` if
the given option fails. Assets will be used over anything else.
??? blank "`mass_background_update` - Updates the background of every item in the library.<aclass="headerlink"href="#mass-background-update"title="Permanent link">¶</a>"
<divid="mass-background-update"/>Updates every item's background to the chosen sites background. Will fall back to
`plex` if the given option fails. Assets will be used over anything else.
??? blank "`mass_imdb_parental_labels` - Adds IMDb Parental labels of every item in the library.<aclass="headerlink"href="#mass-imdb-parental-labels"title="Permanent link">¶</a>"
??? blank "`mass_collection_mode` - Updates the Collection Mode of every item in the library.<aclass="headerlink"href="#mass-collection-mode"title="Permanent link">¶</a>"
??? blank "`update_blank_track_titles` - Updates blank track titles of every item in the library.<aclass="headerlink"href="#update-blank-track-titles"title="Permanent link">¶</a>"
??? blank "`remove_title_parentheses` - Removes title parentheses of every item in the library.<aclass="headerlink"href="#remove-title-parentheses"title="Permanent link">¶</a>"
??? blank "`split_duplicates` - Splits all duplicate items found in this library.<aclass="headerlink"href="#split-duplicates"title="Permanent link">¶</a>"
??? blank "`radarr_remove_by_tag` - Removes every item from Radarr with the Tags given.<aclass="headerlink"href="#radarr-remove-by-tag"title="Permanent link">¶</a>"
??? blank "`sonarr_remove_by_tag` - Removes every item from Sonarr with the Tags given.<aclass="headerlink"href="#sonarr-remove-by-tag"title="Permanent link">¶</a>"
??? blank "`genre_mapper` - Maps genres in your library to be changed to other genres.<aclass="headerlink"href="#genre-mapper"title="Permanent link">¶</a>"
??? blank "`content_rating_mapper` - Maps content ratings in your library to be changed to other content ratings.<aclass="headerlink"href="#content-rating-mapper"title="Permanent link">¶</a>"
??? blank "`metadata_backup` - Creates/Maintains a Kometa Metadata File for the library.<aclass="headerlink"href="#metadata-backup"title="Permanent link">¶</a>"
**Accepted Values:** There are a few different options to determine how the `metadata_backup` works.
<tableclass="clearTable">
<tr><td>`path`</td><td>Path to where the metadata will be saved/maintained<br>**Default:** `<<library_name>>_Metadata_Backup.yml in your config folder`<br>**Values:** Path to Metadata File</td></tr>
<tr><td>`exclude`</td><td>Exclude all listed attributes from being saved in the collection file<br>**Values:** `Comma-separated string or list of attributes`</td></tr>
<tr><td>`sync_tags`</td><td>All Tag Attributes will have the `.sync` option and blank attribute will be added to sync<br>**Default:** `false`<br>**Values:** `true` or `false`</td></tr>
<tr><td>`add_blank_entries`</td><td>Will add a line for entries that have no metadata changes<br>**Default:** `true`<br>**Values:** `true` or `false`</td></tr>
The resulting metadata file can be used like any other [metadata file](../files/metadata.md) in Kometa, for example, you can use it to apply metadata to a new library or to restore metadata to a library.
???+ example "Example"
```yaml
libraries:
Movies:
metadata_files:
file: config/Movie_Backup.yml # restore this metadata file to the library
Movies - Alternate:
metadata_files:
file: config/Movie_Backup.yml # apply this metadata file to the library