Add ratings property to PlexApi
MODIFY
plextraktsync/plex_api.py
plextraktsync/plex_api.py
@@ -538,6 +538,11 @@ def system_device(self, device_id: int) -> SystemDevice:
def system_account(self, account_id: int) -> SystemAccount:
return self.plex.systemAccount(account_id)
+ @property
+ @memoize
+ def ratings(self):
+ return PlexRatingCollection(self)
+
@nocache
def rate(self, m, rating):
m.rate(rating)

Add ratings property to PlexApi