From ef87f88e0502b53dc98810c6a20887bf5afc106f Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Fri, 15 Mar 2019 16:21:21 -0400 Subject: [PATCH] change for checking if episode is watched from fromUser --- utility/sync_watch_status.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utility/sync_watch_status.py b/utility/sync_watch_status.py index cb9a141..7ead677 100644 --- a/utility/sync_watch_status.py +++ b/utility/sync_watch_status.py @@ -476,8 +476,9 @@ if __name__ == '__main__': # Check library for watched items sectionFrom = watchedFrom.library.section(_library.title) if _library.type == 'show': - for episode in sectionFrom.searchEpisodes(unwatched=False): - watched_lst.append(episode) + for episode in sectionFrom.episodes(): + if episode.isWatched: + watched_lst.append(episode) else: for item in sectionFrom.search(unwatched=False): watched_lst.append(item)