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 - divingmule - 2012-10-24

Yeah it's the same error.

Lets try this :p, rename the folder C:\Program Files\XBMC\system\python\Lib\json to json_old, then copy c:\Python27\lib\json to C:\Program Files\XBMC\system\python\Lib\




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

the same error I guess http://pastebin.com/54gpHhjj


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

Yeah Undecided,

Could you try this -
open the add-on's default.py with a text editor (notepad or similar), should be -
Code:
C:\Users\Baryho\AppData\Roaming\XBMC\addons\plugin.video.mlbmc\default.py

near the top of the file, below where the imports are, copy and paste
Code:
print "############ json file ################"
print json.__file__

reproduce the error, then check the xbmc.log to see what was printed.


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

here it is http://pastebin.com/uceDXXAi


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

Hey, the print statements need to be after or below where you see -
Code:
try:
    import json
except:
    import simplejson as json

It seems as if you pasted it above the json import?

Sorry for this being such a hassle Confused


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

Hi, I am sorry we do not understand each other. My fault. Here is patebin http://pastebin.com/8YMjxYBz I put your print just below import simplejason as json line.


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

It me again, I look into the log file and see this \addons\script.module.dmd-czech.common\lib\json.pyo So I tried to rename to json_old.pyo, but the file creates itself again! Damn it.


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

Code:
DEBUG: XBPyThread::Process - Entering source directory C:\Users\Baryho\AppData\Roaming\XBMC\addons\plugin.video.mlbmc
20:47:01 T:4992   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.mlbmc" dependent on version 2.0 of the xbmc.python api
20:47:01 T:5996   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the MLBMC plugin...
20:47:01 T:4992  NOTICE: ############ json file ################
20:47:01 T:4992  NOTICE: C:\Users\Baryho\AppData\Roaming\XBMC\addons\script.module.dmd-czech.common\lib\json.pyo

This is important I tried to enable debug in XMBC, it seams that 2 addons obtained the same id.



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

Hi, you would need to delete the json.pyo and rename the json.py in that directory. Doing so will likely break the "script.module.dmd-czech.common" or whatever add-on's depend on the module. You should contact the author and notify him of the issue Wink.

Could you move the directory temporarily and see if it resolves the issue.

(2012-10-25, 20:50)Baryho Wrote: This is important I tried to enable debug in XMBC, it seams that 2 addons obtained the same id.
Was there any more info??


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

No more info Sad I reinstalled XMBC and informed author of dmd-czech plugin. Thank you for your helping me!!!!


RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2013-02-23

Divingmule - It's getting to be that time of year again... any planned updates for the plugin this season? Do you need to update it for Frodo? Do you think you can get the HLS streams to work without the extra binary add-on, now that it's baked into Frodo?

The Mets have a pre-season game today... when I tried to run it with HLS.. the plugin failed. (This may be that I missed a setting.. I've reloaded my unit a couple of times since the last baseball season ended).

When I started a game with HLS off, it would play for about 2-3 seconds and then freeze... and then the add-on crashes back to the home screen.

I am on openelec.... and I am going to update to openelec RC3 and try again... and post some logs if it fails.

*EDIT* - After updating to Openelec RC3, playback of non-HLS feed works.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-02-24

Hi sdsnyr94, I plan on it Smile MLB.com usually makes a bunch of changes at the start of the season.

Unfortunately I don't think* ffmpeg supports https with HLS. I saw somewhere Huh someone had it working. Hopefully it gets pushed upstream and makes it into XBMC 13.

Maybe they will up the bitrate again this year with the rtmp streams.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - goldsac - 2013-02-25

Hey divingmule - great to have another season on the horizon.

Just a heads-up, something I've encountered already: I was looking through today's listings for a game being televised (as most are audio-only), and eventually I triggered MLB's lockout. I can't access MLB.TV for a few hours (i imagine), as it's detected too many logins in a short period of time. Note that I didn't even begin streaming any audio feeds - I only selected each game to see the feeds available. I made it almost to the bottom of the list, and bam! I'm locked out.

I didn't watch any spring training last year, so maybe that rapid-fire pace was responsible (though it didn't seem TOO far off anything I'd ever done before). Keep an eye out, though - maybe MLB has tightened things this year in that regard, and it may affect the usefulness of the plug-in.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2013-02-25

Hi goldsac, sorry you got locked out.

I plan on fixing this issue, currently we login each time a game is selected. As you now know, selecting several games in a short period of time will trigger a multiple login lock out. It's temporary, less than an hour, IIRC.


RE: [Release] MLBMC - a Major League Baseball (video) add-on - robla - 2013-02-26

Hi, just a quick heads up..
seems like the video playback isn't working anymore... tried yesterday's NYY vs BAL (has YES HD video feed)... always comes up with a
<status-code>-1000</status-code>

(2013-02-24, 17:32)divingmule Wrote: Unfortunately I don't think* ffmpeg supports https with HLS. I saw somewhere Huh someone had it working. Hopefully it gets pushed upstream and makes it into XBMC 13.

Maybe they will up the bitrate again this year with the rtmp streams.

HLS is fine (just simple m3u8 playlists referencing mpeg2 ts parts) and supported by ffmpeg for a long time now .. the problem is Adobe HDS (fragmented mp4 containers) .. this format isn't supported by any opensource player/library as far as I know..