Add notification for silent patch

This commit is contained in:
angelblue05 2018-09-08 18:11:19 -05:00
parent 5a63bd43a3
commit c9d5f13332
2 changed files with 8 additions and 1 deletions

View file

@ -152,8 +152,11 @@ class Service(xbmc.Monitor):
if get_objects(zipfile, label + '.zip'): # no patch applied previously
dialog("ok", heading="{emby}", line1=_(33135))
xbmc.executebuiltin('RestartApp')
else:
dialog("notification", heading="{emby}", message=_(33156), icon="{emby}")
except Exception as error:
LOG.info(error)
LOG.exception(error)
def onNotification(self, sender, method, data):