mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
suppress 401 error
This commit is contained in:
parent
3d31568518
commit
a658459862
2 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,8 @@ class ClientInfo(object):
|
||||||
|
|
||||||
return device_name
|
return device_name
|
||||||
|
|
||||||
def get_platform(self):
|
@classmethod
|
||||||
|
def get_platform(cls):
|
||||||
|
|
||||||
if xbmc.getCondVisibility('system.platform.osx'):
|
if xbmc.getCondVisibility('system.platform.osx'):
|
||||||
return "OSX"
|
return "OSX"
|
||||||
|
|
|
@ -907,6 +907,8 @@ class LibrarySync(threading.Thread):
|
||||||
except Warning as e:
|
except Warning as e:
|
||||||
if "restricted" in e:
|
if "restricted" in e:
|
||||||
pass
|
pass
|
||||||
|
elif "401" in e:
|
||||||
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
window('emby_dbScan', clear=True)
|
window('emby_dbScan', clear=True)
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
|
|
Loading…
Reference in a new issue