From 492f9be406fb783466c135d13bf2f4bfeee96df2 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 10 Oct 2023 15:57:10 -0400 Subject: [PATCH] [8] update no items found error --- VERSION | 2 +- defaults/both/studio.yml | 2 +- docs/defaults/both/studio.md | 4 ++- docs/defaults/movie/seasonal.md | 44 ++++++++++++++++----------------- modules/builder.py | 7 +++--- 5 files changed, 31 insertions(+), 28 deletions(-) diff --git a/VERSION b/VERSION index 4c453351..a848ec37 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.1-develop7 +1.19.1-develop8 diff --git a/defaults/both/studio.yml b/defaults/both/studio.yml index b29fc469..b294fdc4 100644 --- a/defaults/both/studio.yml +++ b/defaults/both/studio.yml @@ -666,7 +666,7 @@ dynamic_collections: - Tiger Aspect Productions TMS Entertainment: - Tokyo Movie Shinsha - Toei Animation + Toei Animation: - Toei TriStar Pictures: - TriStar diff --git a/docs/defaults/both/studio.md b/docs/defaults/both/studio.md index 549999d6..a6fd4ecf 100644 --- a/docs/defaults/both/studio.md +++ b/docs/defaults/both/studio.md @@ -716,8 +716,10 @@ addons: - Tiger Aspect Productions TMS Entertainment: - Tokyo Movie Shinsha + Toei Animation: + - Toei TriStar Pictures: - - TriStar + - TriStar Universal Pictures: - Universal - Universal Animation Studios diff --git a/docs/defaults/movie/seasonal.md b/docs/defaults/movie/seasonal.md index 2fc81e41..d89962b6 100644 --- a/docs/defaults/movie/seasonal.md +++ b/docs/defaults/movie/seasonal.md @@ -10,28 +10,28 @@ Supported Library Types: Movie ## Collections Section 000 -| Collection | Key | Description | -|:---------------------------------------------------|:-------------------|:-----------------------------------------------------------------------------| -| `Seasonal Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. | -| `🎊 New Year's Day Movies` | `years` | Collection of Movies related to New Year's Day. | -| `💘 Valentine's Day Movies` | `valentine` | Collection of Movies related to Valentine's Day. | -| `☘ St. Patrick's Day Movies` | `patrick` | Collection of Movies related to St. Patrick's Day. | -| `🐰 Easter Movies` | `easter` | Collection of Movies related to Easter. | -| `🤱 Mother's Day Movies` | `mother` | Collection of Movies related to Mother's Day. | -| `🪖 Memorial Day Movies` | `memorial` | Collection of Movies related to Memorial Day. | -| `👨 Father's Day Movies` | `father` | Collection of Movies related to Father's Day. | -| `🎆 Independence Day Movies` | `independence` | Collection of Movies related to Independence Day. | -| `⚒ Labor Day Movies` | `labor` | Collection of Movies related to Labor Day. | -| `🎃 Halloween Movies` | `halloween` | Collection of Movies related to Halloween. | -| `🎖 Veteran's Day Movies` | `veteran` | Collection of Movies related to Veteran's Day. | -| `🦃 Thanksgiving Movies` | `thanksgiving` | Collection of Movies related to Thanksgiving. | -| `🎅 Christmas Movies` | `christmas` | Collection of Movies related to Christmas. | -| `🌊🌺 Asian American Pacific Islander Movies` | `aapi` | Collection of Movies related to Asian American Pacific Islander Month | -| `♿ Disability Month Movies` | `disabilities` | Collection of Movies related to Disability Month | -| `✊ 🏿 Black History Month Movies` | `black_history` | Collection of Movies related to Black History Month | -| `🏳️‍🌈 LGBTQ Month Movies` | `lgbtq` | Collection of Movies related to LGBTQ Month | -| `🪅 National Hispanic Heritage Movies` | `latinx` | Collection of Movies related to National Hispanic Heritage Month | -| `🚺 Women's History Month Movies` | `women` | Collection of Movies related to Women's History Month | +| Collection | Key | Description | +|:----------------------------------------------|:----------------|:----------------------------------------------------------------------------| +| `Seasonal Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. | +| `🎊 New Year's Day Movies` | `years` | Collection of Movies related to New Year's Day. | +| `💘 Valentine's Day Movies` | `valentine` | Collection of Movies related to Valentine's Day. | +| `☘ St. Patrick's Day Movies` | `patrick` | Collection of Movies related to St. Patrick's Day. | +| `🐰 Easter Movies` | `easter` | Collection of Movies related to Easter. | +| `🤱 Mother's Day Movies` | `mother` | Collection of Movies related to Mother's Day. | +| `🪖 Memorial Day Movies` | `memorial` | Collection of Movies related to Memorial Day. | +| `👨 Father's Day Movies` | `father` | Collection of Movies related to Father's Day. | +| `🎆 Independence Day Movies` | `independence` | Collection of Movies related to Independence Day. | +| `⚒ Labor Day Movies` | `labor` | Collection of Movies related to Labor Day. | +| `🎃 Halloween Movies` | `halloween` | Collection of Movies related to Halloween. | +| `🎖 Veteran's Day Movies` | `veteran` | Collection of Movies related to Veteran's Day. | +| `🦃 Thanksgiving Movies` | `thanksgiving` | Collection of Movies related to Thanksgiving. | +| `🎅 Christmas Movies` | `christmas` | Collection of Movies related to Christmas. | +| `🌊🌺 Asian American Pacific Islander Movies` | `aapi` | Collection of Movies related to Asian American Pacific Islander Month | +| `♿ Disability Month Movies` | `disabilities` | Collection of Movies related to Disability Month | +| `✊ 🏿 Black History Month Movies` | `black_history` | Collection of Movies related to Black History Month | +| `🏳️‍🌈 LGBTQ Month Movies` | `lgbtq` | Collection of Movies related to LGBTQ Month | +| `🪅 National Hispanic Heritage Movies` | `latinx` | Collection of Movies related to National Hispanic Heritage Month | +| `🚺 Women's History Month Movies` | `women` | Collection of Movies related to Women's History Month | ## Config diff --git a/modules/builder.py b/modules/builder.py index 67abae7d..61da21c9 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1118,9 +1118,10 @@ class CollectionBuilder: self.obj = None if self.smart: check_url = self.smart_url if self.smart_url else self.smart_label_url - if self.obj and check_url != self.library.smart_filter(self.obj): - self.library.update_smart_collection(self.obj, check_url) - logger.info(f"Detail: Smart Collection updated to {check_url}") + if self.obj: + if check_url != self.library.smart_filter(self.obj): + self.library.update_smart_collection(self.obj, check_url) + logger.info(f"Detail: Smart Collection updated to {check_url}") self.beginning_count = len(self.library.fetchItems(check_url)) if self.obj: self.exists = True