mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-18 14:16:13 +00:00
Plug in dynamic packages
For now, Kodi will need to be restarted to load from the dynamic package every time there is an update to the package.
This commit is contained in:
parent
a18fa90f13
commit
aac8229f9b
6 changed files with 17 additions and 16 deletions
|
@ -131,7 +131,7 @@ class Service(xbmc.Monitor):
|
|||
''' Check for objects build version and compare.
|
||||
This pulls a dict that contains all the information for the build needed.
|
||||
'''
|
||||
LOG.info("--[ check updates ]")
|
||||
LOG.info("--[ check updates/%s ]", objects.version)
|
||||
kodi = xbmc.getInfoLabel('System.BuildVersion')
|
||||
url = "https://sheets.googleapis.com/v4/spreadsheets/1cKWQCVL0lVONulO2KyGzBilzhGvsyuSjFvrqe8g6nJw/values/A2:B?key=AIzaSyAP-1mcBglk9zIofJlqGpvKXkff3GRMhdI"
|
||||
|
||||
|
@ -152,6 +152,9 @@ class Service(xbmc.Monitor):
|
|||
get_objects(zipfile, label + '.zip')
|
||||
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