Add fetch_item method
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -135,6 +135,10 @@ def show_sections(self):
return result
+ @memoize
+ def fetch_item(self, key: str):
+ return self.plex.library.fetchItem(f"/library/metadata/{key}")
+
@property
@memoize
@nocache

Add fetch_item method