Plex-Meta-Manager/docs/defaults/both/audio_language.md
2022-10-07 18:18:32 +01:00

2.5 KiB

Audio Language Default Metadata File

The audio_language Metadata File is used to dynamically create collections based on the audio languages available in your library.

Example Collections Created:

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

libraries:
  Movies:
    metadata_path:
      - pmm: audio_language

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 list of two-digit ISO 639-1 codes
exclude Description: Overrides the default exclude list
Values: Any list of two-digit ISO 639-1 codes
append_include Description: Appends to the existing include list
Values: Any list of two-digit ISO 639-1 codes
append_exclude Description: Appends to the existing exclude list
Values: Any list of two-digit ISO 639-1 codes

The below is an example config.yml extract with some template_variables changed from their defaults.

libraries:
  Movies:
    metadata_path:
      - pmm: audio_language
        template_variables:
          exclude:
            - fr  # exclude French
          sort_by: title.asc
          collection_section: 20
          collection_mode: show_items
          use_other: false
          use_separator: false
          sep_style: purple