Trakt: Add method to get rating
MODIFY
plex_trakt_sync/trakt_api.py
plex_trakt_sync/trakt_api.py
@@ -94,6 +94,12 @@ def ratings(self):
return ratings
+ def rating(self, m):
+ if m.slug in self.ratings:
+ return int(self.ratings[m.slug])
+
+ return None
+
@rate_limit()
def find_movie(self, movie):
try:

Trakt: Add method to get rating