The branch, gotham has been updated
       via  216d7b570797c51398047aa0bcac448416417159 (commit)
      from  0776536e129bbbd9b911d83aa37e53eb00d2f5a8 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=216d7b570797c51398047aa0bcac448416417159

commit 216d7b570797c51398047aa0bcac448416417159
Author: Martijn Kaijser <[email protected]>
Date:   Sat Jun 14 12:41:25 2014 +0200

    [plugin.video.nederland24] 4.2.1

diff --git a/plugin.video.nederland24/addon.xml 
b/plugin.video.nederland24/addon.xml
index 4222ba9..e5824dc 100644
--- a/plugin.video.nederland24/addon.xml
+++ b/plugin.video.nederland24/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.nederland24" name="Nederland 24" version="4.1.1" 
provider-name="bosel">
+<addon id="plugin.video.nederland24" name="Nederland 24" version="4.2.1" 
provider-name="bosel">
   <requires>
       <import addon="xbmc.python" version="2.14.0"/>
   </requires>
diff --git a/plugin.video.nederland24/changelog.txt 
b/plugin.video.nederland24/changelog.txt
index c46b619..a43306e 100644
--- a/plugin.video.nederland24/changelog.txt
+++ b/plugin.video.nederland24/changelog.txt
@@ -1,7 +1,9 @@
+[B]4.2.1 - Gotham[/B]
+-fix livestream referrer
+
 [B]4.1.0 - Gotham[/B]
 -Reworked additional channels
 
-
 [B]4.0.0 - Frodo[/B]
 -substantial changes due to website alterations
 -additional channels
diff --git a/plugin.video.nederland24/nederland24.py 
b/plugin.video.nederland24/nederland24.py
index 5fdca7f..f3011e8 100644
--- a/plugin.video.nederland24/nederland24.py
+++ b/plugin.video.nederland24/nederland24.py
@@ -39,6 +39,7 @@ IMG_DIR = 
os.path.join(settings.getAddonInfo("path"),"resources", "media")
 API_URL = 'http://ida.omroep.nl/aapi/?stream='
 BASE_URL = 'http://livestreams.omroep.nl/live/npo/'
 USER_AGENT = 'Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) 
AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 
Safari/9537.53'
+REF_URL = 'http://www.npo.nl'
 
 CHANNELS = [
   
@@ -144,6 +145,7 @@ def playVideo(url):
         URL=API_URL+BASE_URL+media
         req = urllib2.Request(URL)
         req.add_header('User-Agent', USER_AGENT)
+        req.add_header('Referer', REF_URL)
         response = urllib2.urlopen(req)
         page = response.read()
         response.close()

-----------------------------------------------------------------------

Summary of changes:
 plugin.video.nederland24/addon.xml      |    2 +-
 plugin.video.nederland24/changelog.txt  |    4 +++-
 plugin.video.nederland24/nederland24.py |    2 ++
 3 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to