mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-18 22:26:14 +00:00
Another follow up
Use a while loop instead.
This commit is contained in:
parent
8944012821
commit
de527327a5
2 changed files with 9 additions and 2 deletions
|
@ -269,7 +269,7 @@ class DownloadUtils():
|
|||
if r.headers['X-Application-Error-Code'] == "ParentalControl":
|
||||
# Parental control - access restricted
|
||||
WINDOW.setProperty("Server_status", "restricted")
|
||||
xbmcgui.Dialog().notification("Emby server", "Access restricted.", xbmcgui.NOTIFICATION_ERROR)
|
||||
xbmcgui.Dialog().notification("Emby server", "Access restricted.", xbmcgui.NOTIFICATION_ERROR, time=5000)
|
||||
return False
|
||||
|
||||
elif (status == "401") or (status == "Auth"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue