Version 0.11.1

This commit is contained in:
Paco8 committed 2025-05-21 16:31:06 +02:00
1 parent 0a4044a676
commit 4f738f61c7
5 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -106,7 +106,7 @@ def play(params):
# Read the proxy address
proxy = Movistar.load_file_if_exists(os.path.join(profile_dir, 'proxy.txt'))
proxy = addon.getSetting('proxy_address')
LOG('proxy address: {}'.format(proxy))
if addon.getSettingBool('manifest_modification') and proxy:
@@ -122,7 +122,7 @@ def play(params):
#headers += '&Host=wv-ottlic-f3.imagenio.telefonica.net'
manifest_headers = 'User-Agent=' + useragent
if stype in ['tv', 'u7d', 'rec']:
if True: #stype in ['tv', 'u7d', 'rec']:
cdn_token = m.cache.load('cdn.conf')
if not cdn_token:
cdn_token = m.get_cdntoken()
+1
View File
@@ -276,6 +276,7 @@ class Proxy(object):
self._httpd_thread = threading.Thread(target=self._server.serve_forever)
self._httpd_thread.start()
self.proxy_address = 'http://{}:{}'.format(HOST, port)
addon.setSetting('proxy_address', self.proxy_address)
self.started = True
LOG("Proxy Started: {}:{}".format(HOST, port))
+1
View File
@@ -13,6 +13,7 @@
<setting type="sep"/>
<setting label="30450" type="action" id="donation" action="RunPlugin(plugin://plugin.video.movistarplus?action=show_donation_dialog)" option="close"/>
-->
<setting id="proxy_address" type="text" label="" value="" default="" visible="false"/>
</category>
<category label="30002">
<setting label="30011" type="bool" id="manifest_modification" default="true"/>