Actually fix kodi companion prompt

This commit is contained in:
angelblue05 2018-09-10 00:40:04 -05:00
parent 340d6887d0
commit 05c755ac21

View file

@ -201,13 +201,14 @@ class Library(threading.Thread):
if not settings('kodiCompanion.bool') and settings('SyncInstallRunDone.bool'):
return True
for plugin in self.server['api'].get_plugins():
if plugin['Name'] in ("Emby.Kodi Sync Queue", "Kodi companion"):
fast_sync = True
if settings('kodiCompanion.bool'):
for plugin in self.server['api'].get_plugins():
if plugin['Name'] in ("Emby.Kodi Sync Queue", "Kodi companion"):
fast_sync = True
break
else:
raise LibraryException('CompanionMissing')
break
else:
raise LibraryException('CompanionMissing')
if settings('SyncInstallRunDone.bool'):
if fast_sync and not self.fast_sync():