Version 0.10.3

This commit is contained in:
Paco8 committed 2024-12-18 14:58:38 +01:00
1 parent c01bdf30b6
commit 5ad288ddf6
4 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.movistarplus"
name="Movistar+"
version="0.10.2"
version="0.10.3"
provider-name="Paco8">
<requires>
<!--- <import addon="xbmc.python" version="2.25.0"/> -->
+2
View File
@@ -827,6 +827,8 @@ class Movistar(object):
video = data['Pases'][0]
t['subscribed'] = self.is_subscribed_vod(video.get('tvProducts', []))
if 'ShowId' in video: t['show_id'] = video['ShowId']
if 'Canal' in video and 'CasId' in video['Canal']:
t['cas_id'] = video['Canal']['CasId']
stype = None
if 'catalog=catchup' in ed['Ficha']:
stype = 'catch-up'
+7
View File
@@ -116,6 +116,13 @@ class RequestHandler(BaseHTTPRequestHandler):
content = content.replace('lang="{}"'.format(key), 'lang="{}"'.format(value))
content = re.sub(r'lang="q([^"]*)"', r'lang="es-[q\1]"', content)
if addon.getSettingBool('delete_ec3_audio'):
pattern = re.compile(r'<AdaptationSet[^>]*contentType="audio"[^>]*>.*?</AdaptationSet>', re.DOTALL)
matches = pattern.findall(content)
for match in matches:
if 'codecs="ec-3"' in match:
content = content.replace(match, "<!-- Deleted ec-3 audio track -->\n")
# For U7D
content = content.replace('timeShiftBufferDepth="PT3600S"', 'timeShiftBufferDepth="PT10800S"')
+1
View File
@@ -18,6 +18,7 @@
<setting label="30011" type="bool" id="manifest_modification" default="true"/>
<setting label="30034" type="bool" id="fix_languages" default="true" enable="eq(-1,true)" subsetting="true"/>
<setting label="30051" type="bool" id="proxy_process_subs" default="true" enable="eq(-2,true)" subsetting="true"/>
<setting label="30035" type="bool" id="delete_ec3_audio" default="false" enable="eq(-3,true)" subsetting="true"/>
<setting label="30012" type="bool" id="use_proxy_for_license" default="true"/>
<setting id="reregister" type="bool" label="30024" default="true" enable="eq(-1,true)" visible="false" subsetting="true"/>
</category>