The branch, dharma has been updated
       via  c207b0ce363a9952e0006d37a6d7dc73993331fc (commit)
      from  2acc117e3af9eb246b55e9615caa455a35641d7e (commit)

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

commit c207b0ce363a9952e0006d37a6d7dc73993331fc
Author: amet <[email protected]>
Date:   Fri Dec 2 22:06:25 2011 +0400

    [script.image.bigpictures] -v1.5.2

diff --git a/script.image.bigpictures/addon.xml 
b/script.image.bigpictures/addon.xml
index e698b0e..5835c5b 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.5.1" 
provider-name="sphere">
+<addon id="script.image.bigpictures" name="The Big Picture" version="1.5.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/resources/lib/gui.py 
b/script.image.bigpictures/resources/lib/gui.py
index 19b7ef5..d3a54c2 100644
--- a/script.image.bigpictures/resources/lib/gui.py
+++ b/script.image.bigpictures/resources/lib/gui.py
@@ -31,13 +31,19 @@ class GUI(xbmcgui.WindowXML):
 

     def getScraper(self):

         addon_path = xbmc.translatePath(Addon.getAddonInfo('path'))

+        print 'TBP: addon_path: %s' % repr(addon_path)

         res_path = os.path.join(addon_path, 'resources', 'lib')

+        print 'TBP: res_path: %s' % repr(res_path)

         scrapers_path = os.path.join(res_path, 'scrapers')

+        print 'TBP: scrapers_path: %s' % repr(scrapers_path)

         scrapers = [f[:-3] for f in os.listdir(scrapers_path) \

                     if f.endswith('.py')]

-        sys.path.append(res_path)

-        sys.path.append(scrapers_path)

+        print 'TBP: scrapers: %s' % repr(scrapers)

+        sys.path.insert(0, res_path)

+        sys.path.insert(0, scrapers_path)

+        print 'TBP: path: %s' % repr(sys.path)

         imported_modules = [__import__(scraper) for scraper in scrapers]

+        print 'TBP: imported_modules: %s' % repr(imported_modules)

         self.SOURCES = [m.register() for m in imported_modules]

 

     def onInit(self):


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

Summary of changes:
 script.image.bigpictures/addon.xml                 |    2 +-
 script.image.bigpictures/resources/lib/gui.py      |   10 ++-
 .../resources/lib/scrapers/aif.py                  |   44 -------------
 .../resources/lib/scrapers/parent.py               |   69 --------------------
 .../resources/lib/scrapers/sbb.py                  |   47 -------------
 .../resources/lib/scrapers/tbp.py                  |   58 ----------------
 .../resources/lib/scrapers/wsj.py                  |   44 -------------
 7 files changed, 9 insertions(+), 265 deletions(-)
 delete mode 100644 script.image.bigpictures/resources/lib/scrapers/__init__.py
 delete mode 100644 script.image.bigpictures/resources/lib/scrapers/aif.py
 delete mode 100644 script.image.bigpictures/resources/lib/scrapers/parent.py
 delete mode 100644 script.image.bigpictures/resources/lib/scrapers/sbb.py
 delete mode 100644 script.image.bigpictures/resources/lib/scrapers/tbp.py
 delete mode 100644 script.image.bigpictures/resources/lib/scrapers/wsj.py


hooks/post-receive
-- 
Scripts

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to