Ensure ratingKey is passed as int
MODIFY
plex_trakt_sync/commands/watch.py
plex_trakt_sync/commands/watch.py
@@ -47,7 +47,7 @@ def scrobble(self, tm, percent, state):
def filter_media(self, message):
for item in self.filter_playing(message):
- pm = self.plex.fetch_item(item["ratingKey"])
+ pm = self.plex.fetch_item(int(item["ratingKey"]))
print(f"Found {pm}")
if not pm:
continue

Ensure ratingKey is passed as int