3.5 KiB
Basic Charts Default Metadata File
The basic
Metadata File is used to create collections based on recently released media in your library.
This file works with Movie and TV Libraries.
The below YAML in your config.yml will create the collections:
libraries:
Movies:
metadata_path:
- pmm: basic
TV Shows:
metadata_path:
- pmm: basic
Collections
Collection | Key | Description |
---|---|---|
Newly Released |
released |
Collection of Movies or TV Shows released in the last 90 days. |
New Episodes |
episodes |
Collection of Episodes released in the last 7 days. |
Examples
Example Collections Created:
Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the templates_variables:
section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All Shared Variables are available as well as the additional Variables below which can be used to customize the file.
Variable | Description & Values | ||||
---|---|---|---|---|---|
limit |
Description: Changes the Smart Filter Limit for all collections in a Defaults file. Values: Number Greater then 0 |
||||
limit_<<key>> |
Description: Changes the Smart Filter Limit of the specified key's Collection. Default: limit Values: Number Greater then 0 |
||||
sort_by |
Description: Changes the Smart Filter Sort for all collections in a Defaults file. Default: release.desc Values: Any smart_filter Sort Option |
||||
sort_by_<<key>> |
Description: Changes the Smart Filter Sort of the specified key's Collection. Default: sort_by Values: Any smart_filter Sort Option |
||||
in_the_last_<<key>> |
Description: Changes how far back the Smart Filter looks. Default:
Values: Number Greater then 0 |
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: basic
template_variables:
use_released: false
in_the_last_episodes: 14
visible_library_released: true
visible_home_released: true
visible_shared_released: true