marking series watched instead of episode. child not item.
This commit is contained in:
parent
1ed70fb66e
commit
32e256f111
@ -143,7 +143,7 @@ if __name__ == '__main__':
|
|||||||
# Check each episode
|
# Check each episode
|
||||||
if child.isWatched:
|
if child.isWatched:
|
||||||
ep_title = child.title.encode('utf-8')
|
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.'
|
print('Synced watch status of {} - {} to {}\'s account.'
|
||||||
.format(title, ep_title, user))
|
.format(title, ep_title, user))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user