Add method to clear cache and reload item
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -146,6 +146,10 @@ def fetch_item(self, key: Union[int, str]):
media = self.plex.library.fetchItem(key)
return PlexLibraryItem(media)
+ def reload_item(self, pm):
+ self.fetch_item.cache_clear()
+ return self.fetch_item(pm.item.ratingKey)
+
@property
@memoize
@nocache

Add method to clear cache and reload item