Plex-Meta-Manager/docs/defaults/both/collectionless.md

82 lines
7.6 KiB
Markdown
Raw Normal View History

2022-10-25 19:47:45 +00:00
# Collectionless Collection
The `collectionless` Default Collection File is used to create a [Collectionless collection](../../builders/plex.md#plex-collectionless) to help Show/Hide Movies/Shows properly in your library.
2022-10-25 19:47:45 +00:00
![](../images/collectionless.png)
2022-10-25 19:47:45 +00:00
## Requirements & Recommendations
2022-10-25 19:47:45 +00:00
Supported Library Types: Movie, Show
Requirements: For this file to work it needs to run last under `collection_files` and all other normal collections must use `collection_mode: hide_items`
2022-10-25 19:47:45 +00:00
## Collection
2023-12-13 21:44:44 +00:00
| Collection | Description |
|:-----------------|:------------------------------------------------------------------------------------------------------------------------------------------|
| `Collectionless` | [Collectionless collection](../../builders/plex.md#plex-collectionless) to help Show/Hide Movies/Shows properly in your library.. |
2022-10-25 19:47:45 +00:00
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
Movies:
2022-10-26 06:56:12 +00:00
template_variables:
collection_mode: hide_items
collection_files:
2022-10-25 19:47:45 +00:00
- pmm: collectionless
TV Shows:
2022-10-26 06:56:12 +00:00
template_variables:
collection_mode: hide_items
collection_files:
2022-10-25 19:47:45 +00:00
- pmm: collectionless
```
## 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.
2023-01-04 19:46:04 +00:00
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 is its default value if it has one if not it's just ignored.
2022-10-25 19:47:45 +00:00
2023-11-06 20:38:00 +00:00
**[Shared Collection Variables](../collection_variables.md) are NOT available to this default file.**
2022-10-25 19:47:45 +00:00
2023-12-13 21:44:44 +00:00
| Variable | Description & Values |
|:-------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `name_collectionless` | **Description:** Changes the name of the collection.<br>**Values:** New Collection Name |
| `summary_collectionless` | **Description:** Changes the summary of the collection.<br>**Values:** New Collection Summary |
| `sort_title` | **Description:** Sets the sort title for the collection.<br>**Default:** `~_Collectionless`<br>**Values:** Any String |
| `collection_order` | **Description:** Changes the Collection Order for all collections in this file.<br>**Default:** `alpha`<br>**Values:**<table class="clearTable"><tr><td>`release`</td><td>Order Collection by Release Dates</td></tr><tr><td>`alpha`</td><td>Order Collection Alphabetically</td></tr><tr><td>`custom`</td><td>Order Collection Via the Builder Order</td></tr><tr><td>[Any `plex_search` Sort Option](../../builders/plex.md#sort-options)</td><td>Order Collection by any `plex_search` Sort Option</td></tr></table> |
| `url_poster` | **Description:** Changes the poster url of thecollection.<br>**Values:** URL directly to the Image |
| `exclude` | **Description:** Exclude these Collections from being considered for collectionless.<br>**Values:** List of Collections |
| `exclude_prefix` | **Description:** Overrides the [default exclude_prefix list](#default-exclude_prefix). Exclude Collections with one of these prefixes from being considered for collectionless.<br>**Default:** [default exclude_prefix list](#default-exclude_prefix)<br>**Values:** List of Prefixes | |
2022-10-25 19:47:45 +00:00
### Example Template Variable Amendments
2022-10-25 19:47:45 +00:00
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
Movies:
2022-10-26 06:56:12 +00:00
template_variables:
collection_mode: hide_items
collection_files:
2022-10-25 19:47:45 +00:00
- pmm: collectionless
template_variables:
exclude:
- Marvel Cinematic Universe
collection_order: release
```
2022-12-11 19:35:51 +00:00
## Default values
These are lists provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `exclude_prefix`
2022-10-25 19:47:45 +00:00
```yaml
exclude_prefix:
- "!"
- "~"
```