mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-09 10:55:09 +00:00
Modify applying patch
First time still requires a restart. Subsequent patches do not.
This commit is contained in:
parent
17fdf0e923
commit
5a63bd43a3
2 changed files with 7 additions and 4 deletions
|
@ -149,12 +149,11 @@ class Service(xbmc.Monitor):
|
|||
|
||||
return
|
||||
|
||||
get_objects(zipfile, label + '.zip')
|
||||
if get_objects(zipfile, label + '.zip'): # no patch applied previously
|
||||
dialog("ok", heading="{emby}", line1=_(33135))
|
||||
xbmc.executebuiltin('RestartApp')
|
||||
except Exception as error:
|
||||
LOG.info(error)
|
||||
|
||||
dialog("ok", heading="{emby}", line1=_(33135))
|
||||
xbmc.executebuiltin('RestartApp')
|
||||
|
||||
def onNotification(self, sender, method, data):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue