The branch, frodo has been updated
       via  08cf7111ed10df5011af64b4f99276bff162a1d4 (commit)
       via  529e6971a0e8c37525fa180ed2332fa52405eae2 (commit)
      from  0c35d959d5346394b4e7b002262488cce4ab8532 (commit)

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

commit 08cf7111ed10df5011af64b4f99276bff162a1d4
Author: sphere <[email protected]>
Date:   Mon Mar 24 10:36:58 2014 +0100

    [plugin.video.mlslive] updated to version 1.0.7

diff --git a/plugin.video.mlslive/addon.xml b/plugin.video.mlslive/addon.xml
index d0a8750..8c4c274 100644
--- a/plugin.video.mlslive/addon.xml
+++ b/plugin.video.mlslive/addon.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.mlslive" name="MLS Live" version="1.0.6" 
provider-name="Micah Galizia">
+<addon id="plugin.video.mlslive" name="MLS Live" version="1.0.7" 
provider-name="Micah Galizia">
   <requires>
     <import addon="xbmc.python"   version="2.1.0"/>
   </requires>
diff --git a/plugin.video.mlslive/changelog.txt 
b/plugin.video.mlslive/changelog.txt
index c1a1d5a..95edfaa 100644
--- a/plugin.video.mlslive/changelog.txt
+++ b/plugin.video.mlslive/changelog.txt
@@ -1,3 +1,8 @@
+[B]Version 1.0.7[/B]
+
+- fix early week roll-over in timezones larger than GMT-5 (eg: Australia)
+- remove useless call to configuration webservice
+
 [B]Version 1.0.6[/B]
 
 - fix use of undefined variable
diff --git a/plugin.video.mlslive/mlslive.py b/plugin.video.mlslive/mlslive.py
index 5328642..4546be1 100644
--- a/plugin.video.mlslive/mlslive.py
+++ b/plugin.video.mlslive/mlslive.py
@@ -77,23 +77,50 @@ class MLSLive:
         return False
 
 
+    def getTimeOffset(self):
+        
+        req = urllib2.Request(self.CED_CONFIG)
+
+        try:
+            resp = urllib2.urlopen(req)
+        except:
+            return None
+
+        cfg_xml = resp.read()
+        
+        try:
+            dom = xml.dom.minidom.parseString(cfg_xml)
+        except:
+            return None
+
+        result_node = dom.getElementsByTagName('result')[0]
+        auth_node = result_node.getElementsByTagName('estOffset')[0]
+
+        return int(auth_node.firstChild.nodeValue)
+
+
     def getCurrentWeekURI(self):
         """
         Get the URI for the current games for the current week.
-        
+
         @return a string containing the uri or None on error
         """
 
-        opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(self.jar))
-        try:
-            resp = opener.open(self.CED_CONFIG)
-        except:
-            print "Unable to get configuration"
-            return None
+        # first get UTC time
+        mls_dt = datetime.datetime.utcnow()
+
+        # get the offset from UTC of the MLS listings. Default to zero if
+        # something goes wrong
+        hr_offset = -self.getTimeOffset() 
+        if hr_offset == None:
+            hr_offset = 0
 
-        today = datetime.date.today()
+        # add the listing offset to UTC time to get the current league time
+        td = datetime.timedelta(hours=hr_offset)
+        mls_dt += td
 
-        week = today + datetime.timedelta(days=-today.weekday())
+        # move back to the start of the game week
+        week = mls_dt + datetime.timedelta(days=-mls_dt.weekday())
         return  self.GAMES_PAGE_PREFIX + week.strftime("%Y-%m-%d") + 
self.GAMES_PAGE_SUFFIX
 
 

http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=529e6971a0e8c37525fa180ed2332fa52405eae2

commit 529e6971a0e8c37525fa180ed2332fa52405eae2
Author: sphere <[email protected]>
Date:   Mon Mar 24 10:33:25 2014 +0100

    [plugin.video.jupiterbroadcasting] updated to version 3.0.4

