mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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())))
|
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
|
||||||
|
|
Loading…
Reference in a new issue