From fbb6ca790c61ba27b6634f7860cc5e66862713ad Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Tue, 19 Apr 2016 15:20:11 +0200 Subject: [PATCH] Revert "Include Plex resume data in CreateListItem" This reverts commit 05d3242f22565edf772bab880c0647ce45829962. --- resources/lib/PlexAPI.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index 4bd1f259..2de47430 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -2172,11 +2172,6 @@ class API(): 'mpaa': self.getMpaa(), 'aired': self.getPremiereDate() } - try: - except ZeroDivisionError: - PercentPlayed = 0.0 - if PercentPlayed > 0: - metadata['PercentPlayed'] = PercentPlayed if self.getType() == "episode": # Only for tv shows