Option to suppress server connection notification

It make an error noise that I have grown to despise.
This commit is contained in:
xnappo 2015-05-16 15:12:50 -05:00
parent 26befdb859
commit 84c7130cc9
3 changed files with 7 additions and 1 deletions

View file

@ -195,7 +195,9 @@ class Service():
break
self.server_online = True
self.logMsg("Server is online and ready.", 1)
xbmcgui.Dialog().notification("Connection successful", "%s Server is online." % self.addonName, time=2000)
addonSettings = xbmcaddon.Addon(id='plugin.video.emby')
if addonSettings.getSetting("supressConnectMsg")=="false":
xbmcgui.Dialog().notification("Connection successful", "%s Server is online." % self.addonName, time=2000)
WINDOW.setProperty("Server_online", "true")
# Server is online, proceed.