The branch, dharma has been updated
       via  407f4042c32e184bbd0ee988a320944ad490ad22 (commit)
      from  2f8ee3e824fd778444aea912da46af75d9c65289 (commit)

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

commit 407f4042c32e184bbd0ee988a320944ad490ad22
Author: spiff <[email protected]>
Date:   Tue Mar 29 11:45:54 2011 +0200

    [plugin.program.jdownloader] updated to version 1.0.3

diff --git a/plugin.program.jdownloader/addon.xml 
b/plugin.program.jdownloader/addon.xml
index fc4f5cc..02509a4 100644
--- a/plugin.program.jdownloader/addon.xml
+++ b/plugin.program.jdownloader/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.program.jdownloader"
        name="JDownloader"
-       version="1.0.2"
+       version="1.0.3"
        provider-name="pgoeri">
   <requires>
     <import addon="xbmc.python" version="1.0"/>
@@ -17,7 +17,7 @@
 It is also possible to update, restart and shutdown the JDownloader 
application.</description>
     <description lang="de">Dieses Plugin zeigt den aktuellen 
JDownloader-Status an. Die folgenden Aktionen werden unterstützt: Start, Stop, 
Pause, Speedlimit festlegen, max. gleichzeitige Downloads festlegen.
 Es ist weiters möglich die JDownloader Anwendung zu aktualisieren, neu zu 
starten oder zu schließen.</description>
-    <disclaimer lang="en">Make sure to enable the 'Remote Control' 
extentension (default port 10025) in JDownloader!</disclaimer>
+    <disclaimer lang="en">Make sure to enable the 'Remote Control' extension 
(default port 10025) in JDownloader!</disclaimer>
     <disclaimer lang="de">Die 'Remote Control'-Erweiterung (Defaultport 10025) 
muss im JDownloader aktiviert sein!</disclaimer>
     <platform>all</platform>
   </extension>
diff --git a/plugin.program.jdownloader/changelog.txt 
b/plugin.program.jdownloader/changelog.txt
index ee2f4d5..6c570da 100644
--- a/plugin.program.jdownloader/changelog.txt
+++ b/plugin.program.jdownloader/changelog.txt
@@ -1,3 +1,6 @@
+[B]Version 1.0.3[/B]
+    * Fixed problem with adding unquoted urls
+
 [B]Version 1.0.2[/B]
     * Added spanish translation (thanks to yowill)
     * Added new actions: 'Add links from textfile', 'Add link container', 
'Reconnect router'
diff --git a/plugin.program.jdownloader/default.py 
b/plugin.program.jdownloader/default.py
index c27b11a..e62b77b 100644
--- a/plugin.program.jdownloader/default.py
+++ b/plugin.program.jdownloader/default.py
@@ -1,13 +1,13 @@
 # script constants

-__plugin__             = "JDownloader"

-__addonID__            = "plugin.program.jdownloader"

-__author__             = "Ppic & pgoeri"

-__url__                        = "http://pgoeri-xbmc-plugins.googlecode.com";

-__svn_url__            = 
"http://pgoeri-xbmc-plugins.googlecode.com/svn/trunk/plugin.program.jdownloader/";

-__credits__            = "Team XBMC passion, http://passion-xbmc.org & pgoeri"

+__plugin__                     = "JDownloader"

+__addonID__                    = "plugin.program.jdownloader"

+__author__                     = "Ppic & pgoeri"

+__url__                                = 
"http://pgoeri-xbmc-plugins.googlecode.com";

+__svn_url__                    = 
"http://pgoeri-xbmc-plugins.googlecode.com/svn/trunk/plugin.program.jdownloader/";

+__credits__                    = "Team XBMC passion, http://passion-xbmc.org & 
pgoeri"

 __platform__           = "xbmc media center, [LINUX, OS X, WIN32]"

-__date__                       = "23-01-2011"

-__version__            = "1.0.2"

+__date__                       = "28-03-2011"

+__version__                    = "1.0.3"

 __svn_revision__       = "$Revision:  $".replace( "Revision", "" ).strip( "$: 
" )

 __XBMC_Revision__      = "ce6dff4f3480834cc1134072e45e5deb0c8557c4" # Trunk 
(15/01/11)

 __useragent__          = "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; 
rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1"

diff --git a/plugin.program.jdownloader/resources/lib/jdownloader.py 
b/plugin.program.jdownloader/resources/lib/jdownloader.py
index 3623621..5a9f0fe 100644
--- a/plugin.program.jdownloader/resources/lib/jdownloader.py
+++ b/plugin.program.jdownloader/resources/lib/jdownloader.py
@@ -1,7 +1,7 @@
 # script constants

 __addonID__                    = "plugin.program.jdownloader"

 

-import socket,urllib2,httplib,os

+import socket,urllib,urllib2,httplib,os

 from xml.dom import minidom

 from traceback import print_exc

 import xbmc,xbmcaddon

@@ -193,7 +193,7 @@ def action_addcontainer(link):
        # add link

        # Parameter 'start' is not supported with rc-version 9568!

        #_http_query('/action/add/container/grabber' + str(grabber) + '/start' 
+ str(start) + '/' + str(link))

-       result = _http_query('/action/add/container/grabber' + str(grabber) + 
'/' + str(link))

+       result = _http_query('/action/add/container/grabber' + str(grabber) + 
'/' + str(urllib.quote(link)))

        return result

 

 # Links seperated by spaces, won't work, call this functions for each link 
seperatly

@@ -202,7 +202,7 @@ def action_addlink(link):
        grabber = Addon.getSetting("add_use_grabber")

        start = Addon.getSetting("add_start")

        # add link

-       result = _http_query('/action/add/links/grabber' + str(grabber) + 
'/start' + str(start) + '/' + str(link))

+       result = _http_query('/action/add/links/grabber' + str(grabber) + 
'/start' + str(start) + '/' + str(urllib.quote(link)))

        return result

 

 def action_addlinks_from_file(filename):


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

Summary of changes:
 plugin.program.jdownloader/addon.xml               |    4 ++--
 plugin.program.jdownloader/changelog.txt           |    3 +++
 plugin.program.jdownloader/default.py              |   16 ++++++++--------
 .../resources/lib/jdownloader.py                   |    6 +++---
 4 files changed, 16 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to