Plex-Meta-Manager/docs/defaults/both/resolution.md
2022-10-06 20:01:28 +01:00

3 KiB

Resolution Default Metadata File

The - pmm: resolution Metadata File is used to dynamically create collections based on the resolutions available in your library.

To avoid duplication, this file should not be used in combination with - pmm: resolution_standards

Example Collections Created:

The below YAML in your config.yml will create the collections:

libraries:
  Movies:
    metadata_path:
      - pmm: resolution

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.

All Shared Variables are available as well as the additional Variables below which can be used to customize the file.

Variable Description & Values
sort_by Description: Controls the sort method for the collections
Values: Any sort method in the Sorts Options Table
include Description: Overrides the default include list
Values: Any Resolution found in your library
exclude Description: Overrides the default exclude list
Values: Any Resolution found in your library
addons Description: Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex
Values: Any Resolution found in your library
append_include Description: Appends to the existing include list
Values: Any Resolution found in your library
append_exclude Description: Appends to the existing exclude list
Values: Any Resolution found in your library
append_addons Description: Appends to the existing addons list
Values: Any Resolution found in your library

The below shows an example config.yml with all the template_variables set away from their defaults:

libraries:
  Movies:
    metadata_path:
      - pmm: resolution
        template_variables:
          exclude:
            - SD
          sort_by: title.asc
          collection_section: 15
          collection_mode: show_items
          use_separator: false
          sep_style: green