summaryrefslogtreecommitdiff
path: root/plugin.video.iplayerwww
diff options
context:
space:
mode:
authorCaptainTK <CaptainTK@users.noreply.github.com>2017-07-07 17:12:10 +0200
committerlearningit <scottyroscoe13@gmail.com>2017-07-07 11:12:10 -0400
commit2bb5c5b92dc0fe02b807acfcd107e76b48b4cfbf (patch)
treedfd68b5c19ab5e39bcb5255c3a8a861025e96f42 /plugin.video.iplayerwww
parent8991dd624f6f3836b5f852e974b21c5104ce68ea (diff)
[plugin.video.iplayerwww] 3.0.12 (#1307)
Diffstat (limited to 'plugin.video.iplayerwww')
-rw-r--r--plugin.video.iplayerwww/addon.xml5
-rw-r--r--plugin.video.iplayerwww/resources/lib/ipwww_video.py12
2 files changed, 10 insertions, 7 deletions
diff --git a/plugin.video.iplayerwww/addon.xml b/plugin.video.iplayerwww/addon.xml
index 60dee78..b770444 100644
--- a/plugin.video.iplayerwww/addon.xml
+++ b/plugin.video.iplayerwww/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.iplayerwww" name="iPlayer WWW" version="3.0.11" provider-name="CaptainT, Cas, ihurst, primaeval">
+<addon id="plugin.video.iplayerwww" name="iPlayer WWW" version="3.0.12" provider-name="CaptainT, Cas, ihurst, primaeval">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.requests" version="2.7.0"/>
@@ -22,6 +22,9 @@
<fanart>resources/fanart.jpg</fanart>
</assets>
<news>
+v3.0.12
+Signed and AD streams must be treated separately.
+
v3.0.11
Added new stream kind and option for future stream kinds.
diff --git a/plugin.video.iplayerwww/resources/lib/ipwww_video.py b/plugin.video.iplayerwww/resources/lib/ipwww_video.py
index 01dac55..b419d70 100644
--- a/plugin.video.iplayerwww/resources/lib/ipwww_video.py
+++ b/plugin.video.iplayerwww/resources/lib/ipwww_video.py
@@ -1732,12 +1732,12 @@ def ScrapeAvailableStreams(url):
(stream['kind'] == 'shortened') or
(stream['kind'] == 'webcast')):
stream_id_st = stream['id']
- elif ((stream['kind'] == 'signed') and
- (ADDON.getSetting('search_signed') == 'true')):
- stream_id_sl = stream['id']
- elif ((stream['kind'] == 'audio-described') and
- (ADDON.getSetting('search_ad') == 'true')):
- stream_id_ad = stream['id']
+ elif (stream['kind'] == 'signed'):
+ if (ADDON.getSetting('search_signed') == 'true'):
+ stream_id_sl = stream['id']
+ elif (stream['kind'] == 'audio-described'):
+ if (ADDON.getSetting('search_ad') == 'true'):
+ stream_id_ad = stream['id']
else:
print "iPlayer WWW warning: New stream kind: %s" % stream['kind']
stream_id_st = stream['id']