# Universe Collections
The `universe` Default Collection File is used to create collections based on popular Movie universes (such as the
Marvel Cinematic Universe or Wizarding World).
![](../images/universe.png)
## Requirements & Recommendations
Supported Library Types: Movie & Show
## Collections Section 040
| Collection | Key | Description |
|:-----------------------------|:------------|:-------------------------------------------------------------------------------|
| `Universe Collections` | `separator` | [Separator Collection](../separators.md) to denote the Section of Collections. |
| `Alien / Predator` | `avp` | Collection of Movies in the Alien / Predator Universe |
| `Arrowverse` | `arrow` | Collection of Movies in the The Arrow Universe |
| `DC Animated Universe` | `dca` | Collection of Movies in the DC Animated Universe |
| `DC Extended Universe` | `dcu` | Collection of Movies in the DC Extended Universe |
| `Fast & Furious` | `fast` | Collection of Movies in the Fast & Furious Universe |
| `In Association with Marvel` | `marvel` | Collection of Movies in the Marvel Universe (but not part of MCU) |
| `Marvel Cinematic Universe` | `mcu` | Collection of Movies in the Marvel Cinematic Universe |
| `Middle Earth` | `middle` | Collection of Movies in the Middle Earth Universe |
| `The Mummy Universe` | `mummy` | Collection of Movies in the The Mummy Universe |
| `Rocky / Creed` | `rocky` | Collection of Movies in the Rocky / Creed Universe |
| `Star Trek` | `trek` | Collection of Movies in the Star Trek Universe |
| `Star Wars Universe` | `star` | Collection of Movies in the Star Wars Universe |
| `View Askewverse` | `askew` | Collection of Movies in the The View Askew Universe |
| `Wizarding World` | `wizard` | Collection of Movies in the Wizarding World Universe |
| `X-Men Universe` | `xmen` | Collection of Movies in the X-Men Universe |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
Movies:
collection_files:
- default: universe
TV Shows:
collection_files:
- default: universe
```
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to
make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults
work. Any value not specified will use its default value if it has one if not it's just ignored.
??? abstract "Variable Lists (click to expand)"
* **File-Specific Template Variables** are variables available specifically for this Kometa Defaults file.
* **Shared Template Variables** are additional variables shared across the Kometa Defaults.
* **Shared Separator Variables** are additional variables available since this Default contains a
[Separator](../separators.md).
=== "File-Specific Template Variables"
| Variable | Description & Values |
|:---------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `sync_mode` | **Description:** Changes the Sync Mode for all collections in a Defaults file.
**Default:** `sync`
**Values:**
`sync` | Add and Remove Items based on Builders |
`append` | Only Add Items based on Builders |
|
| `sync_mode_<>`1 | **Description:** Changes the Sync Mode of the [key's](#collection_section) collection.
**Default:** `sync_mode`
**Values:**`sync` | Add and Remove Items based on Builders |
`append` | Only Add Items based on Builders |
|
| `collection_order` | **Description:** Changes the Collection Order for all collections in a Defaults file.
**Default:** `custom`
**Values:**`release` | Order Collection by Release Dates |
`alpha` | Order Collection Alphabetically |
`custom` | Order Collection Via the Builder Order |
[Any `plex_search` Sort Option](../../files/builders/plex.md#sort-options) | Order Collection by any `plex_search` Sort Option |
|
| `collection_order_<>`1 | **Description:** Changes the Collection Order of the [key's](#collection_section) collection.
**Default:** `collection_order`
**Values:**`release` | Order Collection by Release Dates |
`alpha` | Order Collection Alphabetically |
`custom` | Order Collection Via the Builder Order |
[Any `plex_search` Sort Option](../../files/builders/plex.md#sort-options) | Order Collection by any `plex_search` Sort Option |
|
| `minimum_items` | **Description:** Controls the minimum items that the collection must have to be created.
**Default:** `2`
**Values:** Any number |
| `name_mapping_<>`1 | **Description:** Sets the name mapping value for using assets of the [key's](#collection_section) collection.
**Values:** Any String |
| `imdb_list_<>`1 | **Description:** Adds the Movies in the IMDb List to the [key's](#collection_section) collection.
**Values:** List of IMDb List URLs | | |
| `mdblist_list_<>`1 | **Description:** Adds the Movies in the MDBList List to the [key's](#collection_section) collection. Overrides the [default mdblist_url](#default-values) for that collection if used.
**Values:** List of MDBList List URLs | | | |
| `trakt_list_<>`1 | **Description:** Adds the Movies in the Trakt List to the [key's](#collection_section) collection. Overrides the [default trakt_url](#default-values) for that collection if used.
**Values:** List of Trakt List URLs | | | |
| `data` | **Description:** Overrides the [default data dictionary](#default-values). Defines the data that the custom dynamic collection processes.
**Values:** Dictionary List of keys/names |
| `append_data` | **Description:** Appends to the [default data dictionary](#default-values).
**Values:** Dictionary List of keys/names |
| `remove_data` | **Description:** Removes from the [default data dictionary](#default-values).
**Values:** List of keys to remove |
| `exclude` | **Description:** Exclude these Universes from creating a Dynamic Collection.
**Values:** List of Universes |
1. Each default collection has a `key` [see here]() that you must replace
`<>` with when using this template variable. These keys are found in the table at the top of this page.
=== "Shared Template Variables"
{%
include-markdown "../collection_variables.md"
%}
=== "Shared Separator Variables"
{%
include-markdown "../separator_variables.md"
%}
???+ example "Example Template Variable Amendments"
The below is an example config.yml extract with some Template Variables added in to change how the file works.
Click the :fontawesome-solid-circle-plus: icon to learn more
```yaml
libraries:
Movies:
collection_files:
- default: universe
template_variables:
sep_style: salmon #(1)!
collection_order: release #(2)!
radarr_add_missing: true #(3)!
append_data:
monster: MonsterVerse #(4)!
trakt_list_monster: https://trakt.tv/users/rzepkowski/lists/monsterverse-movies #(5)!
```
1. Use the salmon [Separator Style](../separators.md#separator-styles)
2. Sort the Universe collections by release date
3. Send missing items in your library from the source lists to Radarr
4. Create a new universe called "MonsterVerse", the key for this universe will be "monster"
5. Add a trakt list to the "monster" key
## Default Values
Unless you customize them as described above, these collections use default lists and searches to create the collections.
If you are interested in customizing the default values, you can find that information [here](#template-variables).
If you are interested in seeing what those default builders are, you can find that information [here](../sources.md).