diff --git a/plugin.video.jupiterbroadcasting/README.md 
b/plugin.video.jupiterbroadcasting/README.md
index 7bf45df..66f442f 100644
--- a/plugin.video.jupiterbroadcasting/README.md
+++ b/plugin.video.jupiterbroadcasting/README.md
@@ -1,39 +1,49 @@
-Jupiter Broadcasting XBMC Addon
-===============================
+# Jupiter Broadcasting XBMC Addon
+
 Watch shows from the [Jupiter Broadcasting](http://jupiterbroadcasting.com) 
network in [XBMC](http://xbmc.org/).
 
-Shows
------
+
+## Shows
+
 * [Live Show](http://jblive.tv)
-* Linux Action Show
-* TechSNAP
-* STOked
-* TORked
-* SciByte
-* In Depth Look
-* FauxShow
-* Jupiter@Nite
-* The MMOrgue
-* LOTSO
-* Unfiltered
-* Coder Radio
-* Beer Is Tasty
-* Jupiter Files
-* Plan B
-
-Instructions
-------------
-1. Download the addon from the official XBMC Addon Repository
-2. Visit Video Addons, configure and load up Jupiter Broadcasting
-
-Development
------------
+* [Linux Action Show](http://www.jupiterbroadcasting.com/show/linuxactionshow/)
+* [BSD Now](http://www.jupiterbroadcasting.com/show/bsdnow/)
+* [Coder Radio](http://www.jupiterbroadcasting.com/show/coderradio/)
+* [Linux Unplugged](http://www.jupiterbroadcasting.com/show/linuxun/)
+* [TechSNAP](http://www.jupiterbroadcasting.com/show/techsnap/)
+* [FauxShow](http://www.jupiterbroadcasting.com/show/fauxshow/)
+* [Plan B](http://www.jupiterbroadcasting.com/show/planb/)
+* [SciByte](http://www.jupiterbroadcasting.com/show/scibyte/)
+* [Unfilter](http://www.jupiterbroadcasting.com/show/unfilter/)
+
+## Archive
+
+* [STOked](http://www.jupiterbroadcasting.com/show/stoked/)
+* [TORked](http://www.jupiterbroadcasting.com/show/torked/)
+* [In Depth Look](http://www.jupiterbroadcasting.com/show/indepthlook/)
+* [Jupiter@Nite](http://www.jupiterbroadcasting.com/show/nite/)
+* [MMOrgue](http://www.jupiterbroadcasting.com/show/mmorgue/)
+* [LOTSO](http://www.jupiterbroadcasting.com/show/legend-of-the-stoned-owl/)
+* [Beer Is Tasty](http://www.jupiterbroadcasting.com/show/beeristasty/)
+* [Jupiter Files](http://www.jupiterbroadcasting.com/?s=%22jupiter+files%22)
+
+
+## Install
+
+1. Visit Video Addons
+2. Select Get More...
+3. Find and select the Jupiter Broadcasting addon
+
+
+## Development
+
 ```bash
 $ cd ~/.xbmc/addons/
 $ git clone [email protected]:RobLoach/plugin.video.jupiterbroadcasting.git
 ```
 
-About
------
+
+## About
+
 * Author: [Rob Loach](http://robloach.net)
 * Source: 
[GitHub](http://github.com/RobLoach/plugin.video.jupiterbroadcasting/)
diff --git a/plugin.video.jupiterbroadcasting/addon.xml 
b/plugin.video.jupiterbroadcasting/addon.xml
index e680a7a..89aabed 100644
--- a/plugin.video.jupiterbroadcasting/addon.xml
+++ b/plugin.video.jupiterbroadcasting/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.jupiterbroadcasting"
        name="Jupiter Broadcasting"
-       version="3.0.0"
+       version="3.0.4"
        provider-name="Rob Loach">
   <requires>
     <import addon="xbmc.python" version="2.1.0"/>
diff --git a/plugin.video.jupiterbroadcasting/changelog.txt 
b/plugin.video.jupiterbroadcasting/changelog.txt
index 4203207..51dcde0 100644
--- a/plugin.video.jupiterbroadcasting/changelog.txt
+++ b/plugin.video.jupiterbroadcasting/changelog.txt
@@ -1,3 +1,10 @@
+[B]Version 3.0.4: March 23rd, 2014[/B]
+- Updated documentation
+
+[B]Version 3.0.1: September 15th, 2013[/B]
+- New Show: BSD Now
+- Ammended language numbering to match system
+
 [B]Version 3.0.0: August 21st, 2013[/B]
 - Direct support for XBMC Frodo
 
diff --git a/plugin.video.jupiterbroadcasting/default.py 
b/plugin.video.jupiterbroadcasting/default.py
index 89d97ae..4507441 100644
--- a/plugin.video.jupiterbroadcasting/default.py
+++ b/plugin.video.jupiterbroadcasting/default.py
@@ -23,7 +23,7 @@ def CATEGORIES():
 
     # Linux Action Show
     shows[__language__(30000)] = {
-        'feed': 'http://feeds.feedburner.com/computeractionshowvideo',
+        'feed': 'http://feeds.feedburner.com/linuxashd?format=xml',
         'feed-low': 
'http://feeds.feedburner.com/linuxactionshowipodvid?format=xml',
         'feed-audio': 
'http://feeds2.feedburner.com/TheLinuxActionShowOGG?format=xml',
         'image': os.path.join(__settings__.getAddonInfo('path'), 'resources', 
'media', 'linuxactionshow.jpg'),
@@ -180,7 +180,15 @@ def CATEGORIES():
         'plot': __language__(30219),
         'genre': 'Technology'
     }
-
+    # BSD Now
+    shows[__language__(30020)] = {
+        'feed': 'http://feeds.feedburner.com/BsdNowHd?format=xml',
+        'feed-low': 'http://feeds.feedburner.com/BsdNowMobile?format=xml',
+        'feed-audio': 'http://feeds.feedburner.com/BsdNowOgg?format=xml',
+        'image': os.path.join(__settings__.getAddonInfo('path'), 'resources', 
'media', 'bsdnow.jpg'),
+        'plot': __language__(30220),
+        'genre': 'Technology'
+    }
     # Jupiter Broadcasting Live via the HLS/RTMP stream
     liveUrl = 
'http://videocdn-us.geocdn.scaleengine.net/jblive-iphone/live/jblive.stream/playlist.m3u8'
     if (quality == 1):
diff --git 
a/plugin.video.jupiterbroadcasting/resources/language/English/strings.xml 
b/plugin.video.jupiterbroadcasting/resources/language/English/strings.xml
index b40fe3c..26cd1d0 100644
--- a/plugin.video.jupiterbroadcasting/resources/language/English/strings.xml
+++ b/plugin.video.jupiterbroadcasting/resources/language/English/strings.xml
@@ -55,6 +55,9 @@
   <string id="30019">Linux Unplugged</string>
   <string id="30219">Cleans up after the sloppy seconds of the Linux Action 
Show.</string>
 
+  <string id="30020">BSD Now!</string>
+  <string id="30220">All things BSD</string>
+
   <!-- Settings -->
   <string id="30100">General</string>
   <string id="30101">Quality</string>

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

Summary of changes:
 plugin.video.jupiterbroadcasting/README.md         |   68 +++++++++++--------
 plugin.video.jupiterbroadcasting/addon.xml         |    2 +-
 plugin.video.jupiterbroadcasting/changelog.txt     |    7 ++
 plugin.video.jupiterbroadcasting/default.py        |   12 +++-
 .../resources/language/English/strings.xml         |    3 +
 .../resources/media/bsdnow.jpg                     |  Bin 0 -> 334190 bytes
 plugin.video.mlslive/addon.xml                     |    2 +-
 plugin.video.mlslive/changelog.txt                 |    5 ++
 plugin.video.mlslive/mlslive.py                    |   45 ++++++++++---
 9 files changed, 102 insertions(+), 42 deletions(-)
 create mode 100644 plugin.video.jupiterbroadcasting/resources/media/bsdnow.jpg


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to