marking series watched instead of episode. child not item.

This commit is contained in:
Blacktwin 2018-04-13 13:25:48 -04:00 committed by Blacktwin
parent 1ed70fb66e
commit 32e256f111

View File

@ -143,7 +143,7 @@ if __name__ == '__main__':
# Check each episode
if child.isWatched:
ep_title = child.title.encode('utf-8')
plexTo.fetchItem(item.key).markWatched()
plexTo.fetchItem(child.key).markWatched()
print('Synced watch status of {} - {} to {}\'s account.'
.format(title, ep_title, user))
except Exception as e: