The branch, eden has been updated
       via  2890d75d40cd31fbe3e155e4f1d27681f4a6d0c7 (commit)
      from  040f19befde97f7a624292049867784637b41c5a (commit)

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

commit 2890d75d40cd31fbe3e155e4f1d27681f4a6d0c7
Author: MartijnKaijser <machine.sanc...@gmail.com>
Date:   Tue Apr 24 23:28:10 2012 +0200

    [script.artwork.downloader] -v1.0.11

diff --git a/script.artwork.downloader/addon.xml 
b/script.artwork.downloader/addon.xml
index 315fb2a..be62fcd 100644
--- a/script.artwork.downloader/addon.xml
+++ b/script.artwork.downloader/addon.xml
@@ -2,7 +2,7 @@
 <addon
        id="script.artwork.downloader"
        name="Artwork Downloader"
-       version="1.0.10"
+       version="1.0.11"
        provider-name="paddycarey, putneyj, Martijn"
     >
   <requires>
diff --git a/script.artwork.downloader/changelog.txt 
b/script.artwork.downloader/changelog.txt
index 2cc71e1..1f2aeb1 100644
--- a/script.artwork.downloader/changelog.txt
+++ b/script.artwork.downloader/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.0.11[/B]
+- Fixed: Image selection wasn't working when there was a username/password in 
source
+
 [B]1.0.10[/B]
 - Added: Korean translation (thx piodio)
 - Added: Debug option
diff --git a/script.artwork.downloader/default.py 
b/script.artwork.downloader/default.py
index b977f94..7c619ab 100644
--- a/script.artwork.downloader/default.py
+++ b/script.artwork.downloader/default.py
@@ -21,6 +21,7 @@ __icon__        = __addon__.getAddonInfo('icon')
 __localize__    = __addon__.getLocalizedString
 
 ### import libraries
+from urlparse import urlsplit, urlparse
 from traceback import print_exc
 from resources.lib import language
 from resources.lib import media_setup
@@ -292,7 +293,7 @@ class Main:
             # Check on exact match
             if normalize_string(itemname) == 
normalize_string(currentitem["name"]):
                 # Check on exact path match when provided and normalize the 
path because of unicode issues
-                if normalize_string(itempath) == 
normalize_string(currentitem['path']) or itempath == '':
+                if normalize_string(urlsplit(currentitem["path"]).path) == 
normalize_string(urlsplit(itempath).path) or itempath == '':
                     self.Medialist = []
                     self.Medialist.append(currentitem)
                     mediafound = True

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

Summary of changes:
 script.artwork.downloader/addon.xml     |    2 +-
 script.artwork.downloader/changelog.txt |    3 +++
 script.artwork.downloader/default.py    |    3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to