From 930b2382047285a3859fdc735c1dac012402bb6f Mon Sep 17 00:00:00 2001 From: Paco8 <5084042+Paco8@users.noreply.github.com> Date: Wed, 15 Apr 2026 12:25:33 +0200 Subject: [PATCH] Version 0.11.6 --- addon.xml | 2 +- resources/lib/movistar.py | 2 +- resources/lib/mysession.py | 1 + resources/lib/plugin.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/addon.xml b/addon.xml index baa15b1..dc1b0f5 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/movistar.py b/resources/lib/movistar.py index 8c1ed77..dbb281f 100644 --- a/resources/lib/movistar.py +++ b/resources/lib/movistar.py @@ -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): diff --git a/resources/lib/mysession.py b/resources/lib/mysession.py index b4beecd..ac14211 100644 --- a/resources/lib/mysession.py +++ b/resources/lib/mysession.py @@ -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, diff --git a/resources/lib/plugin.py b/resources/lib/plugin.py index 99fd21a..b45c848 100644 --- a/resources/lib/plugin.py +++ b/resources/lib/plugin.py @@ -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)