[Release] MLBMC - a Major League Baseball (video) add-on

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ryth Offline
Junior Member
Posts: 1
Joined: May 2012
Reputation: 0
Post: #196
Hi there.

I'm new to XMBC and am running XBMC through OpenELEC on a Zotac AD10.

Every time I try and run MLBMC i receive an error in the interface.

Looking at the log leads me to believe that maybe MLBMC is timing out very quickly before it gets a server response?

Please see the log file here: http://sprunge.us/VUQU

Any insight you could offer into this error would be great.

FWIW I'm running OpenELEC 1.95.4 (FUSION).

I'm thinking I need to abandon OpenELEC and go for a straight up Ubuntu install with XBMC on top.. thoughts?

Thanks!
(This post was last modified: 2012-05-21 19:44 by ryth.)
find quote
sdsnyr94 Offline
Fan
Posts: 475
Joined: Aug 2009
Reputation: 2
Location: Greensboro, NC
Post: #197
How are you connected to your network? Wired or Wireless? If your wireless, do you get the same result wired? I have seen some weird results (in general, not just with MLBMC) with Openelec and wireless.

I use Openelec, hard wired, and have no trouble with MLBMC... I am using the 1.95.4 ION version.

If your thinking about an Ubuntu install, try XBMCbuntu..... I have it on a secondary PC and the install went very smooth.... the only hiccup I had was getting HDMI audio out on my ATI 4350 card. The good thing about going that route, as that you can use the mlbhls script and play the higher quality feeds.....
find quote
bunglebungle Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #198
http://pastebin.com/k333yeDH

I had previously played with the standalone mlbviewer. This plugin is very cool (thanks!), but it didn't have game-specific highlights, just daily and team-specific ones. This patch adds three entries under Game Highlights for the last three days' worth of games. Clicking one gives a list of games, which further expands into a list of highlights for that game. It does what I want now but feel free to integrate however appropriate.

The only problem I've seen is that the URL for a game's highlights returns a 404 in the morning before games start. I wanted to catch and suppress this but "getRequest" doesn't throw it, it always pops up a message instead. I just left it this way for now instead of trying to change too much. It's only an issue when looking at "Today's Games" early in the day.
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #199
(2012-05-22 17:25)bunglebungle Wrote:  http://pastebin.com/k333yeDH

I had previously played with the standalone mlbviewer. This plugin is very cool (thanks!), but it didn't have game-specific highlights, just daily and team-specific ones. This patch adds three entries under Game Highlights for the last three days' worth of games. Clicking one gives a list of games, which further expands into a list of highlights for that game. It does what I want now but feel free to integrate however appropriate.

The only problem I've seen is that the URL for a game's highlights returns a 404 in the morning before games start. I wanted to catch and suppress this but "getRequest" doesn't throw it, it always pops up a message instead. I just left it this way for now instead of trying to change too much. It's only an issue when looking at "Today's Games" early in the day.

Nice! Thanks for your contribution. I'll see what I can do about the 404's.
find quote
jshay Offline
Junior Member
Posts: 13
Joined: Aug 2011
Reputation: 0
Post: #200
I can't seem to get any games to play on my ATV2. Here is the error in the log:

Code:
20:21:13 T:142385152  NOTICE: -->Python Interpreter Initialized<--
20:21:14 T:142385152  NOTICE: (((((((((( Version dharma - 0.0.4, eden - 1.0.1 ))))))))))
20:21:14 T:142385152  NOTICE: Mode: 9
20:21:14 T:142385152  NOTICE: URL:
20:21:14 T:142385152  NOTICE: Name: Atlanta Braves Coverage FSSO-HD
20:21:14 T:142385152  NOTICE: Event-id = 14-318421-2012-05-25 content-id = 21482053 Name = Atlanta Braves Coverage FSSO-HD  Session = NTxxeeUuYUsOHEzC7C8yucjmTAA= cookieIp = 28382896 cookieFp = MWg3MzRxVGk5REFxcHd3RVdBZVFrSDQreEI0PXwxMzM3OTk1MjU3NjU2fGlwdD1lbWFpbC1wYXNzd29y​ZA%3D%3D scenario = FLASH_800K_400X448
20:21:15 T:142385152  NOTICE: <?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>
20:21:15 T:142385152   ERROR: Error Type: <type 'exceptions.AttributeError'>
20:21:15 T:142385152   ERROR: Error Contents: 'NoneType' object has no attribute 'string'
20:21:15 T:142385152   ERROR: Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.mlbmc/default.py", line 1105, in <module>
                                                getGameURL(name,event,content,session,cookieIp,cookieFp)
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.mlbmc/default.py", line 792, in getGameURL
                                                name = TeamCodes[soup.find('domain-attribute', attrs={'name' : "away_team_id"}).string][0]+' @ '+TeamCodes[soup.find('domain-attribute', attrs={'name' : "home_team_id"}).string][0]+' '+str(dateStr.today)
                                            AttributeError: 'NoneType' object has no attribute 'string'
