MLB Condensed Games
#1
Is it possible to make a plugin for the condensed games on MLB.com or are they locked down too much?

I am talking about this site...

I would assume it is available for all teams but the link I get is for Minnesota Twins. But it lists all games. It also has links for previous day and next day and a calendar. I would be happy with just the ability to go previous and next day.

I would love to be able to watch the condensed games from the couch instead of on my computer screen.

Any chance?

J_K_M_A_N
Reply
#2
Is anyone able to tell me if this is possible? I cannot figure out how to get the link to the video. I know it uses a flash player. Is it possible to do? I would like to try and make it but I don't want to waste my time if XBMC can't do flash videos or if the site is too locked down.

J_K_M_A_N
Reply
#3
J_K_M_A_N Wrote:Is anyone able to tell me if this is possible? I cannot figure out how to get the link to the video. I know it uses a flash player. Is it possible to do? I would like to try and make it but I don't want to waste my time if XBMC can't do flash videos or if the site is too locked down.

J_K_M_A_N

I checked the page source but couldn't find a link for the video. I don't know enough about that type of code to find anything other than a link. Hopefully some coder will check it out, because that would be great if we could get some MLB in XBMC.
Nothing to see here....
Reply
#4
zepfan Wrote:I checked the page source but couldn't find a link for the video. I don't know enough about that type of code to find anything other than a link. Hopefully some coder will check it out, because that would be great if we could get some MLB in XBMC.

yeah, it looks pretty easy to find the urls for various quality levels. the formula they use to generate the url for the xml file with all the info in is in a javascript function (bam.media.getMetaFilePath() which is in bam.media.js). if the {content_id} ends with the 3 digits {x}{y}{z} then the url is:
Code:
http://mlb.mlb.com/gen/multimedia/detail/{x}/{y}/{z}/{content_id}.xml

for example, to get the xml file with the info for the compressed game at the link http://mlb.mlb.com/video/play.jsp?content_id=16118053 you would go to
Code:
http://mlb.mlb.com/gen/multimedia/detail/0/5/3/16118053.xml

that file contains info for loads of different streams using various protocols at various quality levels.

but isn't there already a MLB plugin?

t0mm0.
Reply
#5
Hmm. MLB plugin in the boxee port right?
Nothing to see here....
Reply
#6
t0mm0 Wrote:yeah, it looks pretty easy to find the urls for various quality levels. the formula they use to generate the url for the xml file with all the info in is in a javascript function (bam.media.getMetaFilePath() which is in bam.media.js). if the {content_id} ends with the 3 digits {x}{y}{z} then the url is:
Code:
http://mlb.mlb.com/gen/multimedia/detail/{x}/{y}/{z}/{content_id}.xml

for example, to get the xml file with the info for the compressed game at the link http://mlb.mlb.com/video/play.jsp?content_id=16118053 you would go to
Code:
http://mlb.mlb.com/gen/multimedia/detail/0/5/3/16118053.xml

that file contains info for loads of different streams using various protocols at various quality levels.

but isn't there already a MLB plugin?

t0mm0.

That is great! I opened that xml file and took the rstm flash stream and pasted it in a .strm file and played it in XBMC. Worked like a champ! I will see if I can learn enough from other plugins to make something for this. Thanks a ton for the help.

(If anyone who has coded plugins before wants to make this, please feel free. I have no clue what I am doing as of right now. Tongue)

J_K_M_A_N
Reply
#7
We have been devoloping a MLB add-on in this thread here - http://forum.xbmc.org/showthread.php?tid=97251

I thought I had all the bases covered, but this is the first I've seen of the condensed games. Will definitely have to add them to the add-on.
Reply
#8
Check out this plugin for MLB.TV:

http://forum.xbmc.org/showthread.php?tid=97251

Skip to the last half of the thread for the current information.... the plugin is no longer a port from the boxee app.


I am no coder, but it appears it shouldn't be too hard to add that to the plugin.... I would ask divingmule on that thread if it is possible.
Reply
#9
Wow divingmule... you read my mind!
Reply
#10
divingmule Wrote:We have been devoloping a MLB add-on in this thread here - http://forum.xbmc.org/showthread.php?tid=97251

I thought I had all the bases covered, but this is the first I've seen of the condensed games. Will definitely have to add them to the add-on.

That would be FANTASTIC! I love watching the condensed games. They take about 20 minutes or so and have pretty much all the plays that made a difference in the game (more or less). I will be watching that other thread very closely. Smile

J_K_M_A_N
Reply
#11
I just fired up XBMC and the MLB plugin was updated and it has condensed games! Thank you very much!!

J_K_M_A_N
Reply
#12
J_K_M_A_N Wrote:I just fired up XBMC and the MLB plugin was updated and it has condensed games! Thank you very much!!

J_K_M_A_N

I don't see any update. What is your mlbmc version?
Reply
#13
Dixon Butz Wrote:I don't see any update. What is your mlbmc version?

It updated automatically to 0.0.2 when I fired up XBMC. It shows condensed games but it only has 2 days worth. I would love 5 or 7 but 2 is not too bad. I just need to make sure I watch them right away.

J_K_M_A_N
Reply

Logout Mark Read Team Forum Stats Members Help
MLB Condensed Games0