[WIP] MLB.TV Boxee App port (developers needed!)

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
thegryghost Offline
Junior Member
Posts: 15
Joined: Jun 2011
Reputation: 0
Post: #321
theophile Wrote:The "-L" option doesn't seem to be recognized. If I use it, the player just gives me the help dialog.

Just fixed it. SVN up and try again..
find quote
thegryghost Offline
Junior Member
Posts: 15
Joined: Jun 2011
Reputation: 0
Post: #322
For everyone using my mlb HLS client, I've renamed the executable from 'mlb' to 'mlbhls'.
find quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #323
thegryghost Wrote:Just fixed it. SVN up and try again..

Seems to work well for me, thanks again. Anyone else?

I've added settings for NextDef auto,4.5Mb,3.0Mb,1800k. Download extract,merge and overwrite to addons/plugin.video.mlbmc.
http://divingmules-repo.googlecode.com/f...od-0.1.tar

This should work for Ubuntu -
Code:
$ mkdir nextdef-temp
$ cd nextdef-temp
$ wget http://divingmules-repo.googlecode.com/files/NextDef-Mod-0.1.tar
$ tar -xzvf NextDef-Mod-0.1.tar
$ cp -R resources/ ~/.xbmc/addons/plugin.video.mlbmc/
$ cp -R default.py ~/.xbmc/addons/plugin.video.mlbmc/
$ cd
$ rm -rf nextdef-temp/

You will need to change the add-on playback setting.


Edit: Now that I've tested :o I had to make a small change. Updated the links above.
(This post was last modified: 2011-07-21 04:34 by divingmule.)
find quote
Dixon Butz Offline
Fan
Posts: 395
Joined: Dec 2010
Reputation: 2
Location: Earth USA
Post: #324
Anything for windows to test yet? I have premium account.
find quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #325
Dixon Butz Wrote:Anything for windows to test yet? I have premium account.

First we would have to get thegryghost's hls client working in windows witch I don't know if it's possible.

Anyone have any thoughts on this?
find quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #326
I had to make a fix in the .py from above. If you want you can just remove or comment out the else statement from around line ~723
Code:
#else:
   # bitrate = ' -L'

edited and fixed in the above post.
find quote
lephio Offline
Junior Member
Posts: 8
Joined: Aug 2011
Reputation: 0
Post: #327
hi guys, i'm following you because i read about you on mlbviewer's forum.

i know here's not the boxee forum, but it seems like you guys are more "inside" the developing of these things..

i was an xbmb use (on the original xbox) and i had to switch to boxee on my pc-media-center because now i can see mlb.tv on the big screen in the living room!

i don't know why, but i can't use xbmc because it's too slow on my htpc so i have to stay with boxee.

so the question is.. do you know if there's any chance to have, maybe hacking as long as you doing for xbmc, the condensed games on boxee?

by the way.. you're doing a great job for us baseball lovers outside the US.
find quote
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Post: #328
The past few days, the plugin has stopped working, both the HLS streams and the normal RTMP ones. This log entry is representative:

