move the verify emby DB to the service entry

This commit is contained in:
sfaulds 2016-11-11 14:44:48 +11:00
commit 27f9985601
3 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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():