summaryrefslogtreecommitdiff
path: root/plugin.video.iplayerwww
diff options
context:
space:
mode:
authorCaptainT <CaptainTK@users.noreply.github.com>2017-07-05 20:03:43 +0200
committerCaptainT <CaptainTK@users.noreply.github.com>2017-07-05 20:03:43 +0200
commit85a55b829759c6cad90d093b663caec79f026212 (patch)
tree28faa68f6cfa77d838100d33c73f1421a7731932 /plugin.video.iplayerwww
parentc5adb9a98ab79eb73fd6d56ff7c317e478ff86eb (diff)
[plugin.video.iplayerwww] 3.0.11
Diffstat (limited to 'plugin.video.iplayerwww')
-rw-r--r--plugin.video.iplayerwww/addon.xml5
-rw-r--r--plugin.video.iplayerwww/resources/lib/ipwww_video.py4
2 files changed, 8 insertions, 1 deletions
diff --git a/plugin.video.iplayerwww/addon.xml b/plugin.video.iplayerwww/addon.xml
index 4645faa..60dee78 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.10" provider-name="CaptainT, Cas, ihurst, primaeval">
+<addon id="plugin.video.iplayerwww" name="iPlayer WWW" version="3.0.11" 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.11
+Added new stream kind and option for future stream kinds.
+
v3.0.10
Add support for live events (webcast).
diff --git a/plugin.video.iplayerwww/resources/lib/ipwww_video.py b/plugin.video.iplayerwww/resources/lib/ipwww_video.py
index a207e37..01dac55 100644
--- a/plugin.video.iplayerwww/resources/lib/ipwww_video.py
+++ b/plugin.video.iplayerwww/resources/lib/ipwww_video.py
@@ -1729,6 +1729,7 @@ def ScrapeAvailableStreams(url):
(stream['kind'] == 'iplayer-version') or
(stream['kind'] == 'technical-replacement') or
(stream['kind'] == 'editorial') or
+ (stream['kind'] == 'shortened') or
(stream['kind'] == 'webcast')):
stream_id_st = stream['id']
elif ((stream['kind'] == 'signed') and
@@ -1737,6 +1738,9 @@ def ScrapeAvailableStreams(url):
elif ((stream['kind'] == 'audio-described') and
(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']
return {'stream_id_st': stream_id_st, 'stream_id_sl': stream_id_sl, 'stream_id_ad': stream_id_ad, 'name': name, 'image':image, 'description': description}