The branch, eden has been updated
       via  73c0564a7c833bedb8b21c457479d8623e8abe7b (commit)
       via  ba7499d49d2c85e7896e8d2efda02246ba779e41 (commit)
       via  dbc01e59dfb3e427ddab42093e2bffdd4657001d (commit)
      from  f5bf890bd47c808cc71c27a40bc069bce9c95cf1 (commit)

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

commit 73c0564a7c833bedb8b21c457479d8623e8abe7b
Author: Martijn Kaijser <[email protected]>
Date:   Sun Jul 29 15:25:46 2012 +0200

    [script.xbmcbackup] -v0.1.1

diff --git a/script.xbmcbackup/addon.xml b/script.xbmcbackup/addon.xml
index 9912d6d..e3d6a80 100644
--- a/script.xbmcbackup/addon.xml
+++ b/script.xbmcbackup/addon.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.xbmcbackup"
-    name="XBMC Backup" version="0.1.0" provider-name="robweber">
+    name="XBMC Backup" version="0.1.1" provider-name="robweber">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
   </requires>
diff --git a/script.xbmcbackup/changelog.txt b/script.xbmcbackup/changelog.txt
index 33440d2..2d00af8 100644
--- a/script.xbmcbackup/changelog.txt
+++ b/script.xbmcbackup/changelog.txt
@@ -37,3 +37,7 @@ added enable/disable logging toggle in settings
 [b]Version 0.1.0[/b]
 
 removed transparency from icon.png
+
+[b]Version 0.1.1[/b]
+
+added check for key in vfs.py - Thanks Martijn!
\ No newline at end of file
diff --git a/script.xbmcbackup/resources/lib/vfs.py 
b/script.xbmcbackup/resources/lib/vfs.py
index 0b04992..14762b6 100644
--- a/script.xbmcbackup/resources/lib/vfs.py
+++ b/script.xbmcbackup/resources/lib/vfs.py
@@ -101,7 +101,7 @@ def listdir(path, extra_metadata=False):
 
     jsonobject = json.loads(json_response)
 
-    if jsonobject['result']['files']:
+    if jsonobject.has_key('result') and jsonobject['result']['files']:
 
         for item in jsonobject['result']['files']:
 

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

commit ba7499d49d2c85e7896e8d2efda02246ba779e41
Author: Martijn Kaijser <[email protected]>
Date:   Sun Jul 29 15:24:33 2012 +0200

    [script.artistslideshow] -v1.4.1

diff --git a/script.artistslideshow/addon.xml b/script.artistslideshow/addon.xml
index 8de8b8f..0e87dad 100644
--- a/script.artistslideshow/addon.xml
+++ b/script.artistslideshow/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.artistslideshow" name="Artist Slideshow" version="1.4.0" 
provider-name="ronie/kyleejohnson (pkscuot)">
+<addon id="script.artistslideshow" name="Artist Slideshow" version="1.4.1" 
provider-name="ronie/kyleejohnson (pkscuot)">
        <requires>
                <import addon="xbmc.python" version="2.0"/>
                <import addon="script.module.elementtree" version="1.2.7"/>
diff --git a/script.artistslideshow/changelog.txt 
b/script.artistslideshow/changelog.txt
index 9042cc4..9303b3c 100644
--- a/script.artistslideshow/changelog.txt
+++ b/script.artistslideshow/changelog.txt
@@ -1,3 +1,7 @@
+v.1.4.1
+- updated language files for Portuguese-Brazil (thanks to Wanilton)
+- fixed error causing information for 50th album to not be cleared
+
 v.1.4.0
 - added ability to display artwork from multiple artists simultaneously
 - added option for a folder name other than extrafanart
diff --git a/script.artistslideshow/default.py 
b/script.artistslideshow/default.py
index b5d943b..ba4c216 100644
--- a/script.artistslideshow/default.py
+++ b/script.artistslideshow/default.py
@@ -657,10 +657,10 @@ class Main:
             self.WINDOW.clearProperty("ArtistSlideshow")
         self.WINDOW.clearProperty( "ArtistSlideshow.ArtistBiography" )
         for count in range( 50 ):
-            self.WINDOW.clearProperty( "ArtistSlideshow.%d.SimilarName" % ( 
count ) )
-            self.WINDOW.clearProperty( "ArtistSlideshow.%d.SimilarThumb" % ( 
count ) )
-            self.WINDOW.clearProperty( "ArtistSlideshow.%d.AlbumName" % ( 
count ) )
-            self.WINDOW.clearProperty( "ArtistSlideshow.%d.AlbumThumb" % ( 
count ) )
+            self.WINDOW.clearProperty( "ArtistSlideshow.%d.SimilarName" % ( 
count + 1 ) )
+            self.WINDOW.clearProperty( "ArtistSlideshow.%d.SimilarThumb" % ( 
count + 1 ) )
+            self.WINDOW.clearProperty( "ArtistSlideshow.%d.AlbumName" % ( 
count + 1 ) )
+            self.WINDOW.clearProperty( "ArtistSlideshow.%d.AlbumThumb" % ( 
count + 1 ) )
 
 
 if ( __name__ == "__main__" ):
