The branch, eden has been updated
via e88b879151ddd82830182411f5ec6f3463e7cc79 (commit)
via d4099df7217ef950d7ac35f5461337563bc63c25 (commit)
via f3ece2e6c31793b7499fd0cbf94a7e7c3da37956 (commit)
from 380586519ed1803499de05734d4b400a668596c8 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=e88b879151ddd82830182411f5ec6f3463e7cc79
commit e88b879151ddd82830182411f5ec6f3463e7cc79
Author: spiff <[email protected]>
Date: Wed Aug 29 17:30:27 2012 +0200
[plugin.video.diy] updated to version 1.0.2
diff --git a/plugin.video.diy/addon.xml b/plugin.video.diy/addon.xml
index 5088113..4f695e5 100644
--- a/plugin.video.diy/addon.xml
+++ b/plugin.video.diy/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.diy"
name="DIY Network"
- version="1.0.1"
+ version="1.0.2"
provider-name="divingmule">
<requires>
<import addon="xbmc.python" version="2.0"/>
@@ -15,7 +15,7 @@
<extension point="xbmc.addon.metadata">
<summary>Videos from diynetwork.com.</summary>
<description>Play full episodes from the Do It Yourself Network,
diynetwork.com. These videos seem to be restricted to the U.S.
only.</description>
- <disclaimer>Some parts of this addon may not be legal in your country of
residence - please check with your local laws before installing.</disclaimer>
<platform>all</platform>
+ <language>en</language>
</extension>
</addon>
diff --git a/plugin.video.diy/changelog.txt b/plugin.video.diy/changelog.txt
index 2da7244..f5fe7c8 100644
--- a/plugin.video.diy/changelog.txt
+++ b/plugin.video.diy/changelog.txt
@@ -1,3 +1,6 @@
+Version 1.0.2
+fix script error when selecting some shows
+
Version 1.0.1
we now scrape the main show list from
http://www.diynetwork.com/full-episodes/package/index.html and then hard-code
other shows in the 'More' directory.
diff --git a/plugin.video.diy/default.py b/plugin.video.diy/default.py
index 2ab792a..c76eafb 100644
--- a/plugin.video.diy/default.py
+++ b/plugin.video.diy/default.py
@@ -16,13 +16,21 @@ cache = StorageServer.StorageServer("diy", 24)
def getRequest(url):
headers = {'User-agent' : ' Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:10.0) Gecko/20100101 Firefox/10.0',
'Referer' : 'http://www.diynetwork.com'}
- req = urllib2.Request(url,None,headers)
- response = urllib2.urlopen(req)
- link=response.read()
- response.close()
- return link
-
-
+ try:
+ req = urllib2.Request(url,None,headers)
+ response = urllib2.urlopen(req)
+ data = response.read()
+ response.close()
+ return data
+ except urllib2.URLError, e:
+ print 'We failed to open "%s".' % url
+ if hasattr(e, 'reason'):
+ print 'We failed to reach a server.'
+ print 'Reason: ', e.reason
+ if hasattr(e, 'code'):
+ print 'We failed with error code - %s.' % e.code
+
+
def shows_cache():
url = 'http://www.diynetwork.com/full-episodes/package/index.html'
soup = BeautifulSoup(getRequest(url),
convertEntities=BeautifulSoup.HTML_ENTITIES)
@@ -69,7 +77,8 @@ def getMoreShows():
def index(url, iconimage):
- url='http://www.diynetwork.com'+url
+ if not url.startswith('http'):
+ url = 'http://www.diynetwork.com'+url
soup = BeautifulSoup(getRequest(url))
if soup.find('div', attrs={'id' : "more-videos-from-show"}):
shows = soup.find('div', attrs={'id' :
"more-videos-from-show"})('h4')
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=d4099df7217ef950d7ac35f5461337563bc63c25
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=f3ece2e6c31793b7499fd0cbf94a7e7c3da37956
-----------------------------------------------------------------------
Summary of changes:
.../LICENSE.txt | 0
plugin.audio.listenliveeu/addon.xml | 24 +
plugin.audio.listenliveeu/changelog.txt | 46 ++
plugin.audio.listenliveeu/default.py | 458 ++++++++++++++++++++
plugin.audio.listenliveeu/icon.png | Bin 0 -> 38430 bytes
.../resources/language/English/strings.xml | 45 ++
.../resources/language/Finnish/strings.xml | 25 +
.../resources/language/German/strings.xml | 33 ++
.../resources/language/Hungarian/strings.xml | 26 ++
.../resources/language/Swedish/strings.xml | 27 ++
plugin.audio.listenliveeu/resources/settings.xml | 8 +
.../LICENSE.txt | 0
plugin.video.animeftw/addon.xml | 19 +
plugin.video.animeftw/changelog.txt | 57 +++
plugin.video.animeftw/default.py | 20 +
plugin.video.animeftw/difference.patch | 69 +++
plugin.video.animeftw/icon.png | Bin 0 -> 7794 bytes
.../resources}/__init__.py | 0
.../resources/language/English/strings.xml | 77 ++++
.../resources/lib}/__init__.py | 0
plugin.video.animeftw/resources/lib/main_ftw2.py | 285 ++++++++++++
plugin.video.animeftw/resources/settings.xml | 5 +
plugin.video.diy/addon.xml | 4 +-
plugin.video.diy/changelog.txt | 3 +
plugin.video.diy/default.py | 25 +-
25 files changed, 1246 insertions(+), 10 deletions(-)
copy {plugin.audio.abradio.cz => plugin.audio.listenliveeu}/LICENSE.txt (100%)
create mode 100644 plugin.audio.listenliveeu/addon.xml
create mode 100644 plugin.audio.listenliveeu/changelog.txt
create mode 100644 plugin.audio.listenliveeu/default.py
create mode 100644 plugin.audio.listenliveeu/icon.png
create mode 100644
plugin.audio.listenliveeu/resources/language/English/strings.xml
create mode 100644
plugin.audio.listenliveeu/resources/language/Finnish/strings.xml
create mode 100644
plugin.audio.listenliveeu/resources/language/German/strings.xml
create mode 100644
plugin.audio.listenliveeu/resources/language/Hungarian/strings.xml
create mode 100644
plugin.audio.listenliveeu/resources/language/Swedish/strings.xml
create mode 100644 plugin.audio.listenliveeu/resources/settings.xml
copy {plugin.audio.abradio.cz => plugin.video.animeftw}/LICENSE.txt (100%)
create mode 100644 plugin.video.animeftw/addon.xml
create mode 100644 plugin.video.animeftw/changelog.txt
create mode 100644 plugin.video.animeftw/default.py
create mode 100644 plugin.video.animeftw/difference.patch
create mode 100644 plugin.video.animeftw/icon.png
copy {plugin.audio.hvsc/hvscAPI =>
plugin.video.animeftw/resources}/__init__.py (100%)
create mode 100644 plugin.video.animeftw/resources/language/English/strings.xml
copy {plugin.audio.hvsc/hvscAPI =>
plugin.video.animeftw/resources/lib}/__init__.py (100%)
create mode 100644 plugin.video.animeftw/resources/lib/main_ftw2.py
create mode 100644 plugin.video.animeftw/resources/settings.xml
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
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