[REQUEST] MLB.TV (Live Major League Baseball Games) plugin? Maybe port/use mlbviewer?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Lightbulb  [REQUEST] MLB.TV (Live Major League Baseball Games) plugin? Maybe port/use mlbviewer?
Post: #1
I hope I'm not the only baseball fan around here. Last season, some fellow MLB fans wrote a python-based application that allows subscribers to the MLB.com service MLB.tv to watch and listen to baseball games in Linux. The project developed out of a 60-page forum post which you can check out here:

http://www.linuxquestions.org/questions/...ost3139394

Anyway, the project is called mlbviewer and is on Sourceforge:

http://sourceforge.net/projects/mlbviewer

It is currently console-based and parses the schedule and feed info from MLB.com and displays a schedule allowing the user to select a live game and watch it, or stream archived games. It supports highlighting favorite teams and config options for MLB.com's regional blackouts.

In short, it uses a console frontend to obtain the appropriate game's mms:// URL and pass that to mplayer (or whatever external player is specified).

I would LOVE to have this integrated with XBMC, even if it's just the frontend. I'm not a programmer, but it seems to me that since mlbviewer is already written in Python, it should be relatively easy to make a script/plugin out of it.

Anyone up for it? At the very least, could someone take a cursory look and tell me how much work would be required to accomplish this? Thanks!
find quote
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Post: #2
No baseball fans? Sad

Could someone take a gander at the mlbviewer code and at least let me know what it would take?
find quote
jbalicki10 Offline
Member
Posts: 71
Joined: Mar 2009
Reputation: 0
Question  Will XBMC be able to stream MLB.TV this year?
Post: #3
Anyone know or tried yet?
find quote
coredalae Offline
Member
Posts: 73
Joined: May 2008
Reputation: 0
Post: #4
wouldn't count on it.

afaik paid sites are A LOT harder to script...
find quote
jbalicki10 Offline
Member
Posts: 71
Joined: Mar 2009
Reputation: 0
Post: #5
coredalae Wrote:wouldn't count on it.

afaik paid sites are A LOT harder to script...

Thanks for your reply! I'm new to this...
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #6
Especially when we don't pay for the service. That makes it insanely difficult.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
jbalicki10 Offline
Member
Posts: 71
Joined: Mar 2009
Reputation: 0
Post: #7
rwparris2 Wrote:Especially when we don't pay for the service. That makes it insanely difficult.

If MLB radio is 10 bucks this year. Could I donate a subscription to help make it work? (IE at least get the radio portion right?)

The mlb.tv is going to over 100 this year. Doh...
find quote
newg Offline
Junior Member
Posts: 36
Joined: Mar 2009
Reputation: 0
Post: #8
Yeah I'd love to have an mlb.tv plugin as well. If we can't get a plugin though, is there any other way to do it? I have been reading about firefox on xbox and stuff like that... any chance that would work?
find quote
copecetic Offline
Junior Member
Posts: 1
Joined: Mar 2009
Reputation: 0
Post: #9
I can't help you with the code, but I can say that I would LOVE to be able to access my mlb.tv account and watch games from my xbmc xbox.
find quote
jbalicki10 Offline
Member
Posts: 71
Joined: Mar 2009
Reputation: 0
Post: #10
newg Wrote:Yeah I'd love to have an mlb.tv plugin as well. If we can't get a plugin though, is there any other way to do it? I have been reading about firefox on xbox and stuff like that... any chance that would work?

Second that... Any finger pointing would be good to get me in the right directions. Thanks
find quote
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Post: #11
There is an mlbviewer "library" which is abstracted from the current console-based UI. That means that, as far as I can tell, someone would only have to write a frontend script for XBMC as all the heavy lifting is already done by the existing python library.

The only thing is that I believe XBMC is currently unable to play mms:// streams. The XBMC script would, at least temporarily, have to use mplayer (or whatever player the user specifies in the mlbviewer config file) to play the stream.

In short, I think a knowledgeable python coder could do this very easily. The existing console UI already has all the basic functionality written in. All we really need is a way to display that information in XBMC.

Can we get a sponsor??
find quote
BlueCop Offline
Skilled Python Coder
Posts: 1,432
Joined: May 2004
Reputation: 72
Post: #12
I would be willing to take a stab at it. I don't have an mlb.tv account though.
find quote
jbalicki10 Offline
Member
Posts: 71
Joined: Mar 2009
Reputation: 0
Post: #13
BlueCop Wrote:I would be willing to take a stab at it. I don't have an mlb.tv account though.

I can donate you an account. But It would have to be either the yearly subscription for the gameday audio (14.95)or one month of the mlb.tv (14.95) or I can donate 19.95 for one month of both.
(This post was last modified: 2009-03-10 15:41 by jbalicki10.)
find quote
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Post: #14
The current developer of mlbviewer goes by the handle "daftcat" on the linuxquestions forum linked in the OP. Since it is now Spring training, that thread has become active again so I'm sure daftcat would be willing and able to answer any development related questions. I asked him earlier if he could work on an XBMC script and he indicated he didn't know if he could (since he doesn't use XBMC) but that he might be able to help.

I would really love to see this and of course, I am perpetually available to help test! :-)
find quote
theophile Offline
Fan
Posts: 569
Joined: Jan 2009
Reputation: 30
Post: #15
Also, someone on the Boxee forums is working on it too:

http://forum.boxee.tv/showthread.php?p=38817

Maybe he could help?
find quote
Post Reply