Use trakt_api.rating in Media class
MODIFY
plextraktsync/media.py
plextraktsync/media.py
@@ -146,10 +146,7 @@ def mark_watched_plex(self):
@property
def trakt_rating(self):
- rating = self.trakt_api.ratings[self.media_type].get(self.trakt_id, None)
- if rating:
- return int(rating)
- return None
+ return self.trakt_api.rating(self.trakt)
@property
def plex_rating(self):

Use trakt_api.rating in Media class