• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 22
[WIP] MLB.TV Boxee App port (developers needed!)
#46
Ok, now I see I'm not getting the url's for the live games. It's telling me I need a subscription, even for the so called free game Stare

theophile, could you run one of the test scripts from mlbviewer for me?

Assuming your mlbviewer directory is in your home:

Code:
$ cd ~/mlbviewer/test/
$ python mlbgameid.py 287385


The script will try to open mplayer and play the stream, in the console it will print "The game url parsed is: mms://..." and the mplayer command. Then copy the url to a .strm file, make sure not to copy the mplayer command, and see if it will play.

I would also like to try this with a live game. If you let me know ahead of time a game that you can test on I'll get you the game id to pass to mlbgameid.py. I don't think you can get the url until the game starts. Is that the way mlbtv.py works?
Reply
#47
I can, but it will be a little bit as I am at work. That said, I wanted to make sure you are aware that the current development version of mlbviewer is actuall the branch called "nexdef2010"

Code:
svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 nexdef2010

I don't think the current "mlbviewer" branch is working (could be wrong).

Also, it sounds like you could benefit from having a full account. Has the time come to take up donations for a developer account?
Reply
#48
I could throw a few bucks, it's only like 25$ for a month. Who's in?

http://mlb.mlb.com/mlb/subscriptions/ind...TVREDIRECT
Reply
#49
theophile Wrote:I can, but it will be a little bit as I am at work. That said, I wanted to make sure you are aware that the current development version of mlbviewer is actuall the branch called "nexdef2010"

Thanks, yeah that's what I've been working with.

Quote:Also, it sounds like you could benefit from having a full account. Has the time come to take up donations for a developer account?

It 'may' speed things up a little but, I don't think it's necessary as long as you guys can help.

Here are tonight's games.

Pittsburgh @ LA Dodgers 7:05 ET Game ID: 287415
Toronto @ Detroit FREE GAME 7:07 ET Game ID: 287414
Boston @ Minnesota 7:10 ET Game ID: 287416
Florida @ Philadelphia 7:10 ET Game ID: 287419
Houston @ Cincinnati 8:05 ET Game ID: 287413
Texas @ Oakland 8:05 ET Game ID: 287418
Milwaukee @ San Diego 8:10 ET Game ID: 287420
Colorado @ NY Mets 8:40 ET Game ID: 287417
LA Angels @ Chi White Sox 10:05 ET Game ID: 287412

Tomorrow's games.

NY Yankees @ Kansas City 7:05 ET Game ID: 287426
Pittsburgh @ LA Dodgers 7:05 ET Game ID: 287427
Baltimore @ Seattle 7:05 ET Game ID: 287432
Cleveland @ Tampa Bay 7:05 ET Game ID: 287434
Toronto @ Boston 7:07 ET Game ID: 287422
Florida @ Philadelphia 7:10 ET Game ID: 287430
Atlanta @ Washington FREE GAME 7:10 ET Game ID: 287435
Houston @ Cincinnati 8:05 ET Game ID: 287424
Texas @ Oakland 8:05 ET Game ID: 287429
Chi Cubs @ St. Louis 8:05 ET Game ID: 287433
Minnesota @ Detroit 8:10 ET Game ID: 287425
Milwaukee @ San Diego 8:10 ET Game ID: 287431
Colorado @ NY Mets 8:40 ET Game ID: 287428
LA Angels @ Chi White Sox 10:05 ET Game ID: 287423
San Francisco @ Arizona 10:15 ET Game ID: 287421

No hurry, I have some other stuff to figure out alsoEek
Reply
#50
divingmule Wrote:Thanks, yeah that's what I've been working with.

Okay. The main reason I mentioned it is that my "test" subdirectory doesn't have an mlbgameid.py.
Reply
#51
theophile Wrote:Okay. The main reason I mentioned it is that my "test" subdirectory doesn't have an mlbgameid.py.

Your right I looked at the source but then just dowloaded the tar fileConfused

Seems mlbgameid.py is now mlbgame.py or mlbgamed.py. Look like it needs more arguments than just the game id. Investigating further...
Reply
#52
divingmule Wrote:Your right I looked at the source but then just dowloaded the tar fileConfused

