mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix patching on android
This commit is contained in:
parent
c9d5f13332
commit
39c223a1f0
3 changed files with 6 additions and 4 deletions
|
@ -308,7 +308,7 @@ def get_objects(src, filename):
|
|||
LOG.info(src)
|
||||
path = os.path.join(temp, filename)
|
||||
try:
|
||||
response = requests.get(src, stream=True)
|
||||
response = requests.get(src, stream=True, verify=False)
|
||||
response.raise_for_status()
|
||||
except Exception as error:
|
||||
raise
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -303,7 +303,9 @@ class Monitor(xbmc.Monitor):
|
|||
LOG.info("[ command/%s ]", command)
|
||||
|
||||
def general_commands(self, data):
|
||||
LOG.info(data)
|
||||
|
||||
''' General commands from Emby to control the Kodi interface.
|
||||
'''
|
||||
command = data['Name']
|
||||
args = data['Arguments']
|
||||
|
||||
|
|
Loading…
Reference in a new issue