diff --git a/script.artistslideshow/resources/language/Portuguese 
(Brazil)/strings.xml b/script.artistslideshow/resources/language/Portuguese 
(Brazil)/strings.xml
index 02896e3..69a51d9 100644
--- a/script.artistslideshow/resources/language/Portuguese (Brazil)/strings.xml 
+++ b/script.artistslideshow/resources/language/Portuguese (Brazil)/strings.xml 
@@ -70,5 +70,4 @@
     <string id="32202">  Tamanho do cache máximo (em megabytes)</string>
     <string id="32203">Exibir imagens de progresso durante a primeira 
transferência</string>
     <string id="32204">  Pasta de imagens Progresso</string>
-    <string id="32205">Alternate name for local fanart folder</string>
 </strings>

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

commit dbc01e59dfb3e427ddab42093e2bffdd4657001d
Author: Martijn Kaijser <[email protected]>
Date:   Sun Jul 29 15:23:25 2012 +0200

    [script.image.bigpictures] -v3.0.4

diff --git a/script.image.bigpictures/addon.xml 
b/script.image.bigpictures/addon.xml
index 62b5781..e57933c 100644
--- a/script.image.bigpictures/addon.xml
+++ b/script.image.bigpictures/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.image.bigpictures" name="The Big Picture" version="3.0.3" 
provider-name="Tristan Fischer ([email protected])">
+<addon id="script.image.bigpictures" name="The Big Picture" version="3.0.4" 
provider-name="Tristan Fischer ([email protected])">
     <requires>
         <import addon="xbmc.python" version="2.0"/>
         <import addon="script.module.beautifulsoup" version="3.0.8"/>
diff --git a/script.image.bigpictures/changelog.txt 
b/script.image.bigpictures/changelog.txt
index 8697a7a..8395478 100644
--- a/script.image.bigpictures/changelog.txt
+++ b/script.image.bigpictures/changelog.txt
@@ -1,3 +1,7 @@
+3.0.4
+  Fixed: "The Big Picture"-scraper
+  Fixed: "Wallstreet Jouarnal"-scraper
+
 3.0.3
   Fixed TheSacramentoBee
   Fixed Time.com: LightBox 
diff --git a/script.image.bigpictures/resources/lib/scrapers/1_tbp.py 
b/script.image.bigpictures/resources/lib/scrapers/1_tbp.py
index 405849a..e357498 100644
--- a/script.image.bigpictures/resources/lib/scrapers/1_tbp.py
+++ b/script.image.bigpictures/resources/lib/scrapers/1_tbp.py
@@ -14,8 +14,10 @@ class Scraper(ScraperPlugin):
         for id, album in enumerate(albums):
             title = album.find('a').string
             album_url = album.find('a')['href']
-            d = album.find('div', {'class': 'bpBody'}).contents
-            description = self._collapse(d)
+            d = album.find('div', {'class': 'bpBody'})
+            if not d:
+                continue
+            description = self._collapse(d.contents)
             pic = album.find('img')['src']
             self.albums.append({'title': title,
                                 'album_id': id,
diff --git a/script.image.bigpictures/resources/lib/scrapers/4_wsj.py 
b/script.image.bigpictures/resources/lib/scrapers/4_wsj.py
index c73fef5..bb2c8ca 100644
--- a/script.image.bigpictures/resources/lib/scrapers/4_wsj.py
+++ b/script.image.bigpictures/resources/lib/scrapers/4_wsj.py
@@ -14,6 +14,8 @@ class Scraper(ScraperPlugin):
             author = album.find('cite').string
             if not author == u'By WSJ Staff':
                 continue
+            if not album.find('img'):
+                continue
             title = album.find('h2').a.string
             album_url = album.find('h2').a['href']
             d = album.findAll('div', {'class': 'postContent'})[1].p

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

Summary of changes:
 script.artistslideshow/addon.xml                   |    2 +-
 script.artistslideshow/changelog.txt               |    4 ++++
 script.artistslideshow/default.py                  |    8 ++++----
 .../language/Portuguese (Brazil)/strings.xml       |    1 -
 script.image.bigpictures/addon.xml                 |    2 +-
 script.image.bigpictures/changelog.txt             |    4 ++++
 .../resources/lib/scrapers/1_tbp.py                |    6 ++++--
 .../resources/lib/scrapers/4_wsj.py                |    2 ++
 script.xbmcbackup/addon.xml                        |    2 +-
 script.xbmcbackup/changelog.txt                    |    4 ++++
 script.xbmcbackup/resources/lib/vfs.py             |    2 +-
 11 files changed, 26 insertions(+), 11 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