From 5b3e17ba5da2fe03afe87168e40db064016c84c5 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 5 Feb 2022 00:49:14 -0500 Subject: [PATCH] small fixes --- VERSION | 2 +- modules/builder.py | 4 ++-- modules/meta.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index e3ef2ef6..09d95554 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.1-develop48 +1.15.1-develop49 diff --git a/modules/builder.py b/modules/builder.py index b3a195e6..50500334 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1422,11 +1422,11 @@ class CollectionBuilder: if type_override: sort_type = type_override - elif smart and "type" in filter_alias and self.library.is_show: + elif "type" in filter_alias and self.library.is_show: if plex_filter[filter_alias["type"]] not in ["shows", "seasons", "episodes"]: raise Failed(f"{self.Type} Error: type: {plex_filter[filter_alias['type']]} is invalid, must be either shows, season, or episodes") sort_type = plex_filter[filter_alias["type"]] - elif smart and "type" in filter_alias and self.library.is_music: + elif "type" in filter_alias and self.library.is_music: if plex_filter[filter_alias["type"]] not in ["artists", "albums", "tracks"]: raise Failed(f"{self.Type} Error: type: {plex_filter[filter_alias['type']]} is invalid, must be either artists, albums, or tracks") sort_type = plex_filter[filter_alias["type"]] diff --git a/modules/meta.py b/modules/meta.py index 6f21cb91..491f961d 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -355,7 +355,7 @@ class MetadataFile(DataFile): remove_prefix = util.parse("Config", "remove_prefix", dynamic, parent=map_name, methods=methods, datatype="commalist") if "remove_prefix" in methods else [] remove_suffix = util.parse("Config", "remove_suffix", dynamic, parent=map_name, methods=methods, datatype="commalist") if "remove_suffix" in methods else [] sync = {i.title: i for i in self.library.search(libtype="collection", label=str(map_name))} if sync else {} - other_name = util.parse("Config", "other", dynamic, parent=map_name, methods=methods) if "other" in methods else None + other_name = util.parse("Config", "other", dynamic, parent=map_name, methods=methods) if "other" in methods and include else None other_keys = [] for key, value in auto_list.items(): if include and key not in include: