Add method to clear cache and reload item
@@ -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
