mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-11 03:45:07 +00:00
Fix patching on android
This commit is contained in:
parent
c9d5f13332
commit
39c223a1f0
3 changed files with 6 additions and 4 deletions
|
@ -99,7 +99,7 @@ class Service(xbmc.Monitor):
|
|||
|
||||
if difference.seconds > 10:
|
||||
|
||||
event('ReportProgressRequested', {'Report': difference.seconds > 270})
|
||||
event('ReportProgressRequested', {'Report': difference.seconds > 200})
|
||||
self.settings['last_progress'] = datetime.today()
|
||||
|
||||
if self.waitForAbort(1):
|
||||
|
@ -136,7 +136,7 @@ class Service(xbmc.Monitor):
|
|||
url = "https://sheets.googleapis.com/v4/spreadsheets/1cKWQCVL0lVONulO2KyGzBilzhGvsyuSjFvrqe8g6nJw/values/A2:B?key=AIzaSyAP-1mcBglk9zIofJlqGpvKXkff3GRMhdI"
|
||||
|
||||
try:
|
||||
versions = {k.lower(): v for k, v in dict(requests.get(url).json()['values']).items()}
|
||||
versions = {k.lower(): v for k, v in dict(requests.get(url, verify=False).json()['values']).items()}
|
||||
build = find(versions, kodi.lower())
|
||||
|
||||
if not build:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue