mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
use diff endpoint to validate server online
This commit is contained in:
parent
d1054896bc
commit
37cb909f46
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue