Plex-Meta-Manager/docs/defaults/guide.md

68 lines
2.7 KiB
Markdown
Raw Normal View History

2022-10-20 16:38:53 -04:00
# Defaults Usage Guide
Plex Meta Manager includes a pre-created set of Collection Files and Overlay Files which can be found in the "defaults" folder in the root of your Plex Meta Manager installation directory.
2022-10-20 16:38:53 -04:00
2022-10-29 11:59:01 -04:00
These files offer an easy-to-use and customizable set of Collections and Overlays that the user can achieve without having to worry about creating the files that make the collections and overlays possible.
2022-10-20 16:38:53 -04:00
All Collections come with a matching poster to make a clean, consistent set of collections in your library. These files are stored in the [Plex Meta Manager Images](https://github.com/meisnate12/Plex-Meta-Manager-Images) Repository and each poster is downloaded straight to your Plex Collection when you run Plex Meta Manager.
2022-10-29 11:59:01 -04:00
Credits to Sohjiro, Bullmoose20, Yozora, Cpt Kuesel, and anon_fawkes for helping drive this entire Default Set of Configs through the concept, design and implementation.
2022-10-20 16:38:53 -04:00
Special thanks to Magic815 for the overlay image inspiration and base template.
Please consider [donating](https://github.com/sponsors/meisnate12) towards the project.
2022-10-29 11:59:01 -04:00
## Collection Defaults
2023-11-06 15:38:00 -05:00
See the [Collection Defaults](collections.md) Page for more information on the specifics of the Collection Defaults.
2022-10-29 11:59:01 -04:00
## Overlay Defaults
2022-11-07 22:02:07 -05:00
See the [Overlay Defaults](overlays.md) Page for more information on the specifics of the Overlay Defaults.
2022-10-20 16:38:53 -04:00
## Configurations
2023-12-31 11:45:00 -05:00
To run a default pmm Collection or Overlay file you can simply add it to your `collection_files` (For Collection Files) or `overlay_files` (For Overlay Files) using `pmm` like so:
2022-10-20 16:38:53 -04:00
```yaml
libraries:
Movies:
collection_files:
2022-10-20 16:38:53 -04:00
- pmm: actor
- pmm: genre
overlay_files:
2022-10-20 16:38:53 -04:00
- pmm: ribbon
- pmm: ratings
```
## 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:
collection_files:
2022-10-29 11:59:01 -04:00
- pmm: imdb
2022-10-20 16:38:53 -04:00
template_variables:
2022-10-29 11:59:01 -04:00
use_popular: false
use_lowest: false
visible_library_top: true
visible_home_top: true
visible_shared_top: true
overlay_files:
2022-10-29 11:59:01 -04:00
- pmm: ratings
2022-10-20 16:38:53 -04:00
template_variables:
builder_level: episode
2022-10-20 16:38:53 -04:00
```
2023-11-06 15:38:00 -05:00
Each file has a page on the wiki showing the available `template_variables` for each file. For example the default `pmm: ratings` has a page [here](overlays/ratings.md).
2022-10-20 16:38:53 -04:00
2023-12-31 11:45:00 -05:00
**In addition to the defined `template_variables` almost all default Collection and Overlay files have access to their respective [Collection](collection_variables.md)/[Overlay](overlay_variables.md) Shared Variables.**
2022-10-20 16:38:53 -04:00
2023-11-06 15:38:00 -05:00
{%
include-markdown "./example.md"
%}