The branch, frodo has been updated
       via  4bf8432563c002a700c5791c3f2f3d1a808e83da (commit)
      from  b720dd32fec9d7df0df718ac5b5e3591e853407f (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=4bf8432563c002a700c5791c3f2f3d1a808e83da

commit 4bf8432563c002a700c5791c3f2f3d1a808e83da
Author: Martijn Kaijser <[email protected]>
Date:   Fri Oct 3 21:23:44 2014 +0200

    [script.module.simple.downloader] 1.9.5

diff --git a/script.module.simple.downloader/addon.xml 
b/script.module.simple.downloader/addon.xml
index b51b30f..507c032 100644
--- a/script.module.simple.downloader/addon.xml
+++ b/script.module.simple.downloader/addon.xml
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
-<addon id="script.module.simple.downloader" name="Simple Downloader for xbmc 
plugins" provider-name="TheCollective" version="1.9.4">
+<addon id="script.module.simple.downloader" name="Simple Downloader for xbmc 
plugins" provider-name="TheCollective" version="1.9.5">
   <requires>
     <import addon="xbmc.python" version="2.1.0" />
     <import addon="script.common.plugin.cache" version="2.5.0" />
diff --git a/script.module.simple.downloader/changelog.txt 
b/script.module.simple.downloader/changelog.txt
index d873d91..8935c28 100644
--- a/script.module.simple.downloader/changelog.txt
+++ b/script.module.simple.downloader/changelog.txt
@@ -4,6 +4,9 @@
 - Add "Trying rtmpdump", "Trying vlc", "Trying mplayer" messages to OSD
 - Fix skin xml issue. 
 
+[B]Version 1.9.5[/B]
+- Added possibility to send cookie in downloader params 
+
 [B]Version 1.0.0[/B]
 - Fixed: made plugin work on Frodo
 
diff --git a/script.module.simple.downloader/default.py 
b/script.module.simple.downloader/default.py
index 13e9146..ebe028f 100644
--- a/script.module.simple.downloader/default.py
+++ b/script.module.simple.downloader/default.py
@@ -10,7 +10,7 @@ import urllib2
 
 settings = xbmcaddon.Addon(id='script.module.simple.downloader')
 language = settings.getLocalizedString
-version = "1.9.4"
+version = "1.9.5"
 plugin = "SimpleDownloader-" + version
 core = ""
 common = ""
diff --git a/script.module.simple.downloader/lib/SimpleDownloader.py 
b/script.module.simple.downloader/lib/SimpleDownloader.py
index 5e2a740..76409ee 100644
--- a/script.module.simple.downloader/lib/SimpleDownloader.py
+++ b/script.module.simple.downloader/lib/SimpleDownloader.py
@@ -543,7 +543,10 @@ class SimpleDownloader():
             url.add_header("User-Agent", item["useragent"])
         else:
             url.add_header("User-Agent", self.common.USERAGENT)
-
+        if "cookie" in item:
+            if item["cookie"]!=False  :
+                url.add_header("Cookie", item["cookie"])
+        
         file = self.common.openFile(item["path_incomplete"], "wb")
         con = urllib2.urlopen(url)
 

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

Summary of changes:
 script.module.simple.downloader/addon.xml          |    2 +-
 script.module.simple.downloader/changelog.txt      |    3 +++
 script.module.simple.downloader/default.py         |    2 +-
 .../lib/SimpleDownloader.py                        |    5 ++++-
 4 files changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to