From 58089fa9822db6f83d70816dbc1bb708ee7ee19d Mon Sep 17 00:00:00 2001 From: blacktwin Date: Wed, 27 Jan 2021 09:15:19 -0500 Subject: [PATCH] _cleanSearchFilter returns two elements --- plexapi/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexapi/library.py b/plexapi/library.py index cc8f11c5..7bd35517 100644 --- a/plexapi/library.py +++ b/plexapi/library.py @@ -665,7 +665,7 @@ class LibrarySection(PlexObject): args = {} for category, value in list(kwargs.items()): if category.split('__')[-1] not in OPERATORS: - args[category] = self._cleanSearchFilter(category, value, libtype) + args[category], libtype = self._cleanSearchFilter(category, value, libtype) del kwargs[category] if all([title, libtype]): args['title'] = title