Seems mlbgameid.py is now mlbgame.py or mlbgamed.py. Look like it needs more arguments than just the game id. Investigating further...

You may find that the nexdef2010 branch gives you proper URLs.
Reply
#53
Glad to see its still being worked on, any chance to share the file we can try now on our ATV XBMC setup maybe a linkSmile

Thank you
Reply
#54
theophile, could you try the mlbgame.py without any arguments? Just cd to /test and enter
Code:
python mlbgame.py

and try with just an event id
Code:
python mlbgame.py 14-287385-2011-05-07

and with the event id and content id
Code:
python mlbgame.py 14-287385-2011-05-07 14560769

If all goes well, in the console it should print "url = ....." and "playpath =...."

Some games from Saturday
Chi Cubs @ Cincinnati Final Event: 14-287385-2011-05-07 Content: 14560769
Boston @ Minnesota Final Event: 14-287392-2011-05-07 Content: 14564825
Baltimore @ Tampa Bay Final Event: 14-287395-2011-05-07 Content: 14562101
Reply
#55
divingmule Wrote:theophile, could you try the mlbgame.py without any arguments? Just cd to /test and enter
Code:
python mlbgame.py
Code:
no sessionkey file found.
These are the cookies we have received so far :
0   :   <Cookie SESSION_1=wf_flowId%3D%3D%3Dregistration.wizard%7Ewf_c_id%3D%3D%3Dmlb%7Estage%3D%3D%3D3%7EflowId%3D%3D%3Dregistration.wizard for .mlb.com/>
Here are the headers of the page :
Server: Oracle-iPlanet-Web-Server/7.0
Date: Mon, 09 May 2011 23:43:11 GMT
Content-type: text/html;charset=utf-8
Set-cookie: SESSION_1=; Domain=.mlb.com; Path=/
Set-cookie: mlbunifieddata=8820296%7C49e5366289403e96849db058bde166da%7C1304984591399%7Cttemp; Domain=.mlb.com; Path=/
Set-cookie: appacc=mlb; Domain=.mlb.com; Expires=Tue, 08-May-2012 23:43:11 GMT; Path=/
Set-cookie: fprt=MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9; Domain=.mlb.com; Expires=Tue, 08-May-2012 23:43:11 GMT; Path=/
Set-cookie: ipid=8820296; Domain=.mlb.com; Expires=Tue, 08-May-2012 23:43:11 GMT; Path=/
Transfer-encoding: chunked


