mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +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 ###===---")
|
||||
|
||||
# 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():
|
||||
|
||||
# In the event the server goes offline
|
||||
|
|
|
@ -85,6 +85,11 @@ class Service(object):
|
|||
|
||||
|
||||
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
|
||||
# if profile switch happens more than once.
|
||||
self.monitor = kodimonitor.KodiMonitor()
|
||||
|
|
Loading…
Reference in a new issue