20:21:15 T:90894336   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.mlbmc/?url=&mode=9&name=Atlanta+Braves+Coverage+FSSO-HD+&event=14-318421-2012-05-25&content=21482053&session=NTxxeeUuYUsOHEzC7C8yucjmTAA%3D&cookieIp=28382896&cookieFp=MWg3MzRxVGk5REFxcHd3RVdBZVFrSDQreEI0PXwxMzM3OTk1MjU3NjU2fGlwdD1lbWF​pbC1wYXNzd29yZA%253D%253D&scenario=FLASH_800K_400X448]

Any ideas? Thanks!
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #201
(2012-05-26 03:33)jshay Wrote:  I can't seem to get any games to play on my ATV2. Here is the error in the log:

Please try the latest version, for Dharma it's 0.0.9 -> http://mirrors.xbmc.org/addons/dharma/pl...-0.0.9.zip

Not sure why you have such an old versionConfused Do you have auto update turned on?
find quote
sdsnyr94 Offline
Fan
Posts: 475
Joined: Aug 2009
Reputation: 2
Location: Greensboro, NC
Post: #202
Since HLS Support in XBMC still appears to be a ways off, I was thinking of testing XBMCbuntu on my ION unit.... on a 4gb USB.

With the mlbhls add-on, how large does the file it creates become through the course of a game... will a 2-3Gb partition be enough?
find quote
jshay Offline
Junior Member
Posts: 13
Joined: Aug 2011
Reputation: 0
Post: #203
(2012-05-26 13:45)divingmule Wrote:  
(2012-05-26 03:33)jshay Wrote:  I can't seem to get any games to play on my ATV2. Here is the error in the log:

Please try the latest version, for Dharma it's 0.0.9 -> http://mirrors.xbmc.org/addons/dharma/pl...-0.0.9.zip

Not sure why you have such an old versionConfused Do you have auto update turned on?

Thanks for the reply. I'll try this when I get home. I didn't realize I was using an old version. I don't have auto-update turned on, but the "update" option was greyed out when I tried to update manually. Strange. I'll report back how the new version works. Thanks, again.
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #204
(2012-05-27 03:07)sdsnyr94 Wrote:  Since HLS Support in XBMC still appears to be a ways off, I was thinking of testing XBMCbuntu on my ION unit.... on a 4gb USB.

With the mlbhls add-on, how large does the file it creates become through the course of a game... will a 2-3Gb partition be enough?

I think* your looking at ~ 6 to 10 GB per game or about 1GB every 30 minutes at the highest bitrate. The add-on writes the file to /tmp, something to consider if your partitioning.
find quote
sdsnyr94 Offline
Fan
Posts: 475
Joined: Aug 2009
Reputation: 2
Location: Greensboro, NC
Post: #205
divingmule.... is the /tmp folder something you can alter, or is that controlled within mlbhls?

I am working with someone from Openelec to get this to work... he created a working mlbhls file, but it appears that /tmp is located in the ramfs.... which means no space to write. I am waiting to see if I can mount /tmp to another location, but if not is there something you can do (such as point it into a /tmp folder located under the plugin folder)?
find quote
jshay Offline
Junior Member
Posts: 13
Joined: Aug 2011
Reputation: 0
Post: #206
(2012-05-26 13:45)divingmule Wrote:  
(2012-05-26 03:33)jshay Wrote:  I can't seem to get any games to play on my ATV2. Here is the error in the log:

Please try the latest version, for Dharma it's 0.0.9 -> http://mirrors.xbmc.org/addons/dharma/pl...-0.0.9.zip

Not sure why you have such an old versionConfused Do you have auto update turned on?

I'm running Eden, actually, and the version of MLBMC I have installed is 1.0.1, which is the newest one showing up in the repo. Hmmmm.
find quote
Dixon Butz Offline
Senior Member
Posts: 242
Joined: Dec 2010
Reputation: 3
Location: Earth USA
Post: #207
ATV has a MLB app that does higher bitrate video than this addon. Why not use that app?
(This post was last modified: 2012-05-28 04:32 by Dixon Butz.)
find quote
jshay Offline
Junior Member
Posts: 13
Joined: Aug 2011
Reputation: 0
Post: #208
(2012-05-28 04:31)Dixon Butz Wrote:  ATV has a MLB app that does higher bitrate video than this addon. Why not use that app?

