Revert "Include Plex resume data in CreateListItem"

This reverts commit 05d3242f22.
This commit is contained in:
tomkat83 2016-04-19 15:20:11 +02:00
parent 8bb0b240e2
commit fbb6ca790c

View file

@ -2172,11 +2172,6 @@ class API():
'mpaa': self.getMpaa(), 'mpaa': self.getMpaa(),
'aired': self.getPremiereDate() 'aired': self.getPremiereDate()
} }
try:
except ZeroDivisionError:
PercentPlayed = 0.0
if PercentPlayed > 0:
metadata['PercentPlayed'] = PercentPlayed
if self.getType() == "episode": if self.getType() == "episode":
# Only for tv shows # Only for tv shows