From 0216fa5bddd4140be28b25ec38c3f93009a948f8 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 6 Dec 2022 11:34:31 -0500 Subject: [PATCH] [42] add mdblist to seasonal --- VERSION | 2 +- defaults/chart/tautulli.yml | 6 ++---- defaults/movie/seasonal.yml | 3 +++ docs/defaults/movie/seasonal.md | 1 + modules/builder.py | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 8f6e30ac..78ea4688 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.0-develop41 +1.18.0-develop42 diff --git a/defaults/chart/tautulli.yml b/defaults/chart/tautulli.yml index 8672bd42..ef0a6990 100644 --- a/defaults/chart/tautulli.yml +++ b/defaults/chart/tautulli.yml @@ -35,8 +35,7 @@ collections: type: popular - name: shared - name: custom - template_variables: - cache_builders: 0 + cache_builders: 0 - name: translation translation_key: tautulli_popular @@ -48,7 +47,6 @@ collections: type: watched - name: shared - name: custom - template_variables: - cache_builders: 0 + cache_builders: 0 - name: translation translation_key: tautulli_watched diff --git a/defaults/movie/seasonal.yml b/defaults/movie/seasonal.yml index 5af5e7a3..22ecddda 100644 --- a/defaults/movie/seasonal.yml +++ b/defaults/movie/seasonal.yml @@ -22,6 +22,7 @@ templates: tmdb_movie_<>: <> imdb_list_<>: <> trakt_list_<>: <> + mdblist_list_<>: <> summary_<>: <> name_<>: <> emoji_<>: <> @@ -32,6 +33,7 @@ templates: - limit - imdb_list - trakt_list + - mdblist_list smart_label: sort_by: <>>> limit: <>>> @@ -43,6 +45,7 @@ templates: tmdb_movie: <>>> imdb_list: <>>> trakt_list: <>>> + mdblist_list: <>>> cache_builders: 1 summary: <>>> name: <>>><>>> diff --git a/docs/defaults/movie/seasonal.md b/docs/defaults/movie/seasonal.md index 8f740e77..04978fbf 100644 --- a/docs/defaults/movie/seasonal.md +++ b/docs/defaults/movie/seasonal.md @@ -51,6 +51,7 @@ This file contains a [Separator](../separators) so all [Shared Separator Variabl | `tmdb_movie_<>`1 | **Description:** Adds the TMDb Movie IDs given to the specified key's collection. Overrides the [default tmdb_movie](#default-tmdb_movie) for that collection if used.
**Values:** List of TMDb Movie IDs | | | `imdb_list_<>`1 | **Description:** Adds the Movies in the IMDb List to the specified key's collection. Overrides the [default imdb_list](#default-imdb_list) for that collection if used.
**Values:** List of IMDb List URLs | | | | `trakt_list_<>`1 | **Description:** Adds the Movies in the Trakt List to the specified key's collection.
**Values:** List of Trakt List URLs | | | | +| `mdblist_list_<>`1 | **Description:** Adds the Movies in the MDb List to the specified key's collection.
**Values:** List of MDbList URLs | | | | | `emoji` | **Description:** Controls the Emoji Prefix for all Collections. Set to `""` to remove all emojis.
**Values:** Any String | | `emoji_<>`1 | **Description:** Controls the Emoji Prefix for the specified key's collection.
**Values:** Any String | | `limit` | **Description:** Changes the Builder Limit for all collections in this file.
**Values:** Number Greater then 0 | diff --git a/modules/builder.py b/modules/builder.py index b5b622d8..0b02f493 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -213,7 +213,7 @@ class CollectionBuilder: elif not original_variables["name"]: raise Failed(f"{self.Type} Error: template sub-attribute name cannot be blank") named_templates.append(original_variables["name"]) - logger.debug(f"Templates Called: {','.join(named_templates)}") + logger.debug(f"Templates Called: {', '.join(named_templates)}") logger.debug("") new_variables = {} if "variables" in methods: