Plex-Meta-Manager/docs/defaults/movie/director.md
2022-10-08 12:31:06 -04:00

4.2 KiB

Director Default Metadata File

The 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 or
rainier - 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:
AttributeDescription & Values
depthControls the depth within the casting credits to search for common actors
Values: Number greater than 0
Default: 5
limitControls the maximum number of collections to create
Values: Number greater than 0
Default: 25

The below is an example config.yml extract with some Template Variables added in to change how the file works.

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