search update addressing #276

This commit is contained in:
blacktwin 2020-12-29 15:42:37 -05:00
parent 3036a126ba
commit 5a41abd974

View File

@ -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)