The branch, eden-pre has been updated
via 3388d6fbb875bbe3418e356e705c1d332cce96fb (commit)
from 79d36561b3035ef27d567d1bd3d5f2f8d9a78d6a (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=3388d6fbb875bbe3418e356e705c1d332cce96fb
commit 3388d6fbb875bbe3418e356e705c1d332cce96fb
Author: amet <[email protected]>
Date: Fri Dec 2 22:08:57 2011 +0400
[script.image.bigpictures] -v 2.0.2
diff --git a/script.image.bigpictures/addon.xml
b/script.image.bigpictures/addon.xml
index 9cae486..bd8b66a 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="2.0.1"
provider-name="sphere">
+<addon id="script.image.bigpictures" name="The Big Picture" version="2.0.2"
provider-name="sphere">
<requires>
<import addon="xbmc.python" version="2.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 46bcae8..203912e 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 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
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