From 5a41abd97418697866cc841eabdd78cdeb1aad9f Mon Sep 17 00:00:00 2001 From: blacktwin Date: Tue, 29 Dec 2020 15:42:37 -0500 Subject: [PATCH] search update addressing #276 --- utility/sync_watch_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/sync_watch_status.py b/utility/sync_watch_status.py index fea029a..ce8f0b8 100644 --- a/utility/sync_watch_status.py +++ b/utility/sync_watch_status.py @@ -501,7 +501,7 @@ if __name__ == '__main__': # Check library for watched items sectionFrom = watchedFrom.library.section(_library.title) if _library.type == 'show': - watched_lst = sectionFrom.search(libtype='episode', unwatched=False) + watched_lst = sectionFrom.search(libtype='episode', **{'show.unwatchedLeaves': False}) else: watched_lst = sectionFrom.search(unwatched=False)