Tweak for parental control - Attempt #2

This commit is contained in:
angelblue05 2015-05-12 22:58:31 -05:00
parent 4f46debd31
commit af0d9491ea

View file

@ -155,6 +155,10 @@ class Service():
WINDOW.setProperty("Emby_Service_Timestamp", str(int(time.time()))) WINDOW.setProperty("Emby_Service_Timestamp", str(int(time.time())))
user.hasAccess() user.hasAccess()
# Server went offline
xbmcgui.Dialog().notification("Error connecting", "%s Server is unreachable." % self.addonName)
break
if self.KodiMonitor.waitForAbort(5): if self.KodiMonitor.waitForAbort(5):
# Abort was requested while waiting. We should exit # Abort was requested while waiting. We should exit
break break