The branch, eden has been updated
via 81f573be012a70438842d8c11289569fbc4cf323 (commit)
via b17f326f9a2a8589e405b41b04b6c85b63a8561e (commit)
via 9c877c43e71fee0cf984e1ae71880a3b602b1b1c (commit)
from 5283fffd9892a1a6c5e33526f3b5fd3110be1967 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=81f573be012a70438842d8c11289569fbc4cf323
commit 81f573be012a70438842d8c11289569fbc4cf323
Author: spiff <[email protected]>
Date: Tue Oct 30 13:36:25 2012 +0100
[plugin.video.redux_com] updated to version 1.0.2
diff --git a/plugin.video.redux_com/addon.xml b/plugin.video.redux_com/addon.xml
index 4bcea7b..08e4c16 100644
--- a/plugin.video.redux_com/addon.xml
+++ b/plugin.video.redux_com/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<addon id="plugin.video.redux_com" name="Redux.com" version="1.0.1"
provider-name="AddonScriptorDE">
+<addon id="plugin.video.redux_com" name="Redux.com" version="1.0.2"
provider-name="AddonScriptorDE">
<requires>
<import addon="xbmc.python" version="2.0"/>
<import addon="plugin.video.youtube" version="3.1.0"/>
diff --git a/plugin.video.redux_com/changelog.txt
b/plugin.video.redux_com/changelog.txt
index 83cc374..da717ba 100644
--- a/plugin.video.redux_com/changelog.txt
+++ b/plugin.video.redux_com/changelog.txt
@@ -2,3 +2,5 @@
- First Try
1.0.1
- Added TV Mode
+1.0.2
+- Fixed important bug
\ No newline at end of file
diff --git a/plugin.video.redux_com/default.py
b/plugin.video.redux_com/default.py
index 91f3bb0..90f867e 100644
--- a/plugin.video.redux_com/default.py
+++ b/plugin.video.redux_com/default.py
@@ -6,6 +6,7 @@ from random import shuffle
socket.setdefaulttimeout(30)
pluginhandle = int(sys.argv[1])
xbox = xbmc.getCondVisibility("System.Platform.xbox")
+addon = xbmcaddon.Addon(id='plugin.video.redux_com')
forceViewMode=addon.getSetting("forceViewMode")
if forceViewMode=="true":
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=b17f326f9a2a8589e405b41b04b6c85b63a8561e
commit b17f326f9a2a8589e405b41b04b6c85b63a8561e
Author: spiff <[email protected]>
Date: Tue Oct 30 13:35:11 2012 +0100
[plugin.video.wired_com] updated to version 1.0.1
diff --git a/plugin.video.wired_com/addon.xml b/plugin.video.wired_com/addon.xml
index 8a838d2..321c7b6 100644
--- a/plugin.video.wired_com/addon.xml
+++ b/plugin.video.wired_com/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<addon id="plugin.video.wired_com" name="Wired.com" version="1.0.0"
provider-name="AddonScriptorDE">
+<addon id="plugin.video.wired_com" name="Wired.com" version="1.0.1"
provider-name="AddonScriptorDE">
<requires>
<import addon="xbmc.python" version="2.0"/>
<import addon="script.module.pyamf" version="0.6.1"/>
diff --git a/plugin.video.wired_com/changelog.txt
b/plugin.video.wired_com/changelog.txt
index 21d8488..3d3c90c 100644
--- a/plugin.video.wired_com/changelog.txt
+++ b/plugin.video.wired_com/changelog.txt
@@ -1,2 +1,4 @@
1.0.0
- First Try
+1.0.1
+- Fixed site changes
\ No newline at end of file
diff --git a/plugin.video.wired_com/default.py
b/plugin.video.wired_com/default.py
index feaf8da..211bc30 100644
--- a/plugin.video.wired_com/default.py
+++ b/plugin.video.wired_com/default.py
@@ -3,18 +3,18 @@
import
urllib,urllib2,re,xbmcplugin,xbmcgui,sys,xbmcaddon,base64,httplib,socket,time
from pyamf import remoting
+socket.setdefaulttimeout(30)
pluginhandle = int(sys.argv[1])
-xbox = xbmc.getCondVisibility("System.Platform.xbox")
-settings = xbmcaddon.Addon(id='plugin.video.wired_com')
-translation = settings.getLocalizedString
+addon = xbmcaddon.Addon(id='plugin.video.wired_com')
+translation = addon.getLocalizedString
-maxBitRate=settings.getSetting("maxBitRate")
-forceViewMode=settings.getSetting("forceViewMode")
+maxBitRate=addon.getSetting("maxBitRate")
+forceViewMode=addon.getSetting("forceViewMode")
if forceViewMode=="true":
forceViewMode=True
else:
forceViewMode=False
-viewMode=str(settings.getSetting("viewMode"))
+viewMode=str(addon.getSetting("viewMode"))
qual=[512000,1024000,2048000,3072000,4096000,5120000]
maxBitRate=qual[int(maxBitRate)]
@@ -22,12 +22,12 @@ maxBitRate=qual[int(maxBitRate)]
def index():
addDir("Latest","http://www.wired.com/video/",'listVideos',"")
content = getUrl("http://www.wired.com/video/")
- content = content[content.find("<li class='bc_topics
bc_otherChannels'>"):]
+ content = content[content.find('<li class="bc_topics
bc_otherChannels">'):]
content = content[:content.find("</div>")]
match=re.compile('<li><a href="(.+?)">(.+?)</a></li>',
re.DOTALL).findall(content)
for url,title in match:
if title!="Nebula":
- addDir(title,url,'listVideos',"")
+ addDir(title,"http://www.wired.com"+url,'listVideos',"")
xbmcplugin.endOfDirectory(pluginhandle)
if forceViewMode==True:
xbmc.executebuiltin('Container.SetViewMode('+viewMode+')')
@@ -39,17 +39,17 @@ def listVideos(url):
spl=content.split('<div class="lineupThumb">')
for i in range(1,len(spl),1):
entry=spl[i]
- match=re.compile("_popDesc_1' class='bc_popDesc'>(.+?)</div>",
re.DOTALL).findall(entry)
+ match=re.compile('_popDesc_1" class="bc_popDesc">(.+?)</div>',
re.DOTALL).findall(entry)
desc=""
if len(match)>0:
desc=match[0]
desc=cleanTitle(desc)
- match=re.compile("alt='(.+?)'", re.DOTALL).findall(entry)
+ match=re.compile('alt="(.+?)"', re.DOTALL).findall(entry)
title=match[0]
title=cleanTitle(title)
- match=re.compile("<div id='bc_(.+?)_", re.DOTALL).findall(entry)
+ match=re.compile('<div id="bc_(.+?)_', re.DOTALL).findall(entry)
id=match[0]
- match=re.compile("_thumbUrl_1' class='bc_popDesc'>(.+?)</div>",
re.DOTALL).findall(entry)
+ match=re.compile('_thumbUrl_1" class="bc_popDesc">(.+?)</div>',
re.DOTALL).findall(entry)
thumb=""
thumb=""