mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-18 06:06:14 +00:00
Handle revoked token
This commit is contained in:
parent
6cb5fd12a1
commit
4b9cae3f2f
2 changed files with 5 additions and 1 deletions
|
@ -268,6 +268,7 @@ class DownloadUtils():
|
|||
# Tell UserClient token has been revoked.
|
||||
WINDOW.setProperty("Server_status", "401")
|
||||
self.logMsg("HTTP Error: %s" % e, 0)
|
||||
xbmcgui.Dialog().notification("Error connecting", "Unauthorized.", xbmcgui.NOTIFICATION_ERROR)
|
||||
|
||||
elif (r.status_code == 301) or (r.status_code == 302):
|
||||
# Redirects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue