Add version and updated_at properties to PlexApi
@@ -266,6 +266,18 @@ def search(self, title: str, **kwargs):
for media in result:
yield PlexLibraryItem(media)
+ @property
+ @memoize
+ @nocache
+ def version(self):
+ return self.plex.version
+
+ @property
+ @memoize
+ @nocache
+ def updated_at(self):
+ return self.plex.updatedAt
+
@property
@memoize
@nocache