These are the cookies we have received so far :
0   :   <Cookie SESSION_1= for .mlb.com/>
1   :   <Cookie appacc=mlb for .mlb.com/>
2   :   <Cookie fprt=MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9 for .mlb.com/>
3   :   <Cookie ipid=8820296 for .mlb.com/>
4   :   <Cookie mlbunifieddata=8820296%7C49e5366289403e96849db058bde166da%7C1304984591399%7Cttemp for .mlb.com/>
Logged in successfully!
[('SESSION_1', '', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('mlbunifieddata', '8820296%7C49e5366289403e96849db058bde166da%7C1304984591399%7Cttemp', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('appacc', 'mlb', {'path': '/', 'domain': '.mlb.com', 'expires': 1336520591, 'version': '0'}, {}), ('fprt', 'MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9', {'path': '/', 'domain': '.mlb.com', 'expires': 1336520591, 'version': '0'}, {}), ('ipid', '8820296', {'path': '/', 'domain': '.mlb.com', 'expires': 1336520591, 'version': '0'}, {})]
{'ipid': '8820296', 'SESSION_1': '', 'appacc': 'mlb', 'fprt': 'MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9', 'mlbunifieddata': '8820296%7C49e5366289403e96849db058bde166da%7C1304984591399%7Cttemp'}
ipid = 8820296 fingerprint = MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9
[('SESSION_1', 'mEntNum%3D%3D%3D2%7EmCatCode%3D%3D%3Dmlb_media_mlb_lg%7EmBitRate%3D%3D%3D350%7EmType%3D%3D%3Dvideo%7EmUrl%3D%3D%3Dhttp%3A%2F%2Fwww.mlb.com%2Fshared%2Fmedia%2FmediaMetaFile.jsp%3Ff%3Dwindows%26o%3D1800%26d%3D3750%26arl%3Dmms%253A%252F%252Fa102.v10869f.c10869.g.vm.akamaistream.net%252F7%252F102%252F10869%252Fv0004%252Fmlb.download.akamai.com%252F10869%252F2006%252Fmlb_%2521%252Ftv%252Farchive08%252F082806_chnpit_tv_351.wmv%253Fauth%253Dcb.aHcWdwbhcLapd6dWc_aQaJd6bYdoaKbN-bnYhWn-O-bwU-YglxhLcy-jbmamllgj9jamfkemfj8kkjclbm9kcllj8mgmjl6jdja%2526aifp%253Dv0004%2526WMCache%253D0%2526ct5%253D09-May-11%2526ct6%253D64.209.36.60%2526ct7%253D0%253Anull%2526ct8%253D1%2526ct1%253Dmlb%2526ct3%253D8820296%2526ct4%253Dmlb%7EmEnt1%3D%3D%3DMLBALL%7EmEncoding%3D%3D%3Dwindows%7EmEnt0%3D%3D%3DMLBVIDEOPOSTSEA', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('ftmu', 'dkq7ZoirNOUY06BfyRjGZ5Pr6n8%3D', {'path': '/', 'domain': '.mlb.com', 'expires': 1305243792, 'version': '0'}, {})]
ipid = 8820296 fingerprint = MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9
session-key = dkq7ZoirNOUY06BfyRjGZ5Pr6n8%3D
no session-key found in reply
Event-id = 164-251362-2009-03-16 and content-id = 3977781
<?xml version="1.0" encoding="UTF-8"?><user-verified-media-response xmlns="http://services.bamnetworks.com/media/types/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><status-code>-1000</status-code></user-verified-media-response>
Traceback (most recent call last):
  File "mlbgame.py", line 325, in <module>
    raise Exception,error_str
Exception: Requested Media Not Found


Quote:and try with just an event id
Code:
python mlbgame.py 14-287385-2011-05-07
Code:
5-2011-05-07
These are the cookies we have received so far :
0   :   <Cookie appacc=mlb for .mlb.com/>
1   :   <Cookie fprt=MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9 for .mlb.com/>
2   :   <Cookie ipid=8820296 for .mlb.com/>
3   :   <Cookie NSC_BPIP=000006552600000655351159468204000002355200153713870 for secure.mlb.com/>
Here are the headers of the page :
Server: Oracle-iPlanet-Web-Server/7.0
Date: Mon, 09 May 2011 23:46:14 GMT
Content-type: text/html;charset=ISO-8859-1
Set-cookie: SESSION_1=; Domain=.mlb.com; Path=/
Transfer-encoding: chunked


These are the cookies we have received so far :
0   :   <Cookie SESSION_1= for .mlb.com/>
1   :   <Cookie appacc=mlb for .mlb.com/>
2   :   <Cookie fprt=MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9 for .mlb.com/>
3   :   <Cookie ipid=8820296 for .mlb.com/>
4   :   <Cookie NSC_BPIP=000006552600000655351159468204000002355200153713870 for secure.mlb.com/>
Traceback (most recent call last):
  File "mlbgame.py", line 191, in <module>
    raise Exception,page
Exception:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link href="/style/global.css" rel="stylesheet" type="text/css"/>
    <link href="/style/mlb.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
        body {background:#fff;}
        .errorBlock {width:600px; margin:50px auto; font:normal 16px Arial,Helvetica,sans-serif; text-align:center;}
        .errorBlock h1 {font:normal 32px Arial,Helvetica,sans-serif; color:#999; }
    </style>
    <script type="text/javascript">
        var isBeta=false;
        function tailErrors() {var win=window.open("/core/taillogs.jsp?b="+isBeta+"#bottom","","status=0, statusbar=0, location=0, directories=0, resizeable=1, resizable=1, scrolling=1, scroll=1, scrollbars=1, height=600, width=800");}
    </script>
</head>

<body>

<form action="#" onsubmit="return false">
<div class="errorBlock">

    
        <a href="http://mlb.mlb.com/index.jsp"><img src="/images/logo_mlb_lg.gif" width="370" height="90" border="0" alt="MLB.com" /></a>
        <p><strong>We are sorry, but you have reached this page in error.</strong></p>
        <p>Please try the action again and, if the problem continues, contact Customer Service.</p>

    

    

</div>
</form>

</body>
</html>

Quote:and with the event id and content id
Code:
python mlbgame.py 14-287385-2011-05-07 14560769
Code:
5-2011-05-07 14560769
These are the cookies we have received so far :
0   :   <Cookie SESSION_1= for .mlb.com/>
1   :   <Cookie appacc=mlb for .mlb.com/>
2   :   <Cookie fprt=MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9 for .mlb.com/>
3   :   <Cookie ipid=8820296 for .mlb.com/>
Here are the headers of the page :
Server: Oracle-iPlanet-Web-Server/7.0
Date: Mon, 09 May 2011 23:44:31 GMT
Content-type: text/html;charset=ISO-8859-1
Set-cookie: SESSION_1=; Domain=.mlb.com; Path=/
Transfer-encoding: chunked


These are the cookies we have received so far :
0   :   <Cookie SESSION_1= for .mlb.com/>
1   :   <Cookie appacc=mlb for .mlb.com/>
2   :   <Cookie fprt=MTMwNDk4NDU5MTM5MHxlbWFpbC1wYXNzd29yZHw4aFhIcWVHR0l0QmVCaWQxeWxUK3RTcFdXY0U9 for .mlb.com/>
3   :   <Cookie ipid=8820296 for .mlb.com/>
Traceback (most recent call last):
  File "mlbgame.py", line 191, in <module>
    raise Exception,page
Exception:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link href="/style/global.css" rel="stylesheet" type="text/css"/>
    <link href="/style/mlb.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
        body {background:#fff;}
        .errorBlock {width:600px; margin:50px auto; font:normal 16px Arial,Helvetica,sans-serif; text-align:center;}
        .errorBlock h1 {font:normal 32px Arial,Helvetica,sans-serif; color:#999; }
    </style>
    <script type="text/javascript">
        var isBeta=false;
        function tailErrors() {var win=window.open("/core/taillogs.jsp?b="+isBeta+"#bottom","","status=0, statusbar=0, location=0, directories=0, resizeable=1, resizable=1, scrolling=1, scroll=1, scrollbars=1, height=600, width=800");}
    </script>
</head>

<body>

<form action="#" onsubmit="return false">
<div class=
"errorBlock">

    
        <a href="http://mlb.mlb.com/index.jsp"><img src="/images/logo_mlb_lg.gif" width="370" height="90" border="0" alt="MLB.com" /></a>
        <p><strong>We are sorry, but you have reached this page in error.</strong></p>
        <p>Please try the action again and, if the problem continues, contact Customer Service.</p>

    

    

</div>
</form>

</body>
</html>

Quote:If all goes well, in the console it should print "url = ....." and "playpath =...."

Some games from Saturday
Chi Cubs @ Cincinnati Final Event: 14-287385-2011-05-07 Content: 14560769
Boston @ Minnesota Final Event: 14-287392-2011-05-07 Content: 14564825
Baltimore @ Tampa Bay Final Event: 14-287395-2011-05-07 Content: 14562101
I don't fare any better with the current live games. I'll ping the mlbviewer forum to see what's up.
Reply
#56
Humm, looks like the first time you ran the script the log in was successful the next two times it failed and the script exited, I think because you are still logged in.

Could you comment out lines 187 through 191 in the mlbgame.py. Just put a # at the beginning of each line. That should let the script continue without the login check. Then try the script again with an event and content id.
Reply
#57
All right, got it straight. There's been some funkiness this season with MLB.TV authentication and the way mlbviewer uses cookies. It's fixed for the main player but not the test tools. So here's the output now that it's ironed out. Comin' at ya in two parts.
Code:
theophile@monkey:~/Desktop/Downloads/nexdef2010/test$ ./mlbgame.py 14-287416-2011-05-09 14408155
These are the cookies we have received so far :
0   :   <Cookie SESSION_1=wf_flowId%3D%3D%3Dregistration.wizard%7Ewf_c_id%3D%3D%3Dmlb%7Estage%3D%3D%3D3%7EflowId%3D%3D%3Dregistration.wizard for .mlb.com/>
Here are the headers of the page :
Server: Oracle-iPlanet-Web-Server/7.0
Date: Tue, 10 May 2011 03:41:29 GMT
Content-type: text/html;charset=utf-8
Set-cookie: SESSION_1=; Domain=.mlb.com; Path=/
Set-cookie: mlbunifieddata=8820296%7C863b4b3e3fc2505e9655751f4ccd2104%7C1304998889977%7Cttemp; Domain=.mlb.com; Path=/
Set-cookie: appacc=mlb; Domain=.mlb.com; Expires=Wed, 09-May-2012 03:41:29 GMT; Path=/
Set-cookie: fprt=MTMwNDk5ODg4OTk2N3xlbWFpbC1wYXNzd29yZHx6eFJXNFA0MHprQkRJWGxuTmxXTHdXOHo1VlU9; Domain=.mlb.com; Expires=Wed, 09-May-2012 03:41:29 GMT; Path=/
Set-cookie: ipid=8820296; Domain=.mlb.com; Expires=Wed, 09-May-2012 03:41:29 GMT; Path=/
Transfer-encoding: chunked


These are the cookies we have received so far :
0   :   <Cookie SESSION_1= for .mlb.com/>
1   :   <Cookie appacc=mlb for .mlb.com/>
2   :   <Cookie fprt=MTMwNDk5ODg4OTk2N3xlbWFpbC1wYXNzd29yZHx6eFJXNFA0MHprQkRJWGxuTmxXTHdXOHo1VlU9 for .mlb.com/>
3   :   <Cookie ipid=8820296 for .mlb.com/>
4   :   <Cookie mlbunifieddata=8820296%7C863b4b3e3fc2505e9655751f4ccd2104%7C1304998889977%7Cttemp for .mlb.com/>
Logged in successfully!
[('SESSION_1', '', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('mlbunifieddata', '8820296%7C863b4b3e3fc2505e9655751f4ccd2104%7C1304998889977%7Cttemp', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('appacc', 'mlb', {'path': '/', 'domain': '.mlb.com', 'expires': 1336534889, 'version': '0'}, {}), ('fprt', 'MTMwNDk5ODg4OTk2N3xlbWFpbC1wYXNzd29yZHx6eFJXNFA0MHprQkRJWGxuTmxXTHdXOHo1VlU9', {'path': '/', 'domain': '.mlb.com', 'expires': 1336534889, 'version': '0'}, {}), ('ipid', '8820296', {'path': '/', 'domain': '.mlb.com', 'expires': 1336534889, 'version': '0'}, {})]
{'ipid': '8820296', 'SESSION_1': '', 'appacc': 'mlb', 'fprt': 'MTMwNDk5ODg4OTk2N3xlbWFpbC1wYXNzd29yZHx6eFJXNFA0MHprQkRJWGxuTmxXTHdXOHo1VlU9', 'mlbunifieddata': '8820296%7C863b4b3e3fc2505e9655751f4ccd2104%7C1304998889977%7Cttemp'}
ipid = 8820296 fingerprint = MTMwNDk5ODg4OTk2N3xlbWFpbC1wYXNzd29yZHx6eFJXNFA0MHprQkRJWGxuTmxXTHdXOHo1VlU9
[('SESSION_1', 'mEntNum%3D%3D%3D2%7EmCatCode%3D%3D%3Dmlb_media_mlb_lg%7EmBitRate%3D%3D%3D350%7EmType%3D%3D%3Dvideo%7EmUrl%3D%3D%3Dhttp%3A%2F%2Fwww.mlb.com%2Fshared%2Fmedia%2FmediaMetaFile.jsp%3Ff%3Dwindows%26o%3D1800%26d%3D3750%26arl%3Dmms%253A%252F%252Fa102.v10869f.c10869.g.vm.akamaistream.net%252F7%252F102%252F10869%252Fv0004%252Fmlb.download.akamai.com%252F10869%252F2006%252Fmlb_%2521%252Ftv%252Farchive08%252F082806_chnpit_tv_351.wmv%253Fauth%253Dcb.bCaBahdYbsdjaHdDcnbDdgdAaCdPctaC-bnYlpN-O-bwU-3ekumN5x-mfj5mmlgkgmbmdjmmclbjjkhjajem5kmmcjbmkl6kfmcmj%2526aifp%253Dv0004%2526WMCache%253D0%2526ct5%253D09-May-11%2526ct6%253D64.209.36.118%2526ct7%253D0%253Anull%2526ct8%253D1%2526ct1%253Dmlb%2526ct3%253D8820296%2526ct4%253Dmlb%7EmEnt1%3D%3D%3DMLBALL%7EmEncoding%3D%3D%3Dwindows%7EmEnt0%3D%3D%3DMLBVIDEOPOSTSEA', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('ftmu', 'dkq7ZoirNOUY06BfyRjGZ5Pr6n8%3D', {'path': '/', 'domain': '.mlb.com', 'expires': 1305258090, 'version': '0'}, {})]
ipid = 8820296 fingerprint = MTMwNDk5ODg4OTk2N3xlbWFpbC1wYXNzd29yZHx6eFJXNFA0MHprQkRJWGxuTmxXTHdXOHo1VlU9
session-key = dkq7ZoirNOUY06BfyRjGZ5Pr6n8%3D
no session-key found in reply
Using content_id from arguments: 14408155
Event-id = 14-287416-2011-05-09 and content-id = 14408155
<?xml version="1.0" encoding="UTF-8"?><user-verified-media-response xmlns="http://services.bamnetworks.com/media/types/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><user-verified-event><event-id>14-287416-2011-05-09</event-id><user-verified-content><content-id>14408155</content-id><type>video</type><user-verified-media-item><media-item><type>video</type><state>MEDIA_ARCHIVE</state><cat-code>mlb_media_mlb_lg</cat-code><login-required>true</login-required><auth-required>true</auth-required><blackout-keywords><blackout-keyword>MLB_HOME_TEAM_BLACKOUT</blackout-keyword><blackout-keyword>MLB_AWAY_TEAM_BLACKOUT</blackout-keyword><blackout-keyword>MLB_APSN_BLACKOUT</blackout-keyword></blackout-keywords><playback-scenario>FLASH_800K_400X448</playback-scenario><has-synched-data>false</has-synched-data><preview-url><![CDATA[http://mediadownloads.mlb.com/mlbam/preview/minbos_800_preview.mp4]]></preview-url><innings-index>http://mlb.mlb.com/mlb/mmls2011/287416.xml</innings-index><cdn>AKAMAI_FLASH_STREAM_ONDEMAND</cdn><cdns><cdn-name>PRIMARY_AKAMAI</cdn-name><cdn-name>PRIMARY_APSN_AKAMAI</cdn-name></cdns><sequence>1</sequence><duration xsi:nil="true"/></media-item><url>rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4?aifp=v0004&amp;auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&amp;slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&amp;ct5=09-May-11&amp;ct6=75.66.122.26&amp;ct7=14408155:FLASH_800K_400X448&amp;ct8=1&amp;ct1=mlb&amp;ct3=8820296&amp;ct4=mlb</url><auth-status><successStatus/></auth-status><blackout-status><successStatus/></blackout-status></user-verified-media-item><domain-specific-attributes><domain-attribute name="combined_media_state">MEDIA_ARCHIVE</domain-attribute><domain-attribute name="game_pk">287416</domain-attribute><domain-attribute name="inning_index_location_xml">http://mlb.mlb.com/mlb/mmls2011/287416.xml</domain-attribute><domain-attribute name="calendar_event_id">14-287416-2011-05-09</domain-attribute><domain-attribute name="coverage_type">out-of-market</domain-attribute><domain-attribute name="away_team_id">142</domain-attribute><domain-attribute name="game_events_location_plist">http://gdx.mlb.com/components/game/mlb/year_2011/month_05/day_09/gid_2011_05_09_minmlb_bosmlb_1/game_events.plist</domain-attribute><domain-attribute name="call_letters">NESN-HD</domain-attribute><domain-attribute name="default_dam_view_key">MLBTV_MP_4</domain-attribute><domain-attribute name="inning_index_location_plist">http://mlb.mlb.com/mlb/mmls2011/287416.plist</domain-attribute><domain-attribute name="source_aspect_ratio">HD</domain-attribute><domain-attribute name="coverage_association">111</domain-attribute><domain-attribute name="in_epg">mlb_mp4_epg</domain-attribute><domain-attribute name="event_date">2011-05-09T19:10:00-0400</domain-attribute><domain-attribute name="subject">LIVE_EVENT_COVERAGE</domain-attribute><domain-attribute name="home_team_id">111</domain-attribute><domain-attribute name="run_scoring_plays_location_plist">http://gdx.mlb.com/components/game/mlb/year_2011/month_05/day_09/gid_2011_05_09_minmlb_bosmlb_1/runScoringPlays.plist</domain-attribute><domain-attribute name="game_id">2011/05/09/minmlb-bosmlb-1</domain-attribute><domain-attribute name="subject">MLBTV</domain-attribute></domain-specific-attributes><view-keys><view-key><key>MLBTV_MP_4</key></view-key><view-key><key>MLBTV_CHINA</key></view-key><view-key><key>MLBTV_KOREA</key></view-key></view-keys><features/></user-verified-content><domain-specific-attributes/></user-verified-event><entitlements><entitlement>MLBALL</entitlement></entitlements><determined-location><postal-code>39203</postal-code><country-code>us</country-code></determined-location><session-key>dkq7ZoirNOUY06BfyRjGZ5Pr6n8=</session-key><status-code>1</status-code></user-verified-media-response>
play_path = 'mp4:secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4?aifp=v0004&auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&ct5=09-May-11&ct6=75.66.122.26&ct7=14408155:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=8820296&ct4=mlb'
url = rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4?aifp=v0004&auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&ct5=09-May-11&ct6=75.66.122.26&ct7=14408155:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=8820296&ct4=mlb
play_path = mp4:secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4?aifp=v0004&auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&ct5=09-May-11&ct6=75.66.122.26&ct7=14408155:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=8820296&ct4=mlb
<?xml version="1.0" encoding="utf-8" ?>
<fcs><ip>63.97.94.108</ip></fcs>
Reply
#58
Code:
play_path = mp4:secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4?aifp=v0004&auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&ct5=09-May-11&ct6=75.66.122.26&ct7=14408155:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=8820296&ct4=mlb
rtmpdump -f "LNX 10,0,22,87" -r "rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4?aifp=v0004&auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&ct5=09-May-11&ct6=75.66.122.26&ct7=14408155:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=8820296&ct4=mlb" --resume -y "mp4:secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4?aifp=v0004&auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&ct5=09-May-11&ct6=75.66.122.26&ct7=14408155:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=8820296&ct4=mlb" -a "ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6aifp=v0004&auth=da.dvd7bWckaEbVcmdEb0cZcFcSdSd9bfam-bnYlpO-O-wxtpClBqBosFCq-k8l3lelhmbm6kcjgmcmbkklaj3kildm3k8l8l8l7mbmc&slist=secure/mlbam/2011/05/09/14-287416-2011-05-09/web-encodes/mlbtv_minbos_home_800k/mlbtv_minbos_home_800k.mp4&ct5=09-May-11&ct6=75.66.122.26&ct7=14408155:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=8820296&ct4=mlb" -o -  | mplayer -really-quiet -cache 8192 -fs -
Snipped the output after rtmpdump and mplayer take over.
Reply
#59
Great to see the progress being made here. If it'd be helpful, I would definitely toss some funds in a donation pool to go towards a subscription.
Reply
#60
theophile Wrote:All right, got it straight. There's been some funkiness this season with MLB.TV authentication and the way mlbviewer uses cookies. It's fixed for the main player but not the test tools. So here's the output now that it's ironed out.

Cool!Cool
Was that with the latest revision that got pushed last night?
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 22

Logout Mark Read Team Forum Stats Members Help
[WIP] MLB.TV Boxee App port (developers needed!)3