mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
do the emby tables check flag reset earlier
This commit is contained in:
parent
1f34e043ec
commit
38a5edee63
2 changed files with 5 additions and 4 deletions
|
@ -645,10 +645,6 @@ class LibrarySync(threading.Thread):
|
||||||
|
|
||||||
log.warn("---===### Starting LibrarySync ###===---")
|
log.warn("---===### Starting LibrarySync ###===---")
|
||||||
|
|
||||||
# reset the internal emby tables check status
|
|
||||||
# we need to check at least once per run or on switching profiles
|
|
||||||
window('emby_db_checked', value="false")
|
|
||||||
|
|
||||||
while not self.monitor.abortRequested():
|
while not self.monitor.abortRequested():
|
||||||
|
|
||||||
# In the event the server goes offline
|
# In the event the server goes offline
|
||||||
|
|
|
@ -85,6 +85,11 @@ class Service(object):
|
||||||
|
|
||||||
|
|
||||||
def service_entry_point(self):
|
def service_entry_point(self):
|
||||||
|
|
||||||
|
# reset the internal emby tables check status
|
||||||
|
# we need to check at least once per run or on switching profiles
|
||||||
|
window('emby_db_checked', value="false")
|
||||||
|
|
||||||
# Important: Threads depending on abortRequest will not trigger
|
# Important: Threads depending on abortRequest will not trigger
|
||||||
# if profile switch happens more than once.
|
# if profile switch happens more than once.
|
||||||
self.monitor = kodimonitor.KodiMonitor()
|
self.monitor = kodimonitor.KodiMonitor()
|
||||||
|
|
Loading…
Reference in a new issue