mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Tweak for parental control - Attempt #2
This commit is contained in:
parent
4f46debd31
commit
af0d9491ea
1 changed files with 4 additions and 0 deletions
|
@ -155,6 +155,10 @@ class Service():
|
|||
WINDOW.setProperty("Emby_Service_Timestamp", str(int(time.time())))
|
||||
user.hasAccess()
|
||||
|
||||
# Server went offline
|
||||
xbmcgui.Dialog().notification("Error connecting", "%s Server is unreachable." % self.addonName)
|
||||
break
|
||||
|
||||
if self.KodiMonitor.waitForAbort(5):
|
||||
# Abort was requested while waiting. We should exit
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue