use diff endpoint to validate server online

This commit is contained in:
angelblue05 2017-08-12 20:10:06 -05:00
parent d1054896bc
commit 37cb909f46

View file

@ -77,7 +77,7 @@ class UserClient(threading.Thread):
def verify_server(self): def verify_server(self):
try: try:
url = "%s/emby/Users/Public?format=json" % self.get_server() url = "%s/emby/system/info/public?format=json" % self.get_server()
self.doutils.downloadUrl(url, authenticate=False) self.doutils.downloadUrl(url, authenticate=False)
return True return True
except Exception as error: except Exception as error: