mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-12-23 19:33:08 +00:00
3.2 KiB
3.2 KiB
BAFTA Default Metadata File
The - pmm: chart/bafta
Metadata File is used to dynamically create collections based on the genres available in your library.
This file also merges similarly named genres (such as "Sci-Fi", "SciFi" and "Sci-Fi & Fantasy") into one ("Science Fiction")
Example Collections Created:
The below YAML in your config.yml will create the actor collections:
libraries:
Movies:
metadata_path:
- pmm: chart/bafta
Template Variables
Template Variables can be used to manipulate the 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 file.
Variable | Usage | Default Value | Values |
---|---|---|---|
sort_by | Controls the sort method for the collections | release.desc |
Any sort method in the Sorts Options Table |
collection_section | Controls the sort order of these collections against other default collections | 10 |
Any number |
collection_mode | Controls the collection mode of these collections | default |
default - Library defaulthide - Hide Collectionhide_items - Hide Items in this Collectionshow_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 |
The below shows an example config.yml with all of the template_variables set away from their defaults:
libraries:
Movies:
metadata_path:
- pmm: chart/bafta
template_variables:
sort_by: title.asc
collection_section: 5
collection_mode: show_items
use_separator: false
sep_style: red