• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 22
[RELEASE] MLS Live
#31
It was my experience that national blackouts weren't super enforced. I'm an skc fan living in Iowa, so I can't comment on local blackouts. But as for national blackouts....... I signed up for cable specifically to watch the MLS Cup final, but while watching that, there was a little lull in the match and I switched over to my XBMC machine, fired up the Live add-on, and there was the game! I experienced that on a couple different occasions throughout the season, with games on the 2 or 3 national networks (which shall remain unnamed) that carried matches this season.
Reply
#32
New to XMBC. Before I purchase a G-Box Midnight MX2 from gboxcanada.com, MLS live add on will work on this machine?
Reply
#33
Hi, I use it on the pi and it works fine -- you do need a Gotham build though I think... certainly at least Frodo (v12). Anyway, I don't imagine you'll have much trouble on the gbox if it works with stock xbmc.

You do need to pay for the service though -- I checked out the site you mentioned and despite their claims of never paying another bill again, you will need to shell out for MLS live -- well worth it though, IMO.
Reply
#34
Love this add on but it doesn't seem to be working anymore. It worked fine last week but this week none of the streams will load on frodo or Gotham.
Reply
#35
(2014-04-20, 01:45)ngoal Wrote: Love this add on but it doesn't seem to be working anymore. It worked fine last week but this week none of the streams will load on frodo or Gotham.

Same issue, it seems to have broken on the Wednesday game.

Here is the log from what I can tell:

Code:
17:29:40 T:140408436811520   ERROR: Previous line repeats 3 times.
17:29:40 T:140408436811520  NOTICE: Thread Jobworker start, auto delete: true
17:29:43 T:140409701496768  NOTICE: DVDPlayer: Opening: http://nlds6.cdnak.neulion.com/nlds/mls/columbuscrew/as/live/columbuscrew_hd_ced.m3u8
17:29:43 T:140409701496768 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:29:43 T:140408419587840  NOTICE: Thread CDVDPlayer start, auto delete: false
17:29:43 T:140408419587840  NOTICE: Creating InputStream
17:29:43 T:140408411195136  NOTICE: Thread CFileCache start, auto delete: false
17:29:43 T:140408419587840  NOTICE: Creating Demuxer
17:29:46 T:140408411195136  NOTICE: Thread XBPyThread start, auto delete: false
17:29:46 T:140408411195136  NOTICE: -->Python Interpreter Initialized<--
17:29:51 T:140408419587840   ERROR: OpenDemuxStream - Error creating demuxer
17:29:51 T:140408419587840  NOTICE: CDVDPlayer::OnExit()
17:29:51 T:140408419587840  NOTICE: CDVDPlayer::OnExit() deleting input stream
17:29:52 T:140408419587840  NOTICE: Thread Background Loader start, auto delete: false
17:29:52 T:140408436811520   ERROR: InputStream: Error opening,
17:29:52 T:140409701496768   ERROR: Previous line repeats 3 times.
17:29:52 T:140409701496768   ERROR: Playlist Player: skipping unplayable item: 0, path [http://nlds6.cdnak.neulion.com/nlds/mls/columbuscrew/as/live/columbuscrew_hd_ced.m3u8]
Reply
#36
They are pushing a fix tonight.

If you want to fix it manually, edit the file mlslive.py and look for the line in getGameLiveStream:

return stream_url.split('?')[0]


and replace it with:


return stream_url
Reply
#37
yeah, sorry everyone.

I've fixed it and requested the pull into the main repo -- should be fixed very soon!
Reply
#38
(2014-04-20, 02:52)micahg Wrote: yeah, sorry everyone.

I've fixed it and requested the pull into the main repo -- should be fixed very soon!

Is the post above yours about how to correc the issue correct? I tried it but I am still getting the same error. I think I did it correctly as the URL did change.

Thanks,
Douglas
Reply
#39
Update came through, issue resolved. Thanks!!
Reply
#40
Hi, great add-on. I use it every gameday. I've noticed in the last few weeks that the game times listed for upcoming games have been off by an hour. Looking at the schedule from http://mobile.cdn.mlssoccer.com/iphone/v...4-05-05.js (for example), it seems there's now a non-zero time-zone offset (maybe for DST?) in gameDateTime, such as 20140507T190000+0100.

getGameDateTimeStr assumes the offset is always zero. I hacked in a modification after the strptime call:

tz_offset_str = time_parts[1]
tz_offset = int(tz_offset_str[:2]) * 3600 + int(tz_offset_str[-2:]) * 60
game_dt = datetime.datetime.fromtimestamp(time.mktime(game_t) - tz_offset)

It's a bit ugly, but it seems to fix it without creating any other problems - as long as they don't start using negative offsets.
Reply
#41
Hi, glad you like the plugin!

I'll have a look -- you can always just fork the git repo and make a pull request, since that is where I request the main XBMC repo pulls from -- probably more appropriate for dev stuff anyway.
Reply
#42
Hello everyone,

Looks like the service isn't marking games as live, so the plugin wont play them. I'm aware and will have a fix in soon.
Reply
#43
OK, about the one hour offset -- for reasons unknown to me, the MLS live service started listing their times in GMT+1 (historically its been gmt+0). Maybe it changed with daylight savings or something...

Anyway, I have a fix but I've just requested a pull for the playback issue, so it'll show up in 1.0.10
Reply
#44
Hi all,

I had no problem watching a live game yesterday (KC), but when I try to load the list of games today I get an error:

Code:
16:02:36 T:140514904962816   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xf4' in position 1: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/djmandell/.xbmc/addons/plugin.video.mlslive-master/default.py", line 231, in <module>
                                                createWeekMenu(my_mls, "week=" + my_mls.getCurrentWeekURI(), False)
                                              File "/home/djmandell/.xbmc/addons/plugin.video.mlslive-master/default.py", line 146, in createWeekMenu
                                                'title' : game_str }),
                                              File "/usr/lib/python2.7/urllib.py", line 1312, in urlencode
                                                v = quote_plus(str(v))
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xf4' in position 1: ordinal not in range(128)
                                            -->End of Python script error report<--
16:02:36 T:140515980564352   ERROR: GetDirectory - Error getting plugin://plugin.video.mlslive/?id=live
16:02:36 T:140515980564352   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.mlslive/?id=live) failed
16:02:36 T:140514904962816  NOTICE: Thread Background Loader start, auto delete: false

I'm using the latest code from github, which I pulled a few days ago. Any advice?
Reply
#45
The listing of games from MLS this week includes a match involving Ivory Coast using the French name for the country. This name has a unicode character in it which is causing the problem when passed to urlencode. The string from the listing is:

u"C\xf4te d'Ivoire at Bosnia and Herzegovina (05/30 21:30)"

Unfortunately I don't have time tonight to do a pull request, but a quick temporary fix is to open the file mlslive.py in the addon's folder (in linux, ~/.xbmc/addons/plugins/plugin.video.mlslive/) and change the last line in getGameString from:

return game_str

to

return game_str.encode('utf-8').strip()

That is line 298 in the version I'm using.
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 22

Logout Mark Read Team Forum Stats Members Help
[RELEASE] MLS Live1