Skip cache of trakt ratings as well
A bug from
MODIFY
plextraktsync/trakt_api.py
plextraktsync/trakt_api.py
@@ -83,7 +83,7 @@ def __missing__(self, media_type: str):
@flatten_dict
def ratings(self, media_type: str):
index = media_type.rstrip('s')
- for r in self.trakt.me.get_ratings(media_type):
+ for r in self.trakt.get_ratings(media_type):
yield r[index]['ids']['trakt'], r['rating']
@@ -173,6 +173,12 @@ def watchlist_movies(self):
def ratings(self):
return TraktRatingCollection(self)
+ @nocache
+ @rate_limit()
+ @time_limit()
+ def get_ratings(self, media_type: str):
+ return self.me.get_ratings(media_type)
+
@nocache
@rate_limit()
@time_limit()

Skip cache of trakt ratings as well

A bug from https://github.com/Taxel/PlexTraktSync/pull/725