The branch, frodo has been updated via 06748c4826fe4ccde04e703e688abc589d432c8d (commit) from e8d312ac937f519c932e01a603cf7d816d148f19 (commit)
- Log ----------------------------------------------------------------- http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=06748c4826fe4ccde04e703e688abc589d432c8d commit 06748c4826fe4ccde04e703e688abc589d432c8d Author: beenje <bee...@xbmc.org> Date: Sun Mar 17 22:54:52 2013 +0100 [plugin.video.svtplay] updated to version 3.2.2 diff --git a/plugin.video.svtplay/addon.xml b/plugin.video.svtplay/addon.xml index b07b7bc..06af377 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.2.1" + version="3.2.2" 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 ac7e66d..4f2232d 100644 --- a/plugin.video.svtplay/changelog.txt +++ b/plugin.video.svtplay/changelog.txt @@ -1,3 +1,8 @@ +Version 3.2.2 +------------- +- Fix broken category listing due to site change (linqcan) +- Add program information for BestOfSvt.se (linqcan) + Version 3.2.1 ------------- - Fixed issue when hide sign language is enabled diff --git a/plugin.video.svtplay/default.py b/plugin.video.svtplay/default.py index 6dc1276..8f92ca5 100644 --- a/plugin.video.svtplay/default.py +++ b/plugin.video.svtplay/default.py @@ -56,8 +56,7 @@ if settings.getSetting("fullparse") == "true": HIDE_SIGN_LANGUAGE = False if settings.getSetting("hidesignlanguage") == "true": - HIDE_SIGN_LANGUAGE = True - + HIDE_SIGN_LANGUAGE = True SHOW_SUBTITLES = False if settings.getSetting("showsubtitles") == "true": SHOW_SUBTITLES = True @@ -275,7 +274,7 @@ def viewBestOfCategory(url): for show in shows: params["url"] = show["url"] - addDirectoryItem(show["title"], params, show["thumbnail"], False) + addDirectoryItem(show["title"], params, show["thumbnail"], False, False, show["info"]) def createDirectory(url,page,index,callertype,dirtype): diff --git a/plugin.video.svtplay/resources/lib/bestofsvt.py b/plugin.video.svtplay/resources/lib/bestofsvt.py index 16e0f00..6f49b58 100644 --- a/plugin.video.svtplay/resources/lib/bestofsvt.py +++ b/plugin.video.svtplay/resources/lib/bestofsvt.py @@ -45,7 +45,9 @@ def getShows(url): thumb = common.parseDOM(box, "img", ret = "src")[0] thumb = thumb.replace("/medium/", "/large/") title = common.parseDOM(box, "div", attrs = {"class":"image_info_1"})[0] - shows.append({"title":title,"url":href,"thumbnail":thumb}) + info = {} + info["plot"] = common.parseDOM(box, "img", ret = "title")[0] + shows.append({"title":title,"url":href,"thumbnail":thumb, "info": info}) return shows diff --git a/plugin.video.svtplay/resources/lib/svt.py b/plugin.video.svtplay/resources/lib/svt.py index 113a3c8..f803c83 100644 --- a/plugin.video.svtplay/resources/lib/svt.py +++ b/plugin.video.svtplay/resources/lib/svt.py @@ -123,7 +123,7 @@ def getCategories(): for li in lis: category = {} category["url"] = common.parseDOM(li, "a", ret = "href")[0] - title = common.parseDOM(li, "h2")[0] + title = common.parseDOM(li, "h3")[0] category["title"] = common.replaceHTMLCodes(title) categories.append(category) ----------------------------------------------------------------------- Summary of changes: plugin.video.svtplay/addon.xml | 2 +- plugin.video.svtplay/changelog.txt | 5 +++++ plugin.video.svtplay/default.py | 5 ++--- plugin.video.svtplay/resources/lib/bestofsvt.py | 4 +++- plugin.video.svtplay/resources/lib/svt.py | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) hooks/post-receive -- Plugins ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Xbmc-addons mailing list Xbmc-addons@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xbmc-addons