The branch, eden has been updated
       via  8d927e593e695ff20833ed7ba35c88a1a54d2097 (commit)
      from  ed089a375449b0f26fc31c8836d02cfe47dd5c64 (commit)

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

commit 8d927e593e695ff20833ed7ba35c88a1a54d2097
Author: beenje <[email protected]>
Date:   Tue Aug 20 20:58:48 2013 +0200

    [plugin.video.mlbmc] updated to version 1.1.8

diff --git a/plugin.video.mlbmc/addon.xml b/plugin.video.mlbmc/addon.xml
index 2426bbc..8e7a188 100644
--- a/plugin.video.mlbmc/addon.xml
+++ b/plugin.video.mlbmc/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="plugin.video.mlbmc"
        name="MLBMC"
-       version="1.1.7"
+       version="1.1.8"
        provider-name="divingmule">
   <requires>
     <import addon="xbmc.python" version="2.0"/>
diff --git a/plugin.video.mlbmc/changelog.txt b/plugin.video.mlbmc/changelog.txt
index fd9f0bd..f127172 100644
--- a/plugin.video.mlbmc/changelog.txt
+++ b/plugin.video.mlbmc/changelog.txt
@@ -1,3 +1,6 @@
+Version 1.1.8
+fix archived games
+
 Version 1.1.7
 fix full count, mlb.com playlist
 
diff --git a/plugin.video.mlbmc/resources/mlbtv.py 
b/plugin.video.mlbmc/resources/mlbtv.py
index b9011d7..021cbf3 100644
--- a/plugin.video.mlbmc/resources/mlbtv.py
+++ b/plugin.video.mlbmc/resources/mlbtv.py
@@ -130,7 +130,7 @@ def mlbGame(event_id, full_count=False):
             }
     url = 
'https://mlb-ws.mlb.com/pubajaxws/bamrest/MediaService2_0/op-findUserVerifiedEvent/v-2.3?'
     headers = {'User-agent' : 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) 
Gecko/20100101 Firefox/19.0',
-               'Referer' : 
'http://mlb.mlb.com/shared/flash/mediaplayer/v4.3/R1/MediaPlayer4.swf?v=14'}
+               'Referer' : 
'http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R8/MediaPlayer4.swf?'}
     data = getRequest(url,urllib.urlencode(values),headers)
     if debug == "true":
         addon_log(data)
@@ -266,7 +266,7 @@ def 
getGameURL(name,event,content,session,cookieIp,cookieFp,scenario,live):
         url = 
'https://mlb-ws.mlb.com/pubajaxws/bamrest/MediaService2_0/op-findUserVerifiedEvent/v-2.3?'
     else:
         subject = 'LIVE_EVENT_COVERAGE'
-        url = 
'https://secure.mlb.com/pubajaxws/bamrest/MediaService2_0/op-findUserVerifiedEvent/v-2.1?'
+        url = 
'https://secure.mlb.com/pubajaxws/bamrest/MediaService2_0/op-findUserVerifiedEvent/v-2.3?'
     
     try:
         cookieFp = urllib.unquote(cookieFp)
@@ -386,28 +386,29 @@ def 
getGameURL(name,event,content,session,cookieIp,cookieFp,scenario,live):
             smil = get_smil(game_url.split('?')[0])
             rtmp = smil[0]
             playpath = ' Playpath='+smil[1]+'?'+game_url.split('?')[1]
+            if 'ondemand' in rtmp:
+                rtmp += ' 
app=ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6'+game_url.split('?')[1]
 
-
+        addon_log('Playpath: %s' %playpath)
         if name == 'full_count':
-            pageurl = (' 
pageUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R3/MP4.jsp?calendar_event_id=%s'
+            pageurl = (' 
pageUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R8/MP4.jsp?calendar_event_id=%s'
                        
'&content_id=&media_id=&view_key=&media_type=&source=FULLCOUNT&sponsor=FULLCOUNT&clickOrigin=&affiliateId='
                        % soup.find('event-id').string)
         elif 'mp3:' in game_url:
-            pageurl = (' 
pageUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R1/MP4.jsp?calendar_event_id='
+            pageurl = (' 
pageUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R8/MP4.jsp?calendar_event_id='
                        
'%s&content_id=%s&media_id=&view_key=&media_type=audio&source=MLB&sponsor=MLB&'
                        
'clickOrigin=Media+Grid&affiliateId=Media+Grid&feed_code=h&team=mlb'
                        %(soup.find('event-id').string, content))
         else:
-            pageurl = (' 
pageUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R4/MP4.jsp?calendar_event_id=%s&content_id='
+            pageurl = (' 
pageUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R8/MP4.jsp?calendar_event_id=%s&content_id='
                        
'&media_id=&view_key=&media_type=video&source=MLB&sponsor=MLB&clickOrigin=&affiliateId=&team=mlb'
                        % soup.find('event-id').string)
-        swfurl = ' 
swfUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R4/MediaPlayer4.swf 
swfVfy=1'
+        swfurl = ' 
swfUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.4/R8/MediaPlayer4.swf 
swfVfy=1'
         if live:
             swfurl += ' live=1'
         final_url = rtmp+playpath+pageurl+swfurl
-        if debug == "true":
-            addon_log( 'Name: '+name )
-            addon_log( 'final url: '+final_url )
+        addon_log( 'Name: '+name )
+        addon_log( 'final url: '+final_url )
         item = xbmcgui.ListItem(path=final_url)
         xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, item)
 

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

Summary of changes:
 plugin.video.mlbmc/addon.xml          |    2 +-
 plugin.video.mlbmc/changelog.txt      |    3 +++
 plugin.video.mlbmc/resources/mlbtv.py |   21 +++++++++++----------
 3 files changed, 15 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to