mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16: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'):
|
if not settings('kodiCompanion.bool') and settings('SyncInstallRunDone.bool'):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
for plugin in self.server['api'].get_plugins():
|
if settings('kodiCompanion.bool'):
|
||||||
if plugin['Name'] in ("Emby.Kodi Sync Queue", "Kodi companion"):
|
for plugin in self.server['api'].get_plugins():
|
||||||
fast_sync = True
|
if plugin['Name'] in ("Emby.Kodi Sync Queue", "Kodi companion"):
|
||||||
|
fast_sync = True
|
||||||
|
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
raise LibraryException('CompanionMissing')
|
raise LibraryException('CompanionMissing')
|
||||||
|
|
||||||
if settings('SyncInstallRunDone.bool'):
|
if settings('SyncInstallRunDone.bool'):
|
||||||
if fast_sync and not self.fast_sync():
|
if fast_sync and not self.fast_sync():
|
||||||
|
|
Loading…
Reference in a new issue