The branch, frodo has been updated
via d99b32e4ca3f5a93f3203919791fd20da289caf8 (commit)
via 08fa5593422d8abcb4345cf8bb5a8178ae0240fe (commit)
via dea1ce8b9074598f3f0078558c1a02885c7f3087 (commit)
from 446b56f178036abdba20ae66c761e8141592d3de (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=d99b32e4ca3f5a93f3203919791fd20da289caf8
commit d99b32e4ca3f5a93f3203919791fd20da289caf8
Author: Martijn Kaijser <[email protected]>
Date: Sat Sep 7 13:20:14 2013 +0200
[script.screensaver.bigpictures] 0.1.2
diff --git a/script.screensaver.bigpictures/addon.xml
b/script.screensaver.bigpictures/addon.xml
index 3837ff4..3c2c7e0 100644
--- a/script.screensaver.bigpictures/addon.xml
+++ b/script.screensaver.bigpictures/addon.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.screensaver.bigpictures" name="The Big Pictures Screensaver"
version="0.1.1" provider-name="Tristan Fischer ([email protected])">
+<addon id="script.screensaver.bigpictures" name="The Big Pictures Screensaver"
version="0.1.2" provider-name="Tristan Fischer ([email protected])">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
- <import addon="script.module.bigpictures" version="1.1.1"/>
+ <import addon="script.module.bigpictures" version="1.1.4"/>
</requires>
<extension point="xbmc.ui.screensaver" library="screensaver.py" />
<extension point="xbmc.addon.metadata">
diff --git a/script.screensaver.bigpictures/changelog.txt
b/script.screensaver.bigpictures/changelog.txt
index 646ea6d..f0da885 100644
--- a/script.screensaver.bigpictures/changelog.txt
+++ b/script.screensaver.bigpictures/changelog.txt
@@ -1,3 +1,6 @@
+0.1.2 (07.09.2013)
+ - change picture duration setting from enum to numeric
+
0.1.1 (23.06.2013)
- added preloading of the next image. This improves the sync between image
and text
- fixed screensaver exit on abort requested
diff --git a/script.screensaver.bigpictures/resources/settings.xml
b/script.screensaver.bigpictures/resources/settings.xml
index da6cc68..4ffca65 100644
--- a/script.screensaver.bigpictures/resources/settings.xml
+++ b/script.screensaver.bigpictures/resources/settings.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
- <setting id="picture_duration" type="labelenum" label="32110" default="5"
values="5|15|30|60"/>
+ <setting id="picture_duration" type="number" label="32110" default="5"/>
<setting id="enable_TheBigPictures" type="bool" label="32400"
default="true"/>
<setting id="enable_AtlanticInFocus" type="bool" label="32401"
default="true"/>
<setting id="enable_SacBeeFrame" type="bool" label="32402" default="true"/>
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=08fa5593422d8abcb4345cf8bb5a8178ae0240fe
commit 08fa5593422d8abcb4345cf8bb5a8178ae0240fe
Author: Martijn Kaijser <[email protected]>
Date: Sat Sep 7 13:18:19 2013 +0200
[script.module.bigpictures] 1.1.4
diff --git a/script.module.bigpictures/addon.xml
b/script.module.bigpictures/addon.xml
index 08f0b21..43c3ca2 100644
--- a/script.module.bigpictures/addon.xml
+++ b/script.module.bigpictures/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="script.module.bigpictures" name="The Big Pictures Scrapers"
version="1.1.3" provider-name="Tristan Fischer ([email protected])">
+<addon id="script.module.bigpictures" name="The Big Pictures Scrapers"
version="1.1.4" provider-name="Tristan Fischer ([email protected])">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.beautifulsoup" version="3.0.8"/>
diff --git a/script.module.bigpictures/changelog.txt
b/script.module.bigpictures/changelog.txt
index 6a3d39d..e35ea6d 100644
--- a/script.module.bigpictures/changelog.txt
+++ b/script.module.bigpictures/changelog.txt
@@ -1,3 +1,6 @@
+1.1.4 (08.09.2013)
+ - fixed WallStreetJournal Scraper (Website changes)
+
1.1.3 (16.07.2013)
- fixed Bosten.com The Big Picture Scraper (Website changes)
diff --git a/script.module.bigpictures/lib/scrapers.py
b/script.module.bigpictures/lib/scrapers.py
index c6c88e6..3d148a1 100644
--- a/script.module.bigpictures/lib/scrapers.py
+++ b/script.module.bigpictures/lib/scrapers.py
@@ -22,7 +22,12 @@ import json
import urllib2
from BeautifulSoup import BeautifulSoup
-import xbmc
+try:
+ import xbmc
+ XBMC_MODE = True
+except ImportError:
+ XBMC_MODE = False
+
ALL_SCRAPERS = (
'TheBigPictures',
@@ -82,9 +87,14 @@ class BasePlugin(object):
return self._title
def log(self, msg):
- xbmc.log('TheBigPictures ScraperPlugin[%s]: %s' % (
- self.__class__.__name__, msg
- ))
+ if XBMC_MODE:
+ xbmc.log('TheBigPictures ScraperPlugin[%s]: %s' % (
+ self.__class__.__name__, msg
+ ))
+ else:
+ print('TheBigPictures ScraperPlugin[%s]: %s' % (
+ self.__class__.__name__, msg
+ ))
@classmethod
def get_scrapers(cls, name_list):
@@ -250,6 +260,8 @@ class WallStreetJournal(BasePlugin):
continue
if not album.find('img'):
continue
+ if not album.find('h2'):
+ continue
title = album.find('h2').a.string
album_url = album.find('h2').a['href']
d = album.findAll('div', {'class': 'postContent'})[1].p
diff --git a/script.module.bigpictures/lib/thebigpictures.py
b/script.module.bigpictures/lib/thebigpictures.py
index 881a786..f356db2 100644
--- a/script.module.bigpictures/lib/thebigpictures.py
+++ b/script.module.bigpictures/lib/thebigpictures.py
@@ -20,7 +20,11 @@
import random
from scrapers import ALL_SCRAPERS, get_scrapers
-import xbmc
+try:
+ import xbmc
+ XBMC_MODE = True
+except ImportError:
+ XBMC_MODE = False
class ScraperManager(object):
@@ -90,7 +94,10 @@ class ScraperManager(object):
return self._scrapers[self._current_index]
def log(self, msg):
- xbmc.log('TheBigPictures Manager: %s' % msg)
+ if XBMC_MODE:
+ xbmc.log('TheBigPictures Manager: %s' % msg)
+ else:
+ print('TheBigPictures Manager: %s' % msg)
def test():
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=dea1ce8b9074598f3f0078558c1a02885c7f3087
-----------------------------------------------------------------------
Summary of changes:
{script.keymap => script.lazytv}/LICENSE.txt | 0
script.lazytv/README | 1 +
script.lazytv/addon.xml | 20 +
script.lazytv/backfill.py | 63 +++
script.lazytv/changelog.txt | 12 +
script.lazytv/default.py | 414 ++++++++++++++++++++
script.lazytv/fanart.jpg | Bin 0 -> 14569 bytes
script.lazytv/icon.png | Bin 0 -> 28506 bytes
script.lazytv/ignore_dialog.py | 129 ++++++
.../resources/__init__.py | 0
.../resources/language/English/strings.po | 234 +++++++++++
script.lazytv/resources/lazy_lib.py | 65 +++
script.lazytv/resources/settings.xml | 33 ++
script.lazytv/set_pl.py | 5 +
script.module.bigpictures/addon.xml | 2 +-
script.module.bigpictures/changelog.txt | 3 +
script.module.bigpictures/lib/scrapers.py | 20 +-
script.module.bigpictures/lib/test.py | 43 ++
script.module.bigpictures/lib/thebigpictures.py | 11 +-
script.screensaver.bigpictures/addon.xml | 4 +-
script.screensaver.bigpictures/changelog.txt | 3 +
.../resources/settings.xml | 2 +-
22 files changed, 1054 insertions(+), 10 deletions(-)
copy {script.keymap => script.lazytv}/LICENSE.txt (100%)
create mode 100644 script.lazytv/README
create mode 100644 script.lazytv/addon.xml
create mode 100644 script.lazytv/backfill.py
create mode 100644 script.lazytv/changelog.txt
create mode 100644 script.lazytv/default.py
create mode 100644 script.lazytv/fanart.jpg
create mode 100644 script.lazytv/icon.png
create mode 100644 script.lazytv/ignore_dialog.py
copy {script.ace.extrapack => script.lazytv}/resources/__init__.py (100%)
create mode 100644 script.lazytv/resources/language/English/strings.po
create mode 100644 script.lazytv/resources/lazy_lib.py
create mode 100644 script.lazytv/resources/settings.xml
create mode 100644 script.lazytv/set_pl.py
create mode 100644 script.module.bigpictures/lib/test.py
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons