The branch, frodo has been updated
       via  5b0e53be5a09d33329834ea418f4d48d8447327e (commit)
      from  7e106fc6fb7b6937ef6c8a134d0a01ec3498a7fa (commit)

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

commit 5b0e53be5a09d33329834ea418f4d48d8447327e
Author: beenje <[email protected]>
Date:   Tue Oct 22 22:54:01 2013 +0200

    [plugin.video.svtplay] updated to version 3.3.4

diff --git a/plugin.video.svtplay/addon.xml b/plugin.video.svtplay/addon.xml
index ef861a6..fc99801 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.3"
+       version="3.3.4"
        provider-name="nilzen">
   <requires>
     <import addon="script.module.parsedom" version="1.2.0"/>
@@ -21,6 +21,5 @@
     <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>
-    <broken>XBMC does not support SVT's encrypted video streams</broken>
   </extension>
 </addon>
diff --git a/plugin.video.svtplay/changelog.txt 
b/plugin.video.svtplay/changelog.txt
index cbddd4b..399027a 100644
--- a/plugin.video.svtplay/changelog.txt
+++ b/plugin.video.svtplay/changelog.txt
@@ -1,3 +1,7 @@
+Version 3.3.4
+-------------
+- Hide live streams on the start page and re-enable addon in repository
+
 Version 3.3.3
 -------------
 - Fix broken listing due to site changes (khoda)
diff --git a/plugin.video.svtplay/default.py b/plugin.video.svtplay/default.py
index cec36a5..d7741f7 100644
--- a/plugin.video.svtplay/default.py
+++ b/plugin.video.svtplay/default.py
@@ -7,7 +7,7 @@ import xbmc
 import xbmcgui
 import xbmcaddon
 import xbmcplugin
-import CommonFunctions
+import CommonFunctions as common
 import os
 import resources.lib.bestofsvt as bestof
 import resources.lib.helper as helper
@@ -35,53 +35,52 @@ CURR_DIR_ITEMS = 0
 
 pluginHandle = int(sys.argv[1])
 
-settings = xbmcaddon.Addon()
-localize = settings.getLocalizedString
+addon = xbmcaddon.Addon()
+localize = addon.getLocalizedString
 
-common = CommonFunctions
-common.plugin = "SVT Play 3"
+common.plugin = addon.getAddonInfo('name') + ' ' + 
addon.getAddonInfo('version')
 
 # Get and set settings
 common.dbg = False
-if settings.getSetting('debug') == "true":
+if addon.getSetting('debug') == "true":
   common.dbg = True
 
 HLS_STRIP = False
-if settings.getSetting("hlsstrip") == "true":
+if addon.getSetting("hlsstrip") == "true":
     HLS_STRIP = True
 
 FULL_PROGRAM_PARSE = False
-if settings.getSetting("fullparse") == "true":
+if addon.getSetting("fullparse") == "true":
   FULL_PROGRAM_PARSE = True
 
 HIDE_SIGN_LANGUAGE = False
-if settings.getSetting("hidesignlanguage") == "true":
+if addon.getSetting("hidesignlanguage") == "true":
   HIDE_SIGN_LANGUAGE = True 
 SHOW_SUBTITLES = False
-if settings.getSetting("showsubtitles") == "true":
+if addon.getSetting("showsubtitles") == "true":
   SHOW_SUBTITLES = True
 
 USE_ALPHA_CATEGORIES = False
-if settings.getSetting("alpha") == "true":
+if addon.getSetting("alpha") == "true":
   USE_ALPHA_CATEGORIES = True
 
-MAX_DIR_ITEMS = int(float(settings.getSetting("diritems")))
+MAX_DIR_ITEMS = int(float(addon.getSetting("diritems")))
 
 BW_SELECT = False
-if settings.getSetting("bwselect") == "true":
+if addon.getSetting("bwselect") == "true":
   BW_SELECT = True
 
-LOW_BANDWIDTH  = int(float(settings.getSetting("bandwidth")))
+LOW_BANDWIDTH  = int(float(addon.getSetting("bandwidth")))
 HIGH_BANDWIDTH = svt.getHighBw(LOW_BANDWIDTH)
 LOW_BANDWIDH   = LOW_BANDWIDTH
 
 def viewStart():
 
-  addDirectoryItem(localize(30008), { "mode": MODE_CHANNELS })
+  #addDirectoryItem(localize(30008), { "mode": MODE_CHANNELS })
   addDirectoryItem(localize(30000), { "mode": MODE_A_TO_O })
   addDirectoryItem(localize(30001), { "mode": MODE_CATEGORIES })
   addDirectoryItem(localize(30005), { "mode": MODE_RECOMMENDED, "page": 1 })
-  addDirectoryItem(localize(30002), { "mode": MODE_LIVE })
+  #addDirectoryItem(localize(30002), { "mode": MODE_LIVE })
   addDirectoryItem(localize(30003), { "mode": MODE_LATEST, "page": 1 })
   addDirectoryItem(localize(30004), { "mode": MODE_LATEST_NEWS, "page": 1 })
   addDirectoryItem(localize(30006), { "mode": MODE_SEARCH })
@@ -605,6 +604,7 @@ def getStream(url):
   f = urllib.urlopen(url)
   lines = f.readlines()
   
+  hlsurl = ''
   marker = "#EXT-X-STREAM-INF"
   found = False
 

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

Summary of changes:
 plugin.video.svtplay/addon.xml     |    3 +--
 plugin.video.svtplay/changelog.txt |    4 ++++
 plugin.video.svtplay/default.py    |   32 ++++++++++++++++----------------
 3 files changed, 21 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to