Tweak for parental control - Attempt #2

This commit is contained in:
angelblue05 2015-05-12 22:58:31 -05:00
parent 4f46debd31
commit af0d9491ea
1 changed files with 4 additions and 0 deletions

View File

@ -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