The branch, eden has been updated
       via  e679686e9c426237e24d40b0fe617c6df28a3347 (commit)
      from  9267ba1d97af885732cc7a59c6de6bb3fad140b2 (commit)

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

commit e679686e9c426237e24d40b0fe617c6df28a3347
Author: Martijn Kaijser <[email protected]>
Date:   Sat Jun 9 19:13:42 2012 +0200

    [script.cdartmanager] - v2.6.5

diff --git a/script.cdartmanager/addon.xml b/script.cdartmanager/addon.xml
index be1d6bc..9b2ab37 100644
--- a/script.cdartmanager/addon.xml
+++ b/script.cdartmanager/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.cdartmanager"
        name="cdART Manager"
-       version="2.6.4"
+       version="2.6.5"
        provider-name="Giftie">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
@@ -11,6 +11,7 @@
              library="default.py">
   </extension> 
   <extension point="xbmc.addon.metadata">
+    <language></language>
     <platform>all</platform>
     <summary>cdART Manager</summary>
     <summary lang="hu">CD-kép kezelő</summary>
diff --git a/script.cdartmanager/changelog.txt 
b/script.cdartmanager/changelog.txt
index c32aba5..56bf610 100644
--- a/script.cdartmanager/changelog.txt
+++ b/script.cdartmanager/changelog.txt
@@ -1,3 +1,7 @@
+2.6.5
+- Add required <language></language> in addon.xml
+- Fixed artist thumbnail check
+
 2.6.4
 - Fix - Changed artist thumb to be saved as folder.jpg <- which matches what 
XBMC looks for
 - Add - rename artist.jpg to folder.jpg during Update Fanarts/Thumbnails
diff --git a/script.cdartmanager/default.py b/script.cdartmanager/default.py
index dd83c34..3a5bdd0 100644
--- a/script.cdartmanager/default.py
+++ b/script.cdartmanager/default.py
@@ -22,7 +22,7 @@ __author__           = __addon__.getAddonInfo('author')
 __version__          = __addon__.getAddonInfo('version')
 __credits__          = "Ppic, Reaven, Imaginos, redje, Jair, "
 __credits2__         = "Chaos_666, Magnatism, Kode"
-__date__             = "6-5-12"
+__date__             = "6-7-12"
 __dbversion__        = "1.5.3"
 __dbversionold__     = "1.3.2"
 __dbversionancient__ = "1.1.8"
diff --git a/script.cdartmanager/resources/lib/download.py 
b/script.cdartmanager/resources/lib/download.py
index ea84867..28cd581 100644
--- a/script.cdartmanager/resources/lib/download.py
+++ b/script.cdartmanager/resources/lib/download.py
@@ -107,9 +107,9 @@ def download_art( url_cdart, album, database_id, type, 
mode, size ):
     percent = 1
     if mode == "auto":
         pDialog.update( percent )
-    #except:
-    #    pDialog.create( _(32047) )
-    #    #Onscreen Dialog - "Downloading...."
+    else:
+        pDialog.create( _(32047) )
+        #Onscreen Dialog - "Downloading...."
     file_name = get_filename( type, url_cdart, mode )
     if file_name == "unknown":
         xbmc.log( "[script.cdartmanager] - Unknown Type ", xbmc.LOGDEBUG )
@@ -137,14 +137,10 @@ def download_art( url_cdart, album, database_id, type, 
mode, size ):
         #and calculating the percentage
         def _report_hook( count, blocksize, totalsize ):
             percent = int( float( count * blocksize * 100 ) / totalsize )
-            if percent < 0:
-                precent = 1
-            strProgressBar = str( percent )
-            if (type == "fanart" or type == "clearlogo" or type == 
"artistthumb") and mode == "auto":
+            if type in ( "fanart", "clearlogo", "artistthumb" ):
                 pDialog.update( percent, "%s%s" % ( _(32038) , get_unicode( 
album["artist"] ) ) )
-            elif mode == "auto":
+            else:
                 pDialog.update( percent, "%s%s" % ( _(32038) , get_unicode( 
album["artist"] ) ), "%s%s" % ( _(32039) , get_unicode( album["title"] ) ) )
-            #Onscreen Dialog - *DOWNLOADING CDART*
             if mode == "auto":
                 if ( pDialog.iscanceled() ):
                     pass  
@@ -184,6 +180,7 @@ def download_art( url_cdart, album, database_id, type, 
mode, size ):
     if mode == "auto":
         return message, download_success, final_destination  # returns one of 
the messages built based on success or lack of
     else:
+        pDialog.close()
         return message, download_success
 
 def cdart_search( cdart_url, id, disc ):
@@ -282,7 +279,7 @@ def auto_download( type ):
                     else:
                         artwork = art[0]
                         if type == "artistthumb":
-                            if exists( os.path.join( auto_art["path"], 
"artist.jpg" ) ):
+                            if exists( os.path.join( auto_art["path"], 
"folder.jpg" ) ):
                                 xbmc.log( "[script.cdartmanager] - Artist 
Thumb already exists, skipping", xbmc.LOGDEBUG )
                                 continue
                             else:

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

Summary of changes:
 script.cdartmanager/addon.xml                 |    3 ++-
 script.cdartmanager/changelog.txt             |    4 ++++
 script.cdartmanager/default.py                |    2 +-
 script.cdartmanager/resources/lib/download.py |   17 +++++++----------
 4 files changed, 14 insertions(+), 12 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to