From 8874aa00b636b7502fa4c1235a94f9db94949d5c Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Fri, 28 Apr 2023 17:20:34 +0100 Subject: [PATCH] add `delete_collections_named` to Shared Collection Variables --- defaults/show/network.yml | 2 ++ defaults/templates.yml | 3 ++- docs/defaults/collection_variables.md | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/defaults/show/network.yml b/defaults/show/network.yml index 7ebff54d..e4f20c85 100644 --- a/defaults/show/network.yml +++ b/defaults/show/network.yml @@ -26,6 +26,8 @@ dynamic_collections: - smart_filter - shared template_variables: + delete_collections_named: + Max: HBO Max search_term: default: network image: diff --git a/defaults/templates.yml b/defaults/templates.yml index dd598f2a..128c8f31 100644 --- a/defaults/templates.yml +++ b/defaults/templates.yml @@ -100,6 +100,7 @@ templates: - file_background - limit - name_mapping + - delete_collections_named run_definition: - <>>> - <> @@ -125,7 +126,7 @@ templates: url_background: <>>> file_background: <>>> minimum_items: <>>> - + delete_collections_named: <> trakt: optional: - trakt_list diff --git a/docs/defaults/collection_variables.md b/docs/defaults/collection_variables.md index b54452f6..d207475b 100644 --- a/docs/defaults/collection_variables.md +++ b/docs/defaults/collection_variables.md @@ -22,6 +22,7 @@ Below are the available variables which can be used to customize the file. | `ignore_imdb_ids` | **Description:** Set a list or comma-separated string of IMDb IDs to ignore in all collections.
**Values:** List or comma-separated string of IMDb IDs | | `minimum_items` | **Description:** Set the number of minimum items for a collection to be created for all collections.
**Values:** Any Number greater then 0 | | `minimum_items_<>`1 | **Description:** Set the number of minimum items for a collection to be created for the specified key's collection.
**Values:** Any Number greater then 0 | +| `delete_collections_named` | **Description:** Used to delete any collections in your plex named one of the given collections.
**Values:** List of Collection Names to delete | | `url_poster` | **Description:** Changes the poster url for all collections.
**Values:** URL directly to the Image | | `url_poster_<>`1 | **Description:** Changes the poster url of the specified key's collection.
**Values:** URL directly to the Image | | `file_poster` | **Description:** Sets the poster filepath for all collections.
**Values:** Filepath directly to the Image |