Add version and updated_at properties to PlexApi
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -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

Add version and updated_at properties to PlexApi