mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Update patch
This commit is contained in:
parent
77ec993f95
commit
8b9673b148
1 changed files with 1 additions and 2 deletions
|
@ -136,10 +136,9 @@ class Service(xbmc.Monitor):
|
||||||
'''
|
'''
|
||||||
LOG.info("--[ check updates/%s ]", objects.version)
|
LOG.info("--[ check updates/%s ]", objects.version)
|
||||||
kodi = xbmc.getInfoLabel('System.BuildVersion')
|
kodi = xbmc.getInfoLabel('System.BuildVersion')
|
||||||
url = "https://sheets.googleapis.com/v4/spreadsheets/1cKWQCVL0lVONulO2KyGzBilzhGvsyuSjFvrqe8g6nJw/values/A2:B?key=AIzaSyAP-1mcBglk9zIofJlqGpvKXkff3GRMhdI"
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
versions = {k.lower(): v for k, v in dict(requests.get(url).json()['values']).items()}
|
versions = requests.get('http://kodi.emby.media/Public%20testing/Dependencies/databases.json').json()
|
||||||
build = find(versions, kodi.lower())
|
build = find(versions, kodi.lower())
|
||||||
|
|
||||||
if not build:
|
if not build:
|
||||||
|
|
Loading…
Reference in a new issue