The branch, frodo has been updated
via baf4d3c0fd2e29a22675f7fc1bffb22bc20ac1aa (commit)
from c778cfd9e7ab300cb0213dc313956f57cfd47b07 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=baf4d3c0fd2e29a22675f7fc1bffb22bc20ac1aa
commit baf4d3c0fd2e29a22675f7fc1bffb22bc20ac1aa
Author: beenje <[email protected]>
Date: Wed Apr 17 19:49:43 2013 +0200
[plugin.video.svtplay] updated to version 3.3.1
diff --git a/plugin.video.svtplay/addon.xml b/plugin.video.svtplay/addon.xml
index 9c76319..76198db 100644
--- a/plugin.video.svtplay/addon.xml
+++ b/plugin.video.svtplay/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.svtplay"
name="SVT Play"
- version="3.3.0"
+ version="3.3.1"
provider-name="nilzen">
<requires>
<import addon="script.module.parsedom" version="1.2.0"/>
diff --git a/plugin.video.svtplay/changelog.txt
b/plugin.video.svtplay/changelog.txt
index 4271229..e6841d0 100644
--- a/plugin.video.svtplay/changelog.txt
+++ b/plugin.video.svtplay/changelog.txt
@@ -1,3 +1,7 @@
+Version 3.3.1
+-------------
+- Fix broken listing due to site changes (khoda)
+
Version 3.3.0
-------------
- Add possibility to set a fixed bandwidth for the plugin (linqcan)
diff --git a/plugin.video.svtplay/resources/lib/svt.py
b/plugin.video.svtplay/resources/lib/svt.py
index cb02ac5..48d7e45 100644
--- a/plugin.video.svtplay/resources/lib/svt.py
+++ b/plugin.video.svtplay/resources/lib/svt.py
@@ -64,7 +64,7 @@ def getLivePrograms():
"""
html = getPage(URL_TO_LIVE)
- container = common.parseDOM(html, "div", attrs = { "class": "svtUnit
svtNth-1"})[0]
+ container = common.parseDOM(html, "section", attrs = { "class": "svtUnit
svtNth-1"})[0]
lis = common.parseDOM(container, "li", attrs = { "class":
"[^\"']*svtMediaBlock[^\"']*" })
articles = []
@@ -76,7 +76,7 @@ def getLivePrograms():
if len(liveIcon) > 0:
- title = common.parseDOM(li, "h5")[0]
+ title = common.parseDOM(li, "h1")[0]
url = common.parseDOM(li, "a", ret = "href")[0]
thumbnail = common.parseDOM(li, "img", attrs = { "class":
"[^\"']*playBroadcastThumbnail[^\"']*" }, ret = "src")[0]
thumbnail = helper.prepareThumb(thumbnail)
@@ -262,7 +262,7 @@ def getArticles(url,page,tabname=None):
plot = plots[index]
aired = airtimes[index]
duration = durations[index]
- title = common.parseDOM(article,"h5")[0]
+ title = common.parseDOM(article,"h1")[0]
newarticle["url"] = common.parseDOM(article, "a",
attrs = { "class":
"[^\"']*[playLink|playAltLink][^\"']*" },
ret = "href")[0]
-----------------------------------------------------------------------
Summary of changes:
plugin.video.svtplay/addon.xml | 2 +-
plugin.video.svtplay/changelog.txt | 4 ++++
plugin.video.svtplay/resources/lib/svt.py | 6 +++---
3 files changed, 8 insertions(+), 4 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons