The branch, dharma has been updated
       via  5a94dcf22764e5bf29a9690eb9eea1a554d0d231 (commit)
       via  526403116222aeb85d997dfeda6e03b38e42d90b (commit)
      from  212e666dc5891e7ac15c90dfa6385f78b45f315a (commit)

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

commit 5a94dcf22764e5bf29a9690eb9eea1a554d0d231
Author: amet <[email protected]>
Date:   Sat Apr 23 17:23:13 2011 +0400

    [script.image.bigpictures] -v1.4.2
    
      Fixed: Error with external Python and os.makedirs(cachedir) with cachedir 
= "special://..."
      Fixed TheSacramentoBee wasn't able to get Photos
      Fixed WallStreetJournal wasn't able to get Photos

diff --git a/script.image.bigpictures/addon.xml 
b/script.image.bigpictures/addon.xml
index 33c890b..50adf22 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="1.4.1" 
provider-name="sphere">
+<addon id="script.image.bigpictures" name="The Big Picture" version="1.4.2" 
provider-name="sphere">
   <requires>
     <import addon="xbmc.python" version="1.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 9c5216d..7febcdb 100644
--- a/script.image.bigpictures/changelog.txt
+++ b/script.image.bigpictures/changelog.txt
@@ -1,3 +1,8 @@
+1.4.2
+  Fixed: Error with external Python and os.makedirs(cachedir) with cachedir = 
"special://..."
+  Fixed TheSacramentoBee wasn't able to get Photos
+  Fixed WallStreetJournal wasn't able to get Photos
+
 1.4.1
   Fixed: boston.com now needs a referer for the photosets
   Improved: Better class Inheritance
diff --git a/script.image.bigpictures/resources/lib/sbb_scraper.py 
b/script.image.bigpictures/resources/lib/sbb_scraper.py
index 92aeab4..e8aba89 100644
--- a/script.image.bigpictures/resources/lib/sbb_scraper.py
+++ b/script.image.bigpictures/resources/lib/sbb_scraper.py
@@ -18,7 +18,7 @@ class SBB(Scraper):
 

     def getPhotos(self, url):

         """creates an ordered list photos = [{title, pic, description}, ...] 
"""

-        tree = BeautifulSoup(self.getCachedUrl(url))

+        tree = BeautifulSoup(self.getCachedURL(url))

         title = tree.find('div', 'asset-name entry-title title').a.string

         self.photos = list()

         subtree_img = tree.findAll('div', attrs={'style': 'background: 
rgb(224, 224, 224); width: 982px; padding: 4px;'})

diff --git a/script.image.bigpictures/resources/lib/wsj_scraper.py 
b/script.image.bigpictures/resources/lib/wsj_scraper.py
index ad7fe15..51acf5e 100644
--- a/script.image.bigpictures/resources/lib/wsj_scraper.py
+++ b/script.image.bigpictures/resources/lib/wsj_scraper.py
@@ -17,8 +17,9 @@ class WSJ(Scraper):
             self.albums.append({'title': title, 'pic': pic, 'description': 
description, 'link': link})

 

     def getPhotos(self, url, append=False):

+        print url

         """creates an ordered list photos = [{title, pic, description}, ...] 
"""

-        tree = BeautifulSoup(self.getCachedUrl(url))

+        tree = BeautifulSoup(self.getCachedURL(url))

         title = tree.find('div', 'articleHeadlineBox 
headlineType-newswire').h1.string

         if not append:

             self.photos = list()

diff --git a/script.image.bigpictures/runscript.py 
b/script.image.bigpictures/runscript.py
index 3218efc..e409c47 100644
--- a/script.image.bigpictures/runscript.py
+++ b/script.image.bigpictures/runscript.py
@@ -1,5 +1,6 @@
 import sys

 import xbmcaddon

+import xbmc

 

 Addon = xbmcaddon.Addon('script.image.bigpictures')

 

@@ -9,7 +10,7 @@ __id__ = Addon.getAddonInfo('id')
 __author__ = Addon.getAddonInfo('author')

 __version__ = Addon.getAddonInfo('version')

 __path__ = Addon.getAddonInfo('path')

-__cachedir__ = 'special://profile/addon_data/%s/cache/' % __id__

+__cachedir__ = xbmc.translatePath('special://profile/addon_data/%s/cache/' % 
__id__)

 

 print '[SCRIPT][%s] version %s initialized!' % (__scriptname__, __version__)

 


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

commit 526403116222aeb85d997dfeda6e03b38e42d90b
Author: amet <[email protected]>
Date:   Sat Apr 23 17:20:14 2011 +0400

    [script.qlock] -v 0.1.2
    
    -added: Spanish layout, thx to xbmcero

diff --git a/script.qlock/addon.xml b/script.qlock/addon.xml
index 02a5846..d6cd511 100644
--- a/script.qlock/addon.xml
+++ b/script.qlock/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.qlock"
        name="Qlock"
-       version="0.1.1"
+       version="0.1.2"
        provider-name="Amet">
   <requires>
     <import addon="xbmc.python" version="1.0"/>
diff --git a/script.qlock/changelog.txt b/script.qlock/changelog.txt
index 902f3fc..47bfa3a 100644
--- a/script.qlock/changelog.txt
+++ b/script.qlock/changelog.txt
@@ -1,3 +1,6 @@
+0.1.2
+-added: Spanish layout, thx to xbmcero
+
 0.1.1
 -fixed: Swedish layout, needed changes to default.py to work properly
 -fixed: German layout

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

Summary of changes:
 script.image.bigpictures/addon.xml                 |    2 +-
 script.image.bigpictures/changelog.txt             |    5 +++
 .../resources/lib/sbb_scraper.py                   |    2 +-
 .../resources/lib/wsj_scraper.py                   |    3 +-
 script.image.bigpictures/runscript.py              |    3 +-
 script.qlock/addon.xml                             |    2 +-
 script.qlock/changelog.txt                         |    3 ++
 script.qlock/resources/layout/Spanish/layout.xml   |   35 ++++++++++++++++++++
 8 files changed, 50 insertions(+), 5 deletions(-)
 create mode 100644 script.qlock/resources/layout/Spanish/layout.xml


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to