><>>>< >"` and so for `genre` if you have a `Fantasy` collection, plex is going to show `!06_Fantasy` This is the default PMM collection ordering: | Collection | Collection Section | |:-----------------------|:------------------:| | `seasonal` | `00` | | `anilist` | `01` | | `basic` | `01` | | `imdb` | `01` | | `flixpatrol` | `01` | | `myanimelist` | `01` | | `other_chart` | `01` | | `tautulli` | `01` | | `tmdb` | `01` | | `trakt` | `01` | | `universe` | `02` | | `streaming` | `03` | | `network` | `04` | | `genre` | `06` | | `studio` | `07` | | `country` | `09` | | `audio_language` | `10` | | `subtitle_language` | `11` | | `decade` | `12` | | `year` | `13` | | `content_rating_us` | `14` | | `content_rating_uk` | `14` | | `content_rating_cs` | `14` | | `resolution` | `15` | | `resolution_standards` | `15` | | `bafta` | `16` | | `cannes` | `16` | | `choice` | `16` | | `emmy` | `16` | | `golden` | `16` | | `oscars` | `16` | | `other_award` | `16` | | `spirit` | `16` | | `sundance` | `16` | | `actor` | `17` | | `director` | `18` | | `producer` | `19` | | `writer` | `20` | ## Customizing Configs Configs can be customized using the `template_variables` attribute when calling the file. These `template_variables` will be given to every template call in the file which allows them to affect how that file runs. This example changes the ratings overlay to work on episodes. ```yaml libraries: TV Shows: metadata_path: - pmm: imdb template_variables: use_popular: false use_lowest: false visible_library_top: true visible_home_top: true visible_shared_top: true ``` Each file has a page on the wiki showing the available `template_variables` for each file. For example the default `pmm: genre` has a page [here](both/genre). **In addition to the defined `template_variables` almost all default Metadata files have access to the [Shared Variables](collection_variables).** ### Examples For example if you want yearly oscar collections that go back 10 years instead of 5 all of which gets sent to radarr use the `data` and `radarr_add_missing` template variables. ```yaml libraries: Movies: metadata_path: - pmm: oscars template_variables: radarr_add_missing: true data: starting: current_year-10 ending: current_year ``` Or maybe you want to change the number of actor collections made using pmm: actor. ```yaml libraries: Movies: overlay_path: - pmm: actor template_variables: collection_mode: hide data: depth: 5 limit: 50 ``` Or maybe you want to change the collection sort order of the genre collections using pmm: genre. ```yaml libraries: Movies: metadata_path: - pmm: genre template_variables: collection_section: 11 ``` Or maybe you want to disable separators globally per library. ```yaml libraries: LIBRARYNAME: template_variables: use_separator: false metadata_path: - ... ``` Alternatively it can be turned off individually per git file: ```yaml libraries: LIBRARYNAME: metadata_path: - pmm: # separator is disabled template_variables: use_separator: false - pmm: # separator is enabled by default - pmm: # separator is disabled template_variables: use_separator: false ``` ```{include} example.md ```