Fix Live La 7
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ def play(item):
|
|||||||
item = item.clone(title='Direct', url=url, server='directo', action='play')
|
item = item.clone(title='Direct', url=url, server='directo', action='play')
|
||||||
else:
|
else:
|
||||||
preurl = support.match(data, patron=r'preTokenUrl = "(.+?)"').match
|
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 = {
|
tokenHeader = {
|
||||||
'host': headers['host_token'],
|
'host': headers['host_token'],
|
||||||
'user-agent': headers['user-agent'],
|
'user-agent': headers['user-agent'],
|
||||||
|
|||||||
@@ -1113,7 +1113,7 @@ def install_widevine():
|
|||||||
path = xbmc.translatePath(Addon('inputstream.adaptive').getSetting('DECRYPTERPATH'))
|
path = xbmc.translatePath(Addon('inputstream.adaptive').getSetting('DECRYPTERPATH'))
|
||||||
|
|
||||||
# if Widevine CDM is not installed
|
# 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))
|
select = dialog_yesno('Widevine CDM', config.get_localized_string(70808))
|
||||||
if select > 0:
|
if select > 0:
|
||||||
if not 'arm' in platform['arch']:
|
if not 'arm' in platform['arch']:
|
||||||
|
|||||||
Reference in New Issue
Block a user