Add watch_progress method
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -66,6 +66,10 @@ def seen_date(self):
except ValueError: # for py<3.6
return date
+ def watch_progress(self, view_offset):
+ percent = view_offset / self.item.duration * 100
+ return percent
+
@property
@memoize
def guid_is_imdb_legacy(self):

Add watch_progress method