Fix Live La 7

This commit is contained in:
Alhaziel01
2020-08-12 19:41:16 +02:00
parent 257b523ac6
commit 58397ac1fb
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ def play(item):
item = item.clone(title='Direct', url=url, server='directo', action='play')
else:
preurl = support.match(data, patron=r'preTokenUrl = "(.+?)"').match
url = support.match(data, patron=r'["]?dash["]?\s*:\s*"([^"]+)"').match
url = support.match(data, patron=r'''["]?dash["]?\s*:\s*["']([^"']+)["']''').match
tokenHeader = {
'host': headers['host_token'],
'user-agent': headers['user-agent'],

View File

@@ -1113,7 +1113,7 @@ def install_widevine():
path = xbmc.translatePath(Addon('inputstream.adaptive').getSetting('DECRYPTERPATH'))
# if Widevine CDM is not installed
if not os.path.exists(path) or not os.path.listdir(path):
if not os.path.exists(path) or not os.listdir(path):
select = dialog_yesno('Widevine CDM', config.get_localized_string(70808))
if select > 0:
if not 'arm' in platform['arch']: