mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +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
|
@ -753,3 +753,7 @@ msgstr ""
|
|||
msgctxt "#33155"
|
||||
msgid "The currently applied patch for Emby for Kodi is corrupted! Please post to the Emby for Kodi forums if this issue persists. This will need to be fixed as soon as possible."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#33156"
|
||||
msgid "A patch has been applied!"
|
||||
msgstr ""
|
||||
|
|
|
@ -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…
Reference in a new issue