mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-10 19:35:07 +00:00
Add notification for silent patch
This commit is contained in:
parent
5a63bd43a3
commit
c9d5f13332
2 changed files with 8 additions and 1 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue