[8] update no items found error

pull/1657/head
meisnate12 1 year ago
parent 5fd4a5af8e
commit 492f9be406

@ -1 +1 @@
1.19.1-develop7
1.19.1-develop8

@ -666,7 +666,7 @@ dynamic_collections:
- Tiger Aspect Productions
TMS Entertainment:
- Tokyo Movie Shinsha
Toei Animation
Toei Animation:
- Toei
TriStar Pictures:
- TriStar

@ -716,6 +716,8 @@ addons:
- Tiger Aspect Productions
TMS Entertainment:
- Tokyo Movie Shinsha
Toei Animation:
- Toei
TriStar Pictures:
- TriStar
Universal Pictures:

@ -11,7 +11,7 @@ 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. |

@ -1118,7 +1118,8 @@ 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):
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))

Loading…
Cancel
Save