Add factory for Sync
@@ -56,6 +56,14 @@ def requests_cache(self):
return requests_cache
+ @memoize
+ def sync(self):
+ from plex_trakt_sync.sync import Sync
+
+ config = self.config()
+
+ return Sync(config)
+
@memoize
def progressbar(self, enabled=True):
if enabled:
