Version 0.11.6
This commit is contained in:
1 parent
6aab76c47d
commit
930b238204
4 files changed
+4
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.movistarplus"
|
||||
name="Movistar+"
|
||||
version="0.11.5"
|
||||
version="0.11.6"
|
||||
provider-name="Paco8">
|
||||
<requires>
|
||||
<!--- <import addon="xbmc.python" version="2.25.0"/> -->
|
||||
|
||||
@@ -1332,7 +1332,7 @@ class Movistar(object):
|
||||
shutil.copyfile(self.cache.config_directory + 'credentials.json', filename)
|
||||
|
||||
def delete_session_files(self):
|
||||
for f in ['access_token.conf', 'account.json', 'device_id.conf', 'devices.json', 'profile_id.conf', 'tokens.json', 'channels2.json', 'channels_UHD.json', 'channels_HD.json', 'epg2.json', 'epg_UHD.json', 'epg_HD.json']:
|
||||
for f in ['access_token.conf', 'account.json', 'device_id.conf', 'devices.json', 'profile_id.conf', 'tokens.json', 'channels2.json', 'channels_UHD.json', 'channels_HD.json', 'epg2.json', 'epg_UHD.json', 'epg_HD.json', 'cdn.conf']:
|
||||
self.cache.remove_file(f)
|
||||
|
||||
def get_profile_image_url(self, img_id):
|
||||
|
||||
@@ -14,6 +14,7 @@ class CustomAdapter(HTTPAdapter, object):
|
||||
def init_poolmanager(self, connections, maxsize, block=False):
|
||||
ctx = ssl.create_default_context()
|
||||
ctx.options |= 0x4 # OP_LEGACY_SERVER_CONNECT
|
||||
ctx.set_ciphers('DEFAULT:!BRAINPOOL')
|
||||
self.poolmanager = PoolManager(
|
||||
num_pools=connections,
|
||||
maxsize=maxsize,
|
||||
|
||||
@@ -123,7 +123,7 @@ def play(params):
|
||||
manifest_headers = 'User-Agent=' + useragent
|
||||
|
||||
if True: #stype in ['tv', 'u7d', 'rec']:
|
||||
cdn_token = m.cache.load('cdn.conf')
|
||||
cdn_token = m.cache.load('cdn.conf', 60)
|
||||
if not cdn_token:
|
||||
cdn_token = m.get_cdntoken()
|
||||
m.cache.save_file('cdn.conf', cdn_token)
|
||||
|
||||
Reference in new issue
Block a user