Code:
19:22:08 T:139831259252480 M:516259840  NOTICE: -->Python Interpreter Initialized<--
19:22:09 T:139831259252480 M:516132864  NOTICE: Mode: 3
19:22:09 T:139831259252480 M:516132864  NOTICE: URL:
19:22:09 T:139831259252480 M:516132864  NOTICE: Name: MLB.TV
19:22:10 T:139831259252480 M:512622592  NOTICE: -->Python Interpreter Initialized<--
19:22:11 T:139831259252480 M:512892928  NOTICE: Mode: 6
19:22:11 T:139831259252480 M:512892928  NOTICE: URL: http://mlb.mlb.com/gdcross/components/game/mlb/year_2011/month_08/day_10/master_scoreboard.json
19:22:11 T:139831259252480 M:512892928  NOTICE: Name: Today's Games
19:22:12 T:139831111739136 M:514916352   ERROR: CacheImage Unable to create new image special://masterprofile/Thumbnails/Video/a/a279a568.tbn from image http://mediadownloads.mlb.com/mlbam/preview/chabal_288645_preview.jpg
19:22:12 T:139831111739136 M:514334720   ERROR: CacheImage Unable to create new image special://masterprofile/Thumbnails/Video/d/d18546cd.tbn from image http://mediadownloads.mlb.com/mlbam/preview/kcatba_288649_preview.jpg
19:22:13 T:139831111739136 M:517505024 WARNING: FillBuffer: curl failed with code 22
19:22:13 T:139831111739136 M:517505024   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
19:22:19 T:139831259252480 M:517345280  NOTICE: -->Python Interpreter Initialized<--
19:22:20 T:139831259252480 M:517345280  NOTICE: Mode: 7
19:22:20 T:139831259252480 M:517345280  NOTICE: URL:
19:22:20 T:139831259252480 M:517345280  NOTICE: Name: Boston @ Minnesota - In Progress
19:22:20 T:139831259252480 M:517251072  NOTICE: Logged in successfully!
19:22:20 T:139831259252480 M:517251072  NOTICE: [('SESSION_1', '', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('mlbunifieddata', '8820296%7Cd2af3221464f7c082492a1237ca6a6a7%7C1313022140771%7Cttemp', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('appacc', 'mlb', {'path': '/', 'domain': '.mlb.com', 'expires': 1344558140, 'version': '0'}, {}), ('fprt', 'Zmp0ZlN4bldmVmc1c1JxMjBuV3dyZ3A3ak4wPXwxMzEzMDIyMTQwNzY2fGlwdD1lbWFpbC1wYXNzd29​yZA%3D%3D', {'path': '/', 'domain': '.mlb.com', 'expires': 1344558140, 'version': '0'}, {}), ('ipid', '8820296', {'path': '/', 'domain': '.mlb.com', 'expires': 1344558140, 'version': '0'}, {})]
19:22:20 T:139831259252480 M:517251072  NOTICE: {'ipid': '8820296', 'SESSION_1': '', 'appacc': 'mlb', 'fprt': 'Zmp0ZlN4bldmVmc1c1JxMjBuV3dyZ3A3ak4wPXwxMzEzMDIyMTQwNzY2fGlwdD1lbWFpbC1wYXNzd29​yZA%3D%3D', 'mlbunifieddata': '8820296%7Cd2af3221464f7c082492a1237ca6a6a7%7C1313022140771%7Cttemp'}
19:22:21 T:139831259252480 M:517451776  NOTICE: [('SESSION_1', 'mEntNum%3D%3D%3D2%7EmCatCode%3D%3D%3Dmlb_media_mlb_lg%7EmBitRate%3D%3D%3D350%7E​mType%3D%3D%3Dvideo%7EmUrl%3D%3D%3Dhttp%3A%2F%2Fwww.mlb.com%2Fshared%2Fmedia%2Fm​ediaMetaFile.jsp%3Ff%3Dwindows%26o%3D1800%26d%3D3750%26arl%3Dmms%253A%252F%252Fa​102.v10869f.c10869.g.vm.akamaistream.net%252F7%252F102%252F10869%252Fv0004%252Fm​lb.download.akamai.com%252F10869%252F2006%252Fmlb_%2521%252Ftv%252Farchive08%252​F082806_chnpit_tv_351.wmv%253Fauth%253Dcb.dkawcpagb6cIcacwcXbeagbAaYaXd_bf-boqYc6-O-bwU-VefwkKbx-lal2lflmkbjbkdjejkm5kgm9j5lcjbkml7l8ldlckijg%2526aifp%253Dv0004%2526WMCache%253D​0%2526ct5%253D10-Aug-11%2526ct6%253D64.209.36.95%2526ct7%253D0%253Anull%2526ct8%253D1%2526ct1%253Dmlb​%2526ct3%253D8820296%2526ct4%253Dmlb%7EmEnt1%3D%3D%3DMLBALL%7EmEncoding%3D%3D%3D​windows%7EmEnt0%3D%3D%3DMLBVIDEOPOSTSEA', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('ftmu', 'Z64dg62BWDtIDV2hI4oL4Ob%2F7CE%3D', {'path': '/', 'domain': '.mlb.com', 'expires': 1313281341, 'version': '0'}, {})]
19:22:24 T:139831259252480 M:517660672  NOTICE: -->Python Interpreter Initialized<--
19:22:24 T:139831259252480 M:517660672  NOTICE: Mode: 9
19:22:24 T:139831259252480 M:517660672  NOTICE: URL:
19:22:24 T:139831259252480 M:517660672  NOTICE: Name: Boston Red Sox Coverage NESN-HD
19:22:25 T:139831770663008 M:517636096  NOTICE: DVDPlayer: Opening:
19:22:25 T:139831770663008 M:517636096 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:22:25 T:139831451068160 M:517636096  NOTICE: Creating InputStream
19:22:25 T:139831451068160 M:517668864   ERROR: CDVDPlayer::OpenInputStream - error opening []
19:22:25 T:139831451068160 M:517668864  NOTICE: CDVDPlayer::OnExit()
19:22:25 T:139831451068160 M:517668864  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:22:25 T:139831770663008 M:517820416   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.mlbmc/?url=&mode=9&name=Boston+Red+Sox+Coverage+NESN-HD+&event=14-288644-2011-08-10&content=17666881&session=Z64dg62BWDtIDV2hI4oL4Ob%2F7CE%3D&cookieIp=8820296&cookieFp=Zmp0ZlN4bldmVmc1c1JxMjBuV3dyZ3A3ak4wPXwxMzEzMDIyMTQwNzY2fGlwdD1lbWF​pbC1wYXNzd29yZA%253D%253D&scenario=HTTP_CLOUD_WIRED]
19:22:25 T:139831770663008 M:517820416  NOTICE: CDVDPlayer::CloseFile()
19:22:25 T:139831770663008 M:517820416 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:22:25 T:139831770663008 M:517820416  NOTICE: DVDPlayer: waiting for threads to exit
19:22:25 T:139831770663008 M:517820416  NOTICE: DVDPlayer: finished waiting
19:22:29 T:139831259252480 M:517697536  NOTICE: -->Python Interpreter Initialized<--
19:22:30 T:139831259252480 M:517697536  NOTICE: Mode: 9
19:22:30 T:139831259252480 M:517697536  NOTICE: URL:
19:22:30 T:139831259252480 M:517697536  NOTICE: Name: Boston Red Sox Coverage NESN-HD
19:22:30 T:139831770663008 M:515674112  NOTICE: DVDPlayer: Opening:
19:22:30 T:139831770663008 M:515674112 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:22:30 T:139831451068160 M:515899392  NOTICE: Creating InputStream
19:22:30 T:139831451068160 M:515899392   ERROR: CDVDPlayer::OpenInputStream - error opening []
19:22:30 T:139831451068160 M:515899392  NOTICE: CDVDPlayer::OnExit()
19:22:30 T:139831451068160 M:515899392  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:22:30 T:139831770663008 M:515899392   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.mlbmc/?url=&mode=9&name=Boston+Red+Sox+Coverage+NESN-HD+&event=14-288644-2011-08-10&content=17666881&session=Z64dg62BWDtIDV2hI4oL4Ob%2F7CE%3D&cookieIp=8820296&cookieFp=Zmp0ZlN4bldmVmc1c1JxMjBuV3dyZ3A3ak4wPXwxMzEzMDIyMTQwNzY2fGlwdD1lbWF​pbC1wYXNzd29yZA%253D%253D&scenario=HTTP_CLOUD_WIRED]
19:22:30 T:139831770663008 M:515899392  NOTICE: CDVDPlayer::CloseFile()
19:22:30 T:139831770663008 M:515899392 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:22:30 T:139831770663008 M:515899392  NOTICE: DVDPlayer: waiting for threads to exit
19:22:30 T:139831770663008 M:515899392  NOTICE: DVDPlayer: finished waiting

But mlbviewer works just fine. Thoughts?
find quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #329
theophile Wrote:The past few days, the plugin has stopped working, both the HLS streams and the normal RTMP ones.
But mlbviewer works just fine. Thoughts?


Thats strange doesn't look like it's returning a playback url.
Code:
ERROR: CDVDPlayer::OpenInputStream - error opening []
Would need to turn on debugging and look at the responce to know for sure.

I haven't had any trouble myself. Watched the Giants-Pirates @1800k today.

edit:
If you haven't yet update your default.py, and settings.xml with these - http://mlbmc-xbmc.googlecode.com/files/N...od-0.2.tar
(This post was last modified: 2011-08-11 02:54 by divingmule.)
find quote
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Post: #330
Late reply, but thanks. This worked like a charm. Even better than before, actually.
find quote
Post Reply