Improve song icon retrieval performance.
authorstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Wed, 22 Dec 2010 10:39:17 +0000 (10:39 +0000)
committerstephendenham <stephendenham@2dec19e3-eb1d-4749-8193-008c8bba0994>
Wed, 22 Dec 2010 10:39:17 +0000 (10:39 +0000)
git-svn-id: svn://svn.code.sf.net/p/xbmc-groove/code@22 2dec19e3-eb1d-4749-8193-008c8bba0994

addon.xml
changelog.txt
default.py
description.xml

index 9b9ba5d..537ce1a 100644 (file)
--- a/addon.xml
+++ b/addon.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.audio.groove" name="Grooveshark XBMC"
-       version="0.1.3" provider-name="Stephen Denham">
+       version="0.1.4" provider-name="Stephen Denham">
        <requires>
                <import addon="xbmc.python" version="1.0" />
        </requires>
index abc7f66..007459e 100644 (file)
@@ -1,3 +1,7 @@
+0.1.4:
+
+Improve song icon performance.
+
 0.1.3:
 
 Fix progress bar for songs retrieval.
index c31303b..e9f87de 100644 (file)
@@ -473,8 +473,7 @@ class Groveshark:
                 loc = urllib.URLopener()
                 loc.retrieve(url, localThumb)
         except:
-            xbmc.log('URL download failed of ' + url + ' to ' + localThumb)
-            return(self.defImg)
+            shutil.copy2(self.defImg, localThumb)
 
         return os.path.join(os.path.join(thumbDir, str(id))) + '.tbn'
         
index 1724e3b..7a617ce 100644 (file)
@@ -18,7 +18,7 @@
        <title>Grooveshark XBMC.</title>
 
        <!-- (required) Major.minor.build -->
-       <version>0.1.3</version>
+       <version>0.1.4</version>
 
        <!--
                (required) author name & email. at least one author name is required