><><>>><>"` and so for `genre.yml` if you have a `Fantasy` collection, plex is going to show `!06_Fantasy`
This is the default PMM collection ordering:
| Collection | Order |
|:----------------------------------|:-----------------------|
| `seasonal.yml` | collection_section: 00 |
| `anilist.yml` | collection_section: 01 |
| `basic.yml` | collection_section: 01 |
| `imdb.yml` | collection_section: 01 |
| `myanimelist.yml` | collection_section: 01 |
| `other_chart.yml` | collection_section: 01 |
| `tautulli.yml` | collection_section: 01 |
| `tmdb.yml` | collection_section: 01 |
| `trakt.yml` | collection_section: 01 |
| `universe.yml` | collection_section: 02 |
| `streaming.yml` | collection_section: 03 |
| `network.yml` | collection_section: 04 |
| `genre.yml` | collection_section: 06 |
| `studio.yml` | collection_section: 07 |
| `country.yml` | collection_section: 09 |
| `country.yml` | collection_section: 09 |
| `audio_language.yml` | collection_section: 10 |
| `subtitle_language.yml` | collection_section: 11 |
| `decade.yml` | collection_section: 12 |
| `decade.yml` | collection_section: 12 |
| `year.yml` | collection_section: 13 |
| `content_rating_uk.yml` | collection_section: 14 |
| `content_rating_us.yml` | collection_section: 14 |
| `content_rating_us.yml` | collection_section: 14 |
| `resolution.yml` | collection_section: 15 |
| `resolution_standards.yml` | collection_section: 15 |
| `bafta.yml` | collection_section: 16 |
| `cannes.yml` | collection_section: 16 |
| `choice.yml` | collection_section: 16 |
| `emmy.yml` | collection_section: 16 |
| `golden.yml` | collection_section: 16 |
| `oscars.yml` | collection_section: 16 |
| `other_awart.yml` | collection_section: 16 |
| `separator.yml` | collection_section: 16 |
| `spirit.yml` | collection_section: 16 |
| `sundance.yml` | collection_section: 16 |
| `PMM/actor.yml` | collection_section: 17 |
| `director.yml` | collection_section: 18 |
| `producer.yml` | collection_section: 19 |
| `writer.yml` | collection_section: 20 |
## Ratings Overlays
By default for Movies in Plex, the `Ratings Source` dropdown (`#3`) below, can come from Rotten Tomatoes (and includes Critic Ratings and Audience Ratings) or IMDb (Audience Ratings). This only changes the tiny icons displayed and where Plex will retrieve the ratings from upon initial scan and import of the media metadata.
**Plex Meta Manager can insert up to three ratings of your choice into the three spots regardless of what you choose in the `Advanced` tab of that Plex library**
![](ratings_source.png)
Plex has three available spots in the Plex DB to store ratings and thus Plex Meta Manager can be used to insert ratings sources of your choice into those spots. They are known as the User Rating (`#1`), Critic Rating (`#2`), and Audience Rating (`#3`).
**Note that the little icons cannot be changed and that the numbers next to the little icons are reflected in the poster ratings overlay**
![](ratings_spot.png)
To be able to insert the ratings you want, Plex Meta Manager operations need to be defined. In this example below, User ratings (`#1`) are being filled with Rotten Tomatoes Critics Ratings. Critic ratings (`#2`) are filled with IMDb, and Audience ratings (`#3`) are filled with TMDb.
**mass_*_rating_update** sources can be found here: [operations](../../config/operations)
![](ratings_operations.png)
Finally, to show the ratings on the poster, the following was added to the `overlay_path` section in the `config.yml` file to post Rotten Tomatoes Critics Ratings in (`#1`), IMDb ratings in (`#2`), and TMDb ratings in (`#3`)
![](ratings_overlay_path.png)
## Customizing Configs
Configs can be customized using the `template_variables` attribute when calling the file. These `template_variables` will be given to every template call in the file which allows them to affect how that file runs.
This example changes the ratings overlay to work on episodes.
```yaml
libraries:
TV Shows:
overlay_path:
- pmm: ratings
template_variables:
overlay_level: episode
```
Each file has a comment block at the top showing the available `template_variables` for each file. For example the [`PMM/genre`](https://github.com/meisnate12/Plex-Meta-Manager-Configs/blob/master/PMM/genre.yml) has this:
```yaml
#############################################################
# Dynamic Genre Collections #
# Created by Yozora, Bullmoose20, & Sohjiro #
#############################################################
# Call this from your config.yml (Movie or Show) #
# If nothing is specified these are the defaults #
# #
# metadata_path: #
# - pmm: genre #
# template_variables: #
# # Turn the separator collection on/off #
# use_separator: true #
# # Sets how the collection is sorted #
# sort_by: release.desc #
# # Sets the collection mode of the collection #
# collection_mode: #
# # Sets the value at the start of the sort title #
# collection_section: "06" #
#############################################################
```
Each of these when passed will change how the collection runs slightly.
* `use_separator` Turn the separator collection on/off
* `sort_by` Sets how the collection is sorted
* `collection_mode` Sets the collection mode of the collection
* `collection_section` Sets the value at the start of the sort title
**In addition to the defined `template_variables` each file in the PMM Folder has access to the `radarr_add_missing` and `sonarr_add_missing` template variables and for dynamic collections most attributes can be passed as template variables**
For example if you want yearly oscar collections that go back 10 years instead of 5 all of which gets sent to radarr use the `data` and `radarr_add_missing` template variables.
```yaml
libraries:
Movies:
metadata_path:
- pmm: oscars
template_variables:
radarr_add_missing: true
data:
starting: current_year-10
ending: current_year
```
Or maybe you want to change the number of actor collections made using PMM/actor.
```yaml
libraries:
Movies:
overlay_path:
- pmm: actor
template_variables:
collection_mode: hide
data:
depth: 5
limit: 50
```
Or maybe you want to change the collection sort order of the genre collections using PMM/genre.
```yaml
libraries:
Movies:
metadata_path:
- pmm: genre
template_variables:
collection_section: 11
```
Or maybe you want to disable separators globally per library.
```yaml
libraries:
LIBRARYNAME:
template_variables:
use_separator: false
metadata_path:
```
Alternatively it can be turned off individually per git file:
```yaml
libraries:
LIBRARYNAME:
metadata_path:
- pmm: # separator is disabled
template_variables:
use_separator: false
- pmm: # separator is enabled by default
- pmm: # separator is disabled
template_variables:
use_separator: false
```
## Errors
If there are collections being made that have configuration errors or missing posters please either bring it up in our Discord or raise an Issue on the [Configs Repo](https://github.com/meisnate12/Plex-Meta-Manager-Configs/issues/new/choose).
## Example Configuration File
Click to expand sample config.yml file:
```yaml
libraries:
Movies:
metadata_path:
- pmm: bafta
- pmm: cannes
- pmm: choice
- pmm: golden
- pmm: oscars
- pmm: other_award
- pmm: spirit
- pmm: sundance
- pmm: anilist
- pmm: basic
- pmm: imdb
- pmm: myanimelist
- pmm: other_chart
- pmm: tautulli
- pmm: tmdb
- pmm: trakt
- pmm: actor
- pmm: audio_language
- pmm: movie/content_rating_us # Choose content_rating_uk or content_rating_us
- pmm: genre
- pmm: resolution_standards # Choose resolution_standards or resolution
- pmm: streaming
- pmm: studio
- pmm: subtitle_language
- pmm: year
- pmm: movie/country
- pmm: movie/decade
- pmm: movie/director
- pmm: movie/franchise
- pmm: movie/universe
- pmm: movie/producer
- pmm: movie/seasonal
- pmm: movie/writer
overlay_path:
- remove_overlays: false
- pmm: audio_codec
- pmm: audio_language
- pmm: commonsense
- pmm: direct_play
- pmm: edition
- pmm: episode_info
- pmm: flixpatrol
- pmm: mediastinger
- pmm: ratings
template_variables:
rating1: critic
rating1_image: rt_tomato
- pmm: resolution
- pmm: ribbon
- pmm: runtimes
- pmm: special_release
- pmm: streaming
- pmm: versions
- pmm: video_format
TV Shows:
metadata_path:
- pmm: choice
- pmm: golden
- pmm: emmy
- pmm: anilist
- pmm: basic
- pmm: imdb
- pmm: myanimelist
- pmm: other_chart
- pmm: tautulli
- pmm: tmdb
- pmm: trakt
- pmm: actor
- pmm: audio_language
- pmm: content_rating_us # Choose content_rating_uk or content_rating_us
- pmm: genre
- pmm: resolution_standards # Choose resolution_standards or resolution
- pmm: streaming
- pmm: studio
- pmm: subtitle_language
- pmm: year
- pmm: country
- pmm: decade
- pmm: network
overlay_path:
- remove_overlays: false
- pmm: audio_codec
- pmm: audio_codec
template_variables:
overlay_level: episode
- pmm: audio_codec
template_variables:
overlay_level: season
- pmm: audio_language
- pmm: audio_language
template_variables:
overlay_level: episode
- pmm: audio_language
template_variables:
overlay_level: season
- pmm: commonsense
- pmm: commonsense
template_variables:
overlay_level: episode
- pmm: commonsense
template_variables:
overlay_level: season
- pmm: direct_play
- pmm: direct_play
template_variables:
overlay_level: episode
- pmm: direct_play
template_variables:
overlay_level: season
- pmm: edition
- pmm: edition
template_variables:
overlay_level: episode
- pmm: episode_info
template_variables:
overlay_level: episode
- pmm: flixpatrol
- pmm: flixpatrol
template_variables:
overlay_level: episode
- pmm: flixpatrol
template_variables:
overlay_level: season
- pmm: mediastinger
- pmm: mediastinger
template_variables:
overlay_level: episode
- pmm: mediastinger
template_variables:
overlay_level: season
- pmm: ratings
template_variables:
rating2: audience
rating2_image: imdb
- pmm: ratings
template_variables:
rating2: audience
rating2_image: imdb
overlay_level: episode
- pmm: resolution
- pmm: resolution
template_variables:
overlay_level: episode
- pmm: resolution
template_variables:
overlay_level: season
- pmm: ribbon
- pmm: ribbon
template_variables:
overlay_level: episode
- pmm: ribbon
template_variables:
overlay_level: season
- pmm: runtimes
template_variables:
overlay_level: episode
- pmm: special_release
- pmm: special_release
template_variables:
overlay_level: episode
- pmm: special_release
template_variables:
overlay_level: season
- pmm: streaming
- pmm: versions
- pmm: versions
template_variables:
overlay_level: episode
- pmm: versions
template_variables:
overlay_level: season
- pmm: versions
template_variables:
overlay_level: show
- pmm: video_format
- pmm: video_format
template_variables:
overlay_level: episode
- pmm: video_format
template_variables:
overlay_level: season
playlist_files:
- pmm: playlist
```