Merge pull request #278 from blacktwin/sync_watched_update
Update to search for watched items
This commit is contained in:
commit
9af6626b6d
@ -501,7 +501,7 @@ if __name__ == '__main__':
|
|||||||
# Check library for watched items
|
# Check library for watched items
|
||||||
sectionFrom = watchedFrom.library.section(_library.title)
|
sectionFrom = watchedFrom.library.section(_library.title)
|
||||||
if _library.type == 'show':
|
if _library.type == 'show':
|
||||||
watched_lst = sectionFrom.search(libtype='episode', unwatched=False)
|
watched_lst = sectionFrom.search(libtype='episode', **{'show.unwatchedLeaves': False})
|
||||||
else:
|
else:
|
||||||
watched_lst = sectionFrom.search(unwatched=False)
|
watched_lst = sectionFrom.search(unwatched=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user