From 53f964290446c5cf2a9ae7c7bd2db9a005ed00d7 Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Tue, 10 Sep 2024 18:49:47 +0100 Subject: [PATCH] Add `minimum_items_<>` support to universe Defaults file (#2219) Co-authored-by: GitHub Action --- CHANGELOG | 1 + VERSION | 2 +- defaults/both/universe.yml | 4 +++- docs/defaults/collection_variables.md | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ea427606..41cdd2dd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -18,6 +18,7 @@ Added new studios : Disney Television Animation, DisneyToon Studios, Dynamic Pla # Defaults Fixed #2150; change xmen list to a new one Added `A Quiet Place: Day One` to the `A Quiet Place` collection in the `franchise` Defaults file +Add `minimum_items_<>` to universe Default file # Bug Fixes Fixed multiple anime `int()` Errors diff --git a/VERSION b/VERSION index 45ca6a37..3b64e848 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.2-build33 +2.0.2-build33.1 diff --git a/defaults/both/universe.yml b/defaults/both/universe.yml index 95eacbde..ffb80762 100644 --- a/defaults/both/universe.yml +++ b/defaults/both/universe.yml @@ -26,6 +26,7 @@ templates: mdblist_list_<>.exists: false value: <> default: + minimum_items_<>: <> mdblist_list_<>: <> trakt_list_<>: <> name_mapping_<>: <> @@ -36,7 +37,8 @@ templates: - imdb_list_<> - mdblist_url - trakt_url - minimum_items: <> + - minimum_items + minimum_items: <>>> name_mapping: <>>> imdb_list: <>>> trakt_list: <>>> diff --git a/docs/defaults/collection_variables.md b/docs/defaults/collection_variables.md index c823f804..5a5c6bfc 100644 --- a/docs/defaults/collection_variables.md +++ b/docs/defaults/collection_variables.md @@ -25,9 +25,9 @@ File paths need to be valid in the context where Kometa is running; this is prim | `file_poster` | **Description:** Sets the poster filepath for all collections.
**Values:** Filepath directly to the Image | | `file_poster_<>`1 | **Description:** Sets the poster filepath of the specified key's collection.
**Values:** Filepath directly to the Image | | `url_background` | **Description:** Sets the background url for all collections.
**Values:** URL directly to the Image | -| `url_background__<>`1 | **Description:** Sets the background url of the specified key's collection.
**Values:** URL directly to the Image | +| `url_background_<>`1 | **Description:** Sets the background url of the specified key's collection.
**Values:** URL directly to the Image | | `file_background` | **Description:** Sets the background filepath for all collections.
**Values:** Filepath directly to the Image | -| `file_background__<>`1 | **Description:** Sets the background filepath of the specified key's collection.
**Values:** Filepath directly to the Image | +| `file_background_<>`1 | **Description:** Sets the background filepath of the specified key's collection.
**Values:** Filepath directly to the Image | | `visible_library` | **Description:** Controls visible on Library Recommended Tab for all collections in a Defaults file. (Only works with Plex Pass)
**Values:**
`true`Visible
`false`Not Visible
[Any `schedule` Option](../config/schedule.md)Visible When Scheduled
| | `visible_library_<>`1 | **Description:** Controls visible on Library Recommended Tab of the specified key's collection. (Only works with Plex Pass)
**Default:** `visible_library`
**Values:**
`true`Visible
`false`Not Visible
[Any `schedule` Option](../config/schedule.md)Visible When Scheduled
| | `visible_home` | **Description:** Controls visible on Home Tab for all collections in a Defaults file. (Only works with Plex Pass)
**Values:**
`true`Visible
`false`Not Visible
[Any `schedule` Option](../config/schedule.md)Visible When Scheduled
|