|
|
|
@ -3069,9 +3069,9 @@ class CollectionBuilder:
|
|
|
|
|
plex_search = {"sort_by": self.custom_sort}
|
|
|
|
|
if self.builder_level in ["season", "episode"]:
|
|
|
|
|
plex_search["type"] = f"{self.builder_level}s"
|
|
|
|
|
plex_search["any"] = {f"{self.builder_level}_collection": self.name} # noqa
|
|
|
|
|
plex_search["any"] = {f"{self.builder_level}_collection": [self.name]} # noqa
|
|
|
|
|
else:
|
|
|
|
|
plex_search["any"] = {"collection": self.name}
|
|
|
|
|
plex_search["any"] = {"collection": [self.name]}
|
|
|
|
|
try:
|
|
|
|
|
search_data = self.build_filter("plex_search", plex_search)
|
|
|
|
|
except FilterFailed as e:
|
|
|
|
|