diff --git a/plextraktsync/util/Factory.py b/plextraktsync/util/Factory.py index 81c05f5f1f..a290d980e6 100644 --- a/plextraktsync/util/Factory.py +++ b/plextraktsync/util/Factory.py @@ -318,6 +318,12 @@ def sync_config(self): return SyncConfig(self.config, self.server_config) + @cached_property + def sync_database(self): + from plextraktsync.db.SyncDatabase import SyncDatabase + + return SyncDatabase(self.sync_engine) + @cached_property def queue(self): from plextraktsync.queue.BackgroundTask import BackgroundTask