Update watched_on_trakt to support episodes
MODIFY
plex_trakt_sync/media.py
plex_trakt_sync/media.py
@@ -54,8 +54,12 @@ def watched_on_plex(self):
@property
def watched_on_trakt(self):
+ if self.is_movie:
return self.trakt_id in self.trakt_api.watched_movies
+ watched = self.trakt_api.watched_shows
+ return watched.get_completed(self.show_trakt_id, self.season_number, self.episode_number)
+
def __str__(self):
return str(self.plex)

Update watched_on_trakt to support episodes