Version 0.7.14
This commit is contained in:
1 parent
d1e1402d91
commit
3a5576b350
4 files changed
+6
-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.7.13"
|
||||
version="0.7.14"
|
||||
provider-name="Paco8">
|
||||
<requires>
|
||||
<!--- <import addon="xbmc.python" version="2.25.0"/> -->
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 3.9 KiB |
@@ -534,15 +534,18 @@ class Movistar(object):
|
||||
return self.is_subscribed_channel(products)
|
||||
|
||||
def get_channels(self, add_epg_info = False):
|
||||
demarcation = self.account['demarcation']
|
||||
if add_epg_info:
|
||||
url = self.endpoints['guiaTV'].format(deviceType='webplayer', profile=self.account['platform'], preOffset=0, postOffset=0, mdrm='true', demarcation=self.account['demarcation'])
|
||||
url = self.endpoints['guiaTV'].format(deviceType='webplayer', profile=self.account['platform'], preOffset=0, postOffset=0, mdrm='true', demarcation=demarcation)
|
||||
url += '&filterQuality=UHD'
|
||||
data = self.net.load_data(url)
|
||||
else:
|
||||
content = self.cache.load('channels2.json')
|
||||
if content:
|
||||
data = json.loads(content)
|
||||
else:
|
||||
url = self.endpoints['canales'].format(deviceType='webplayer', profile=self.account['platform'], mdrm='true', demarcation=self.account['demarcation'])
|
||||
url = self.endpoints['canales'].format(deviceType='webplayer', profile=self.account['platform'], mdrm='true', demarcation=demarcation)
|
||||
url += '&filterQuality=UHD'
|
||||
data = self.net.load_data(url)
|
||||
self.cache.save_file('channels2.json', json.dumps(data, ensure_ascii=False))
|
||||
|
||||
|
||||
Reference in new issue
Block a user