It has annoying bugs of its own. I'd like to give this one a try instead.
find quote
Dixon Butz Offline
Senior Member
Posts: 242
Joined: Dec 2010
Reputation: 3
Location: Earth USA
Post: #209
I don't get any bugs on my ATV 2 or 3.
What kind of bugs?

This is 1.07
http://www.mediafire.com/?mk5l2bb12jjjcen
Update with that
find quote
jshay Offline
Junior Member
Posts: 13
Joined: Aug 2011
Reputation: 0
Post: #210
(2012-05-28 04:39)Dixon Butz Wrote:  I don't get any bugs on my ATV 2 or 3.
What kind of bugs?

The most annoying bug is that it will randomly switch to a squished 4:3, requiring me to switch my TV to a horizontal fill setting. No quality is lost, though. It will switch back to 16:9 randomly as well. Sometimes this only happens once or twice per game; sometimes it happens every 20 seconds, which is quite annoying.

Thanks for the MLBMC link. I think I figured it out, actually. I was still running Eden Beta 2. I just upgraded XBMC, and the add-ons are all updating right now. I'll report back how 1.0.7 works out.


OK. I'm running the latest version of XBMC with MLBMC v1.0.7 now. There are no live games to test with right now (Sunday blackouts), but here is the error when I try to play yesterday's archived Atlanta/Washington game:

Code:
21:51:23 T:107778048 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:51:23 T:112070656  NOTICE: Creating InputStream
21:51:25 T:112070656  NOTICE: Creating Demuxer
21:51:25 T:112070656   ERROR: RTMP_ReadPacket, failed to read RTMP packet header
21:51:25 T:112070656 WARNING: could not find codec parameters for rtmp://cp65670.live.edgefcs.net/ondemand Playpath=mp4:secure/mlbam/2012/05/26/14-318436-2012-05-26/web-encodes/mlbtv_wasatl_home_2400k/mlbtv_wasatl_home_2400k.mp4?auth=da.cHbwdJdFcQakajcCdFaodXbrcqdpbVct-bpWUGN-O-yvmrzmCsDnlDJp-m7j6mgkklemikelmlhkdm7mflgj3jkldm4jamikcl9mbkklf&aifp=v0001&slist=secure/mlbam/2012/05/26/14-318436-2012-05-26/web-encodes/mlbtv_wasatl_home&ct5=27-May-12&ct6=99.60.140.181&ct7=21513593:FMS_CLOUD&ct8=1&ct1=mlb&ct3=28382896&ct4=mlb pageUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.3/R1/MP4.jsp?calendar_event_id=14-318436-2012-05-26&content_id=&media_id=&view_key=&media_type=video&source=MLB&sponsor=MLB&clickOrigin=MSB&affiliateId=MSB&team=mlb swfUrl=http://mlb.mlb.com/shared/flash/mediaplayer/v4.3/R1/MediaPlayer4.swf?v=14 swfVfy=1
21:51:25 T:112070656   ERROR: OpenDemuxStream - Error creating demuxer
21:51:25 T:112070656  NOTICE: CDVDPlayer::OnExit()
21:51:25 T:112070656  NOTICE: CDVDPlayer::OnExit() deleting input stream
21:51:25 T:107778048   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.mlbmc/?url=&mode=9&name=Atlanta+Braves+Coverage+-+FSSO-HD&event=14-318436-2012-05-26&content=21513593&session=DCUjKQMWHVxrsLVPQXI06GW6ouw%3D&cookieIp=28382896&cookieFp=VXhPb2YvblpDMVBKdXQycU93SzJXUTNqeDB3PXwxMzM4MTczNDI5NjA3fGlwdD1lbWF​pbC1wYXNzd29yZA%253D%253D&scenario=FMS_CLOUD&live=False]
21:51:25 T:107778048  NOTICE: CDVDPlayer::CloseFile()
21:51:25 T:107778048 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:51:25 T:107778048  NOTICE: DVDPlayer: waiting for threads to exit
21:51:25 T:107778048  NOTICE: DVDPlayer: finished waiting
(This post was last modified: 2012-05-28 04:54 by jshay.)
find quote
Post Reply