mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-08-20 22:41:35 +00:00
a few more places we need to check for exceptions
This commit is contained in:
parent
4c9408b640
commit
f793f709ef
4 changed files with 37 additions and 16 deletions
|
@ -87,7 +87,12 @@ class LibrarySync(threading.Thread):
|
|||
if settings('serverSync') == "true":
|
||||
# Try to use fast start up
|
||||
url = "{server}/emby/Plugins?format=json"
|
||||
result = self.doUtils(url)
|
||||
|
||||
try:
|
||||
result = self.doUtils(url)
|
||||
except Exception as error:
|
||||
log.info("Error getting plugin list form server: " + str(error))
|
||||
result = []
|
||||
|
||||
for plugin in result:
|
||||
if plugin['Name'] == "Emby.Kodi Sync Queue":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue