Version 0.10.0
This commit is contained in:
1 parent
fe2f12b714
commit
2febdf7566
3 files changed
+6
-4
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.movistarplus"
|
<addon id="plugin.video.movistarplus"
|
||||||
name="Movistar+"
|
name="Movistar+"
|
||||||
version="0.9.15"
|
version="0.10.0"
|
||||||
provider-name="Paco8">
|
provider-name="Paco8">
|
||||||
<requires>
|
<requires>
|
||||||
<!--- <import addon="xbmc.python" version="2.25.0"/> -->
|
<!--- <import addon="xbmc.python" version="2.25.0"/> -->
|
||||||
|
|||||||
@@ -721,7 +721,7 @@ class Movistar(object):
|
|||||||
def get_wishlist_url(self):
|
def get_wishlist_url(self):
|
||||||
url = self.endpoints['favoritos'].format(
|
url = self.endpoints['favoritos'].format(
|
||||||
deviceType=self.dplayer, DIGITALPLUSUSERIDC=self.account['encoded_user'], PROFILE=self.account['platform'],
|
deviceType=self.dplayer, DIGITALPLUSUSERIDC=self.account['encoded_user'], PROFILE=self.account['platform'],
|
||||||
ACCOUNTNUMBER=self.account['id'], idsOnly='false', start=1, end=30, mdrm='true', demarcation=self.account['demarcation'])
|
ACCOUNTNUMBER=self.account['id'], idsOnly='false', start=1, end=50, mdrm='true', demarcation=self.account['demarcation'])
|
||||||
#url += '&filter=AD-SINX&topic=CN'
|
#url += '&filter=AD-SINX&topic=CN'
|
||||||
if self.quality == 'UHD': url += '&filterQuality=UHD'
|
if self.quality == 'UHD': url += '&filterQuality=UHD'
|
||||||
url += '&_='+ str(int(time.time()*1000))
|
url += '&_='+ str(int(time.time()*1000))
|
||||||
@@ -730,7 +730,7 @@ class Movistar(object):
|
|||||||
def get_recordings_url(self):
|
def get_recordings_url(self):
|
||||||
url = self.endpoints['grabaciones'].format(
|
url = self.endpoints['grabaciones'].format(
|
||||||
deviceType=self.dplayer, DIGITALPLUSUSERIDC=self.account['encoded_user'], PROFILE=self.account['platform'],
|
deviceType=self.dplayer, DIGITALPLUSUSERIDC=self.account['encoded_user'], PROFILE=self.account['platform'],
|
||||||
idsOnly='false', start=1, end=30, mdrm='true', demarcation=self.account['demarcation'])
|
idsOnly='false', start=1, end=50, mdrm='true', demarcation=self.account['demarcation'])
|
||||||
#url += '&state=Completed&_='+ str(int(time.time()*1000))
|
#url += '&state=Completed&_='+ str(int(time.time()*1000))
|
||||||
url += '&_='+ str(int(time.time()*1000))
|
url += '&_='+ str(int(time.time()*1000))
|
||||||
return url
|
return url
|
||||||
@@ -738,7 +738,7 @@ class Movistar(object):
|
|||||||
def get_viewings_url(self):
|
def get_viewings_url(self):
|
||||||
url = self.endpoints['ultimasreproducciones'].format(
|
url = self.endpoints['ultimasreproducciones'].format(
|
||||||
deviceType=self.dplayer, DIGITALPLUSUSERIDC=self.account['encoded_user'], PROFILE=self.account['platform'],
|
deviceType=self.dplayer, DIGITALPLUSUSERIDC=self.account['encoded_user'], PROFILE=self.account['platform'],
|
||||||
ACCOUNTNUMBER=self.account['id'], idsOnly='false', start=1, end=30, mdrm='true', demarcation=self.account['demarcation'])
|
ACCOUNTNUMBER=self.account['id'], idsOnly='false', start=1, end=50, mdrm='true', demarcation=self.account['demarcation'])
|
||||||
url += '&filter=AD-SINX'
|
url += '&filter=AD-SINX'
|
||||||
url += '&_='+ str(int(time.time()*1000))
|
url += '&_='+ str(int(time.time()*1000))
|
||||||
return url
|
return url
|
||||||
|
|||||||
@@ -92,6 +92,8 @@ def play(params):
|
|||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
url = d['url']
|
url = d['url']
|
||||||
|
if True:
|
||||||
|
url = url.replace('DASH_WPC_WIDEVINE', 'DASH_TV_WIDEVINE')
|
||||||
|
|
||||||
# U7D from start and end times
|
# U7D from start and end times
|
||||||
if stype == 'tv' and all(param in params for param in ['cas_id', 'start_time', 'end_time']):
|
if stype == 'tv' and all(param in params for param in ['cas_id', 'start_time', 'end_time']):
|
||||||
|
|||||||
Reference in new issue
Block a user