mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
move the verify emby DB to the service entry
This commit is contained in:
parent
4575191093
commit
27f9985601
3 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="2.3.12"
|
version="2.3.13"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.19.0"/>
|
<import addon="xbmc.python" version="2.19.0"/>
|
||||||
|
|
|
@ -651,9 +651,6 @@ class LibrarySync(threading.Thread):
|
||||||
|
|
||||||
log.warn("---===### Starting LibrarySync ###===---")
|
log.warn("---===### Starting LibrarySync ###===---")
|
||||||
|
|
||||||
# Verify database structure, otherwise create it.
|
|
||||||
self._verify_emby_database()
|
|
||||||
|
|
||||||
while not self.monitor.abortRequested():
|
while not self.monitor.abortRequested():
|
||||||
|
|
||||||
# In the event the server goes offline
|
# In the event the server goes offline
|
||||||
|
|
|
@ -100,6 +100,8 @@ class Service(object):
|
||||||
self.websocket_thread = wsc.WebSocketClient()
|
self.websocket_thread = wsc.WebSocketClient()
|
||||||
self.library_thread = librarysync.LibrarySync()
|
self.library_thread = librarysync.LibrarySync()
|
||||||
|
|
||||||
|
# Verify database structure, otherwise create it.
|
||||||
|
self.library_thread._verify_emby_database()
|
||||||
|
|
||||||
while not self.monitor.abortRequested():
|
while not self.monitor.abortRequested():
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue