--- search: boost: 4 --- # Library Operations There are a variety of Library Operations that can be utilized in a library. Within each library, operations can be defined by using the `operations` attribute, as demonstrated below. When not using a list under `operations` the whole operations value is one block. ???+ example ```yaml libraries: Movies: collection_files: - default: imdb operations: mass_critic_rating_update: tmdb split_duplicates: true ``` ## Operation Blocks You can create individual blocks of operations by using a list under `operations` with each item in the list being a "block" that can be individually scheduled. ???+ example ```yaml libraries: Movies: collection_files: - default: imdb operations: - schedule: weekly(friday) mass_critic_rating_update: tmdb - schedule: weekly(saturday) split_duplicates: true ``` ## Operation Attributes ###### Assets For All ??? blank "`assets_for_all` - Used to search the asset directories for images for all items in the library.¶"
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.`managed: true` | Collection must be Managed to be deleted (collection has the `Kometa` label) |
`managed: false` | Collection must be Unmanaged to be deleted (collection does not have the `Kometa` label) |
`configured: true` | Collection must be Configured to be deleted (collection is in the config file of the specific Kometa run) |
`configured: false` | Collection must be Unconfigured to be deleted (collection is not in the config file of the specific Kometa run) |
`less: ###` | Collection must contain less than the given number of items to be deleted. ### is a Number greater than 0 Optional value which if undefined means collections will be deleted regardless of how many items they have |
`ignore_empty_smart_collections: false` | Do not apply less check to empty smart collections This allows retaining things like smart collections that show movies without subtitles or the like. |
`tmdb` | Use TMDb for Genres |
`tvdb` | Use TVDb for Genres |
`imdb` | Use IMDb for Genres |
`omdb` | Use IMDb through OMDb for Genres |
`anidb` | Use AniDB Main Tags for Genres |
`anidb_3_0` | Use AniDB Main Tags and All 3 Star Tags and above for Genres |
`anidb_2_5` | Use AniDB Main Tags and All 2.5 Star Tags and above for Genres |
`anidb_2_0` | Use AniDB Main Tags and All 2 Star Tags and above for Genres |
`anidb_1_5` | Use AniDB Main Tags and All 1.5 Star Tags and above for Genres |
`anidb_1_0` | Use AniDB Main Tags and All 1 Star Tags and above for Genres |
`anidb_0_5` | Use AniDB Main Tags and All 0.5 Star Tags and above for Genres |
`mal` | Use MyAnimeList for Genres |
`lock` | Lock all Genre Field |
`unlock` | Unlock all Genre Field |
`remove` | Remove all Genres and Lock all Field |
`reset` | Remove all Genres and Unlock all Field |
List of Strings for Genres (["String 1", "String 2"] ) |
`mdb` | Use MDBList for Content Ratings |
`mdb_commonsense` | Use Common Sense Rating through MDBList for Content Ratings |
`mdb_commonsense0` | Use Common Sense Rating with Zero Padding through MDBList for Content Ratings |
`mdb_age_rating` | Use MDBList Age Rating for Content Ratings |
`mdb_age_rating0` | Use MDBList Age Rating with Zero Padding for Content Ratings |
`omdb` | Use IMDb through OMDb for Content Ratings |
`mal` | Use MyAnimeList for Content Ratings |
`lock` | Lock Content Rating Field |
`unlock` | Unlock Content Rating Field |
`remove` | Remove Content Rating and Lock Field |
`reset` | Remove Content Rating and Unlock Field |
Any String for Content Ratings |
`anidb` | Use AniDB Main Title for Original Titles |
`anidb_official` | Use AniDB Official Title based on the language attribute in the config file for Original Titles |
`mal` | Use MyAnimeList Main Title for Original Titles |
`mal_english` | Use MyAnimeList English Title for Original Titles |
`mal_japanese` | Use MyAnimeList Japanese Title for Original Titles |
`lock` | Lock Original Title Field |
`unlock` | Unlock Original Title Field |
`remove` | Remove Original Title and Lock Field |
`reset` | Remove Original Title and Unlock Field |
Any String for Original Titles |
`anidb` | Use AniDB Animation Work for Studio |
`mal` | Use MyAnimeList Studio for Studio |
`tmdb` | Use TMDb Studio for Studio |
`lock` | Lock Studio Field |
`unlock` | Unlock Studio Field |
`remove` | Remove Studio and Lock Field |
`reset` | Remove Studio and Unlock Field |
Any String for Studio |
`tmdb` | Use TMDb Release Date |
`tvdb` | Use TVDb Release Date |
`omdb` | Use IMDb Release Date through OMDb |
`mdb` | Use MDBList Release Date |
`mdb_digital` | Use MDBList Digital Release Date |
`anidb` | Use AniDB Release Date |
`mal` | Use MyAnimeList Release Date |
`lock` | Lock Originally Available Field |
`unlock` | Unlock Originally Available Field |
`remove` | Remove Originally Available and Lock Field |
`reset` | Remove Originally Available and Unlock Field |
Any String in the Format: YYYY-MM-DD for Originally Available (2022-05-28 ) |
`tmdb` | Use TMDb Release Date |
`tvdb` | Use TVDb Release Date |
`omdb` | Use IMDb Release Date through OMDb |
`mdb` | Use MDBList Release Date |
`mdb_digital` | Use MDBList Digital Release Date |
`anidb` | Use AniDB Release Date |
`mal` | Use MyAnimeList Release Date |
`lock` | Lock Added At Field |
`unlock` | Unlock Added At Field |
`remove` | Remove Added At and Lock Field |
`reset` | Remove Added At and Unlock Field |
Any String in the Format: YYYY-MM-DD for Added At (2022-05-28 ) |
`tmdb` | Use TMDb Rating |
`imdb` | Use IMDb Rating |
`trakt_user` | Use Trakt User's Personal Rating |
`omdb` | Use IMDbRating through OMDb |
`mdb` | Use MDBList Score |
`mdb_average` | Use MDBList Average Score |
`mdb_imdb` | Use IMDb Rating through MDBList |
`mdb_metacritic` | Use Metacritic Rating through MDBList |
`mdb_metacriticuser` | Use Metacritic User Rating through MDBList |
`mdb_trakt` | Use Trakt Rating through MDBList |
`mdb_tomatoes` | Use Rotten Tomatoes Rating through MDBList |
`mdb_tomatoesaudience` | Use Rotten Tomatoes Audience Rating through MDBList |
`mdb_tmdb` | Use TMDb Rating through MDBList |
`mdb_letterboxd` | Use Letterboxd Rating through MDBList |
`mdb_myanimelist` | Use MyAnimeList Rating through MDBList |
`anidb_rating` | Use AniDB Rating |
`anidb_average` | Use AniDB Average |
`anidb_score` | Use AniDB Review Score |
`mal` | Use MyAnimeList Score |
`lock` | Lock Rating Field |
`unlock` | Unlock Rating Field |
`remove` | Remove Rating and Lock Field |
`reset` | Remove Rating and Unlock Field |
Any Number between 0.0-10.0 for Ratings |
`tmdb` | Use TMDb Rating |
`imdb` | Use IMDb Rating |
`lock` | Lock Rating Field |
`unlock` | Unlock Rating Field |
`remove` | Remove Rating and Lock Field |
`reset` | Remove Rating and Unlock Field |
Any Number between 0.0-10.0 for Ratings |
`source` | Source of the poster update | `tmdb`, `plex`, `lock`, or `unlock` |
`seasons` | Update season posters while updating shows **Default:** `true` | `true` or `false` |
`episodes` | Update episode posters while updating shows **Default:** `true` | `true` or `false` |
`ignore_locked` | Skip updating image if the poster field is locked1. **Default:** `false` | `true` or `false` |
`ignore_overlays` | Skip updating image if the current image has an Overlay2. **Default:** `false` | `true` or `false` |
`source` | Source of the poster update | `tmdb`, `plex`, `lock`, or `unlock` |
`seasons` | Update season posters while updating shows **Default:** `true` | `true` or `false` |
`episodes` | Update episode posters while updating shows **Default:** `true` | `true` or `false` |
`ignore_locked` | Skip updating image if the poster field is locked.1 **Default:** `false` | `true` or `false` |
`none` | Apply all Parental Labels with a value of `None`, `Mild`, `Moderate`, or `Severe` |
`mild` | Apply all Parental Labels with a value of `Mild`, `Moderate`, or `Severe` |
`moderate` | Apply all Parental Labels with a value of `Moderate` or `Severe` |
`severe` | Apply all Parental Labels with a value of `Severe` |
`default` | Library default |
`hide` | Hide Collection |
`hide_items` | Hide Items in this Collection |
`show_items` | Show this Collection and its Items |
`key` | Genre you want mapped to the value | `Action/Adventure, Action & Adventure` in the example below |
`value` | What the genre will end up as | `Action` in the example below |
`key` | Content rating you want mapped to the value | `PG`, `PG-13` in the example below |
`value` | What the content rating will end up as | `Y-10` in the example below |
`path` | Path to where the metadata will be saved/maintained **Default:** `< **Values:** Path to Metadata File |
`exclude` | Exclude all listed attributes from being saved in the collection file **Values:** `Comma-separated string or list of attributes` |
`sync_tags` | All Tag Attributes will have the `.sync` option and blank attribute will be added to sync **Default:** `false` **Values:** `true` or `false` |
`add_blank_entries` | Will add a line for entries that have no metadata changes **Default:** `true` **Values:** `true` or `false` |