suppress 401 error

This commit is contained in:
angelblue05 2016-09-04 22:58:46 -05:00
parent 3d31568518
commit a658459862
2 changed files with 4 additions and 1 deletions

View file

@ -50,7 +50,8 @@ class ClientInfo(object):
return device_name
def get_platform(self):
@classmethod
def get_platform(cls):
if xbmc.getCondVisibility('system.platform.osx'):
return "OSX"

View file

@ -907,6 +907,8 @@ class LibrarySync(threading.Thread):
except Warning as e:
if "restricted" in e:
pass
elif "401" in e:
pass
except Exception as e:
window('emby_dbScan', clear=True)
log.exception(e)