The branch, frodo has been updated
       via  69284276527e4b98618afbee128d91e0c141a3ad (commit)
      from  0f268c77c59f2fa1c1fce69f3254dcb84c7bee6f (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=69284276527e4b98618afbee128d91e0c141a3ad

commit 69284276527e4b98618afbee128d91e0c141a3ad
Author: beenje <bee...@xbmc.org>
Date:   Sun May 19 14:03:42 2013 +0200

    [plugin.video.svtplay] updated to version 3.3.2

diff --git a/plugin.video.svtplay/addon.xml b/plugin.video.svtplay/addon.xml
index 76198db..457b71e 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.1"
+       version="3.3.2"
        provider-name="nilzen">
   <requires>
     <import addon="script.module.parsedom" version="1.2.0"/>
@@ -18,5 +18,8 @@
     <description lang="sv">Med denna addon kan du strömma innehåll från SVT 
Play (svtplay.se).</description>
     <disclaimer>This is an unofficial addon and it is not supported or 
maintained by SVT. 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>
+    <website>https://github.com/nilzen/xbmc-svtplay</website>
+    <source>https://github.com/nilzen/xbmc-svtplay</source>
+    <forum>http://forum.xbmc.org/showthread.php?tid=67110</forum>
   </extension>
 </addon>
diff --git a/plugin.video.svtplay/changelog.txt 
b/plugin.video.svtplay/changelog.txt
index e6841d0..8aa175b 100644
--- a/plugin.video.svtplay/changelog.txt
+++ b/plugin.video.svtplay/changelog.txt
@@ -1,3 +1,7 @@
+Version 3.3.2
+-------------
+- Disable "Öppet Arkiv"
+
 Version 3.3.1
 -------------
 - Fix broken listing due to site changes (khoda)
diff --git a/plugin.video.svtplay/default.py b/plugin.video.svtplay/default.py
index a5836be..ad4857c 100644
--- a/plugin.video.svtplay/default.py
+++ b/plugin.video.svtplay/default.py
@@ -149,6 +149,11 @@ def viewLatest(mode,page,index):
 
 
 def viewCategory(url,page,index):
+  if url == svt.URL_TO_OA:
+    dialog = xbmcgui.Dialog()
+    dialog.ok("SVT Play", localize(30107))
+    viewStart()
+    return 
   createDirectory(url,page,index,MODE_CATEGORY,MODE_PROGRAM)
 
 
diff --git a/plugin.video.svtplay/resources/language/English/strings.xml 
b/plugin.video.svtplay/resources/language/English/strings.xml
index d2deb2d..6caeb99 100644
--- a/plugin.video.svtplay/resources/language/English/strings.xml
+++ b/plugin.video.svtplay/resources/language/English/strings.xml
@@ -16,6 +16,7 @@
   <string id="30104">Programs</string>
   <string id="30105">Episodes</string>
   <string id="30106">Clips</string>
+  <string id="30107">Install the Öppet Arkiv addon to view these 
programs</string>
   <string id="30500">Debug</string>
   <string id="30501">Show subtitles</string>
   <string id="30502">Group programs in A-Ö by first character</string>
diff --git a/plugin.video.svtplay/resources/language/Swedish/strings.xml 
b/plugin.video.svtplay/resources/language/Swedish/strings.xml
index fa59714..c5a7906 100644
--- a/plugin.video.svtplay/resources/language/Swedish/strings.xml
+++ b/plugin.video.svtplay/resources/language/Swedish/strings.xml
@@ -12,10 +12,11 @@
   <string id="30100">Detta program är endast tillgängligt på 
www.svtplay.se</string>
   <string id="30101">Visa fler...</string>
   <string id="30102">Sök efter:</string>
-  <string id="30103">Sökningen gav inga räffar</string>
+  <string id="30103">Sökningen gav inga träffar</string>
   <string id="30104">Program</string>
   <string id="30105">Avsnitt</string>
   <string id="30106">Klipp</string>
+  <string id="30107">Installera Öppet Arkiv tillägget för att se dessa 
program</string>
   <string id="30500">Debug</string>
   <string id="30501">Visa undertexter</string>
   <string id="30502">Gruppera program i A-Ö efter första bokstav</string>
diff --git a/plugin.video.svtplay/resources/lib/helper.py 
b/plugin.video.svtplay/resources/lib/helper.py
index bc019b2..a1e4417 100644
--- a/plugin.video.svtplay/resources/lib/helper.py
+++ b/plugin.video.svtplay/resources/lib/helper.py
@@ -15,7 +15,7 @@ def getPage(url):
     return result["content"]
 
   if result["status"] == 500:
-    common.log("redirect url: %s" &result["new_url"])
+    common.log("redirect url: %s" %result["new_url"])
     common.log("header: %s" %result["header"])
     common.log("content: %s" %result["content"])
     return None
diff --git a/plugin.video.svtplay/resources/lib/svt.py 
b/plugin.video.svtplay/resources/lib/svt.py
index 48d7e45..61712c5 100644
--- a/plugin.video.svtplay/resources/lib/svt.py
+++ b/plugin.video.svtplay/resources/lib/svt.py
@@ -19,7 +19,7 @@ URL_TO_LATEST_NEWS = "?tab=news&sida=1"
 URL_TO_RECOMMENDED = "?tab=recommended&sida=1"
 URL_TO_SEARCH = "/sok?q="
 URL_TO_LIVE = "/ajax/live"
-
+URL_TO_OA = "/kategorier/oppetarkiv"
 JSON_SUFFIX = "?output=json"
 
 CLASS_SHOW_MORE_BTN = "[^\"']*playShowMoreButton[^\"']*"

-----------------------------------------------------------------------

Summary of changes:
 plugin.video.svtplay/addon.xml                     |    5 ++++-
 plugin.video.svtplay/changelog.txt                 |    4 ++++
 plugin.video.svtplay/default.py                    |    5 +++++
 .../resources/language/English/strings.xml         |    1 +
 .../resources/language/Swedish/strings.xml         |    3 ++-
 plugin.video.svtplay/resources/lib/helper.py       |    2 +-
 plugin.video.svtplay/resources/lib/svt.py          |    2 +-
 7 files changed, 18 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to