You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
4.6 KiB
72 lines
4.6 KiB
# Actor Default Metadata File
|
|
|
|
The `- pmm: actor` Metadata File is used to dynamically create collections based on the most popular actors/actresses in your library.
|
|
|
|
Example Collections Created:
|
|
|
|
![](images/actor1.png)
|
|
|
|
The below YAML in your config.yml will create the collections:
|
|
```yaml
|
|
libraries:
|
|
Movies:
|
|
metadata_path:
|
|
- pmm: actor
|
|
```
|
|
|
|
## Rainier Style
|
|
Below is a screenshot of the alternative `Rainier` style which can be set via template variables
|
|
|
|
![](images/actor2.png)
|
|
|
|
|
|
## Template Variables
|
|
Template Variables can be used to manipulate the actor file from the default settings which are provided.
|
|
|
|
Note that the `templates_variables:` section only needs to be used if you do NOT want to use the default settings.
|
|
|
|
Below are the available variables which can be used to customize the actor file.
|
|
|
|
|
|
| Variable | Usage | Default Value | Values |
|
|
|:-------------------|:-------------------------------------------------------------------------------|----------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
|
| style | Controls the visual theme of the collections created | `bw` | `bw` - Black and white theme or<br/>`rainier` - Rainier theme |
|
|
| sort_by | Controls the sort method for the collections | `release.desc` | Any sort method in the [Sorts Options Table](#sort-options) |
|
|
| collection_section | Controls the sort order of these collections against other default collections | `17` | Any number |
|
|
| collection_mode | Controls the collection mode of these collections | `default` | `default` - Library default<br/>`hide` - Hide Collection<br/>`hide_items`- Hide Items in this Collection<br/>`show_items` - Show this Collection and its Items |
|
|
| use_separator | Controls whether a separator is created | `true` | `true` or `false` |
|
|
| sep_style | Sets the theme of the separator | `orig` | `orig`, `blue`, `gray`, `green`, `purple`, `red`, `stb` |
|
|
| item_radarr_tag | Radarr Tag for existing items | | list of tag(s) to be applied to existing items |
|
|
| item_sonarr_tag | Sonarr Tag for existing items | | list of tag(s) to be applied to existing items |
|
|
|
|
The below shows an example config.yml with all the template_variables set away from their defaults:
|
|
|
|
```yaml
|
|
libraries:
|
|
Movies:
|
|
metadata_path:
|
|
- pmm: actor
|
|
template_variables:
|
|
style: rainier
|
|
sort_by: title.asc
|
|
collection_section: 12
|
|
collection_mode: show_items
|
|
use_separator: false
|
|
sep_style: purple
|
|
```
|
|
|
|
Dynamic Collections attributes can also be edited to tweak the setup of the collections. The YAML file which creates the `actor` collections can be found [here](https://github.com/meisnate12/Plex-Meta-Manager/blob/defaults/defaults/both/actor.yml)
|
|
|
|
An example of this is; To amend the maximum amount of collections that are created (default is 25), the following template variable can be used:
|
|
|
|
```yaml
|
|
libraries:
|
|
Movies:
|
|
metadata_path:
|
|
- pmm: actor
|
|
template_variables:
|
|
data:
|
|
limit: 10
|
|
```
|
|
|
|
Further information on editing Dynamic Collections using template variables can be found [here](https://metamanager.wiki/en/latest/home/guides/defaults.html#customizing-configs) |