Kodi Community Forum
[Release] MLBMC - a Major League Baseball (video) add-on - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [Release] MLBMC - a Major League Baseball (video) add-on (/showthread.php?tid=104391)



RE: [Release] MLBMC - a Major League Baseball (video) add-on - Let'sPlay2 - 2012-09-22

Thanks for the nice addon, but unfortunately haven't been able to get it to work. Here is log, any suggestions? http://pastebin.com/FUbuZbbn


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-09-22

(2012-09-22, 01:11)vijayk416 Wrote: Well, it's playing today but dropping after <5 minutes. Tons of buffering but I am not using any of my bandwith for anything else. No other issues with streaming other videos.

Server side issues I would guess, the add-on just resolves the playback url.
(2012-09-22, 02:41)LetsPlay2 Wrote: Thanks for the nice addon, but unfortunately haven't been able to get it to work. Here is log, any suggestions? http://pastebin.com/FUbuZbbn

You've got a old version of the add-on, don't know why, but this happens sometimes for some unknown (to me) reason.

Download and install from zip -> http://mirrors.xbmc.org/addons/eden/plugin.video.mlbmc/plugin.video.mlbmc-1.0.8.zip


RE: [Release] MLBMC - a Major League Baseball (video) add-on - CAL7 - 2012-09-26

I am tweaking XBMC and ran across this add-on for MLB. I installed it (1.0.8) with no problems, but when I try to select from the second menu (Today's, Yesterday's, etc.) it buffers for a couple of seconds then gives an HTTP 404 error. I pasted a log:

http://pastebin.com/8N6yRQ6b

I read through all 31 pages of this thread looking to understand it and hoping for a solution. Sad

FWIW, I am a premium subscriber with a couple of games successfully logged into and running as I type this. I'd like to get this solved before the season ends Blush

Thanks for any help.




RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-09-26

Hi CAL7, doesn't look add-on related. I noticed that there are a lot of network errors in your log. Check xbmc's network settings, make sure that enable proxy isn't set if your not using one.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - CAL7 - 2012-09-26

That was it. I'm surprised the proxy was turned on. Thank you!


RE: [Release] MLBMC - a Major League Baseball (video) add-on - J_K_M_A_N - 2012-09-27

Thanks for the update divingmule. I didn't even think of doing the page after page of days. That was a great idea. Makes it so much easier for remote users to go back.

J_K_M_A_N


RE: [Release] MLBMC - a Major League Baseball (video) add-on - dh3lix - 2012-09-30

morning all et divingmule ...

mlbmc 1.0.9 is not showing any streams this morning here - game and score is listed correctly but no stream to play - simply empty .... checked on the normal pc and the archive for e.g. reds @ pirates is playing fine ... mlbmc logging pasted here http://pastebin.com/SXsw6kUK

--rgds marcO


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-09-30

I see, thanks for letting me know. Will make a pull request for an update.

If you want a quick fix, open the addon's default.py in an editor ~ line 550
change -
Code:
mode = '7'
for game in games:

to -
Code:
for game in games:
    mode = '7'



RE: [Release] MLBMC - a Major League Baseball (video) add-on - Baryho - 2012-10-21

Hi,

using XMBC 11, MLBMC 1.1.0 but error all the time Sad

Here is ma log file http://pastebin.com/vnpQD2MF

Month ago, 1.0.8 all has been correct


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-10-22

Hi Baryho, It seems there is something amiss with your systems python json module. This error in your log -
Code:
data = json.loads(getRequest(url))
AttributeError: 'module' object has no attribute 'loads'

This can happen if somehow you have a file/script in your $PATH named json.py that isn't the actual module.
You can check by opening a command window, go to start type cmd in search, select cmd.exe. Enter the following one at a time.
Code:
python
import json
print json.__file__
exit()
This should print something like -
Code:
>>> print json.__file__
C:\Python26\lib\json\__init__.pyc


A crude fix is to edit the add-on's default.py, near the top you will find -
Code:
try:
    import json
except:
    import simplejson as json
change this to
Code:
import simplejson as json

This isn't optimal though, it will be overwritten if updated, you may/will have the same error with other add-on's, python code.



RE: [Release] MLBMC - a Major League Baseball (video) add-on - Baryho - 2012-10-23

I think you are right. It has something to do with my system. You told it here
Code:
http://forum.xbmc.org/showthread.php?tid=104391&pid=1116777#pid1116777
.
Is it possible to somehow fix it globally? I mean fix this part "This should print something like -". If this NOT print you wrote, what next? Reinstall XMBC or is here any other possibility? Thank you.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-10-23

You may just need to remove/rename the file that this prints if it's not the proper json lib. Could you copy and paste the output?
Code:
python
import json
print json.__file__
exit()

XBMC uses your systems python, so a re-install will not fix it.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - Baryho - 2012-10-23

if I write python and hit enter, system says:python is not recognizerd as an internal o external command, operable program or batch file. I look into xmbc directory and tried to find python.exe file. Without any success.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-10-23

Hi Baryho, I shouldn't assume that you have python installed Confused. In this case, I'm guessing, it's using xbmc's python lib's and maybe a re-install of XBMC wouldn't be a bad idea.

You can also install python, here is a windows tutorial -> http://www.youtube.com/watch?v=L5t5U0XnSew
If you decide to install get the 2.7 version, you don't want a 3.x version.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - Baryho - 2012-10-23

OK, I installed python. An output is c:\Python27\lib\json\__init__.py

log below
http://pastebin.com/mSKn3av1