Fix patch on android

Create own unzip method since zipfile is no longer reliable.
This commit is contained in:
angelblue05 2018-09-09 22:53:20 -05:00
parent 8dad5bdd74
commit 419afcce3c
4 changed files with 80 additions and 32 deletions

View file

@ -153,7 +153,8 @@ class Service(xbmc.Monitor):
return
if get_objects(zipfile, label + '.zip'): # no patch applied previously
dialog("ok", heading="{emby}", line1=_(33135))
LOG.info("No previous patch found.")
dialog("ok", heading="{emby}", line1=_(33135))
xbmc.executebuiltin('RestartApp')
else:
dialog("notification", heading="{emby}", message=_(33156), icon="{emby}")