mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Actually fix kodi companion prompt
This commit is contained in:
parent
340d6887d0
commit
05c755ac21
1 changed files with 7 additions and 6 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue