diff --git a/addon.xml b/addon.xml index dba50b95..82dc9651 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index fe795b15..bc89af22 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -651,9 +651,6 @@ class LibrarySync(threading.Thread): log.warn("---===### Starting LibrarySync ###===---") - # Verify database structure, otherwise create it. - self._verify_emby_database() - while not self.monitor.abortRequested(): # In the event the server goes offline diff --git a/resources/lib/service_entry.py b/resources/lib/service_entry.py index 443c9248..5ed15c5c 100644 --- a/resources/lib/service_entry.py +++ b/resources/lib/service_entry.py @@ -100,6 +100,8 @@ class Service(object): self.websocket_thread = wsc.WebSocketClient() self.library_thread = librarysync.LibrarySync() + # Verify database structure, otherwise create it. + self.library_thread._verify_emby_database() while not self.monitor.abortRequested():