From 99485673412a10d3a52ff439f85f7e6c5d022c64 Mon Sep 17 00:00:00 2001 From: YozoraXCII Date: Fri, 30 Sep 2022 09:51:36 +0100 Subject: [PATCH 1/2] add Razzies to defaults/award/other --- defaults/award/other.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/defaults/award/other.yml b/defaults/award/other.yml index 1a323da9..877334ba 100644 --- a/defaults/award/other.yml +++ b/defaults/award/other.yml @@ -34,6 +34,17 @@ external_templates: collection_section: 16 collections: + Berlinale: + variables: + key: berlinale + template: + - name: shared + allowed_libraries: movie + image: award/berlinale/winner + - name: arr + - name: custom + trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/berlin-international-film-festival-golden-bears + Cesar: variables: key: cesar @@ -45,16 +56,16 @@ collections: - name: custom trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/cesar-award-best-french-film - Berlinale: + Razzies: variables: - key: berlinale + key: razzie template: - name: shared allowed_libraries: movie - image: award/berlinale/winner + image: award/razzie/winner - name: arr - name: custom - trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/berlin-international-film-festival-golden-bears + trakt_list_details: https://trakt.tv/users/hdlists/lists/razzie-awards-worst-picture-winners Venice: variables: @@ -65,4 +76,4 @@ collections: image: award/venice/winner - name: arr - name: custom - trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/venice-film-festival-golden-lion + trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/venice-film-festival-golden-lion \ No newline at end of file From f25728c4544c5806a69af2815ae5c2d63a66b05f Mon Sep 17 00:00:00 2001 From: YozoraXCII Date: Fri, 30 Sep 2022 10:59:18 +0100 Subject: [PATCH 2/2] Remove uses of `include` and `exclude` from examples due to overriding entire lists --- docs/defaults/both/studio.md | 4 +--- docs/defaults/movie/country.md | 4 ++-- docs/defaults/show/network.md | 6 +++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/defaults/both/studio.md b/docs/defaults/both/studio.md index b22f0b44..b3057b08 100644 --- a/docs/defaults/both/studio.md +++ b/docs/defaults/both/studio.md @@ -52,7 +52,7 @@ libraries: Dynamic Collections attributes can also be edited to tweak the setup of the collections. The YAML file which creates the `studio` collections can be found [here](https://github.com/meisnate12/Plex-Meta-Manager/blob/defaults/defaults/both/studio.yml) -An example of this is; to include the "ABC Pictures" studio and map the "ABC News" studio to it, the following template variables can be used: +An example of this is; to map the "ABC News" studio to it, the following template variables can be used: ```yaml libraries: @@ -60,8 +60,6 @@ libraries: metadata_path: - pmm: studio template_variables: - include: - - ABC Pictures addons: ABC Picture: - ABC News diff --git a/docs/defaults/movie/country.md b/docs/defaults/movie/country.md index c247abff..56b2e842 100644 --- a/docs/defaults/movie/country.md +++ b/docs/defaults/movie/country.md @@ -55,7 +55,7 @@ libraries: Dynamic Collections attributes can also be edited to tweak the setup of the collections. The YAML file which creates the `country` collections can be found [here](https://github.com/meisnate12/Plex-Meta-Manager/blob/defaults/defaults/movie/country.yml) -An example of this is; to include Barbados in the collection list, the following template variable can be used: +An example of this is; to override the exclude list to only exclude Barbados from the collection list, the following template variable can be used: ```yaml libraries: @@ -63,7 +63,7 @@ libraries: metadata_path: - pmm: movie/country template_variables: - include: + exclude: - Barbados ``` diff --git a/docs/defaults/show/network.md b/docs/defaults/show/network.md index 7f99f2f2..a05adaec 100644 --- a/docs/defaults/show/network.md +++ b/docs/defaults/show/network.md @@ -51,7 +51,7 @@ libraries: Dynamic Collections attributes can also be edited to tweak the setup of the collections. The YAML file which creates the `network` collections can be found [here](https://github.com/meisnate12/Plex-Meta-Manager/blob/defaults/defaults/show/network.yml) -An example of this is; to include the "Adult Swim" network, the following template variables can be used: +An example of this is; to rename the "BBC" netowrk to "BBC Worldwide", the following template variables can be used: ```yaml libraries: @@ -59,8 +59,8 @@ libraries: metadata_path: - pmm: show/show/network template_variables: - include: - - Adult Swim + name_mapping: + - BBC: BBC Worldwide ``` Further information on editing Dynamic Collections using template variables can be found [here](https://metamanager.wiki/en/latest/home/guides/defaults.html#customizing-configs)