4.2 KiB
Director Default Metadata File
The - pmm: director
Metadata File is used to dynamically create collections based on the most popular directors in your library.
Example Collections Created:
The below YAML in your config.yml will create the director collections:
libraries:
Movies:
metadata_path:
- pmm: director
Rainier Style
Below is a screenshot of the alternative Rainier
style which can be set via template variables
Template Variables
Template Variables can be used to manipulate the director 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.
All Shared Variables are available as well as the additional Variables below which can be used to customize the file.
Variable | Description & Values | ||||||||
---|---|---|---|---|---|---|---|---|---|
style |
Description: Controls the visual theme of the collections created Values: bw - Black and white theme orrainier - Rainier theme |
||||||||
sort_by |
Description: Controls the sort method for the collections Values: Any sort method in the Sorts Options Table |
||||||||
data |
Description: Changes the following values of the collection builder Values:
|
The below is an example config.yml extract with some template_variables changed from their defaults.
libraries:
Movies:
metadata_path:
- pmm: director
template_variables:
data:
depth: 10
limit: 20
style: rainier
sort_by: title.asc
collection_section: 12
collection_mode: show_items
use_separator: false
sep_style: purple