Kodi Community Forum

Full Version: MLB.TV®
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having an issue getting this addon to work with my setup. (Openelec 6.0, KODI 15.2)

Normally, it works fine. Plays all the games/etc. On local games that are blacked out, I get a nice note telling me that they are blacked out.

Where it stops working, is when I use a custom DNS entry. I was testing this on openelec, and though it was just the way those were working. But I can replicate it on a windows 10 laptop (using the same DNS) and KODI.

Its very odd that this should be an issue, and i'm not sure what the addon is doing that would cause it to stop playing any live stream when I use this special DNS.

Reverting back to my ISP's DNS (the router technically, but basically same idea) it starts working again.

Using the special DNS I want, MLB.tv works fine in the web browser, on a TIVO, and on an appleTV. Only in KODI with this addon does it freak out. Other addons seem to be working fine with the special DNS, and I can even watch replays/etc. Just the live games stop working. The error reported by KODI is that it has no stream to play, so it ends.

I will get a log (assuming someone is around to look at it), its just kind of tricky timing wise since I need to have live games on and then do testing. Do I need to block out anything from the log, I assume it doesn't have my mlb password in the log in plain text, etc?

Perhaps its just something dumb, or it could be the way the addon was written. The DNS i'm using is reporting its location as canada (which i understand the tv carrier there doesn't even bother to enforce blackouts these days).

Is anyone else using a smartDNS type entry in KODI and getting this addon working? (adfreetime, unlocator, etc) ?
I can take a look at the log. Please enable debug if you can (this should not reveal user/pass but just Ctrl+F and make sure it isn't there). For Debug logs, I generally restart Kodi, duplicate the error and disable Debug followed by closing Kodi to keep the logs specific to the issue. You can also PM if you want anything specific about your DNS.

Could be the special PS4 call that may need to be added to your DNS configuration.
(2016-05-18, 17:28)siuside Wrote: [ -> ]Could be the special PS4 call that may need to be added to your DNS configuration.

Could you link me more info on this?

There are day games today, so I can work on the debug log via the laptop, should be quick and easy.
(2016-05-18, 17:46)00b5 Wrote: [ -> ]
(2016-05-18, 17:28)siuside Wrote: [ -> ]Could be the special PS4 call that may need to be added to your DNS configuration.

Could you link me more info on this?

There are day games today, so I can work on the debug log via the laptop, should be quick and easy.

There is a call to the following in the addon
Code:
url = 'https://mlb-ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-findUserVerifiedEvent/v-2.3'

so you would want to add this domain to your custom DNS. Since this is PS4 related only, it is not usually a part of the commercial providers unless they advertise support for MLB on PS4

Code:
mlb-ws-mf.media.mlb.com

If it is not this, then the debug logs can reveal what call is failing.
(2016-05-18, 18:01)siuside Wrote: [ -> ]
(2016-05-18, 17:46)00b5 Wrote: [ -> ]
(2016-05-18, 17:28)siuside Wrote: [ -> ]Could be the special PS4 call that may need to be added to your DNS configuration.

Could you link me more info on this?

There are day games today, so I can work on the debug log via the laptop, should be quick and easy.

There is a call to the following in the addon
Code:
url = 'https://mlb-ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-findUserVerifiedEvent/v-2.3'

so you would want to add this domain to your custom DNS. Since this is PS4 related only, it is not usually a part of the commercial providers unless they advertise support for MLB on PS4

Code:
mlb-ws-mf.media.mlb.com

If it is not this, then the debug logs can reveal what call is failing.

I see the references to PS4 in the log (i guess he is telling MLB he is a PS4 for kodis use). I see the link open without the smart dns, but the log with the smart DNS set on the laptop just stops right away (addon opens, lists games, shows up to date scores/etc/etc, but never starts a live stream)

"Smart DNS log"
http://pastebin.com/w6mqPMkT

"normal DNS log"
http://pastebin.com/SC6E56zG

This is what i'm using for DNS, on a VPS that is in canada:

http://www.belodedenko.me/netflix-proxy/

Thanks for taking a look (addon starts ~ line 760)
Ok looks like the proxy is unable to bypass the first check itself for
Code:
mlblive-akc.mlb.com

There are additional settings that are needed to be configured for that proxy to work with Kodi (check the addon.py for domains). I don't see mlb.tv support listed and I haven't used this proxy before but I have vps i can give this a shot sometime.

Quote:The following are supported out of the box, however adding additional services is trivial and is done by updating zones.override file and running docker restart bind:
(2016-05-18, 23:06)siuside Wrote: [ -> ]Ok looks like the proxy is unable to bypass the first check itself for
Code:
mlblive-akc.mlb.com

There are additional settings that are needed to be configured for that proxy to work with Kodi (check the addon.py for domains). I don't see mlb.tv support listed and I haven't used this proxy before but I have vps i can give this a shot sometime.

Quote:The following are supported out of the box, however adding additional services is trivial and is done by updating zones.override file and running docker restart bind:

I looked in main.py, and found this:

gdx.mlb.com

So i've added, mlb.com, mlblive-akc.mlb.com and gdx.mlb.com into the zones.override, and it looks like it started to work. Of course, now there are no more live games for the next few hours Smile

So i'll try it again later tonight, thanks for looking over the log and helping me tweak my "personal smart-dns" Smile


EDIT: I testing on the fly, didn't have the right DNS listed, i'm still working on this issue.
gdx.mlb.com is not region protected. It is only used for populating the schedule and create the directory info on the addon screen. There are other *.mlb.com domains that you will have to add however but looks like you have figured it out now.
i'm running this plugin in Kodi 16.1 on Windows 7, and have been having a lot of issues with buffering. Most of the time it runs great---much better than in Chrome or Firefox, but during just about every night it will start freezing at some point during the game. When it does this, sometimes it will come back and start showing the game at high speed, making a run around the bases very impressive! Most of the time I just have to stop the game and restart it. Sometimes that works, most of the time it doesn't.

My HTPC is older, and I plan to upgrade, but I've never had any problems watching mkv movies. I know it's not my internet speed, since I am hard-wired to my router and have a very fast connection. I have tried different MLB speed feeds, but that doesn't seem to make a difference.

I'm not really familiar with streaming in Kodi, since I've never used it for anything besides watching our movie library. Are there some tweaks I should try? I've looked at all the settings in Kodi, and nothing seems to help.

Thank you for any recommendations. Like I said, this plugin is still much better than using a Windows browser!!
(2016-05-19, 02:54)Carter698 Wrote: [ -> ]i'm running this plugin in Kodi 16.1 on Windows 7, and have been having a lot of issues with buffering. Most of the time it runs great---much better than in Chrome or Firefox, but during just about every night it will start freezing at some point during the game. When it does this, sometimes it will come back and start showing the game at high speed, making a run around the bases very impressive! Most of the time I just have to stop the game and restart it. Sometimes that works, most of the time it doesn't.

My HTPC is older, and I plan to upgrade, but I've never had any problems watching mkv movies. I know it's not my internet speed, since I am hard-wired to my router and have a very fast connection. I have tried different MLB speed feeds, but that doesn't seem to make a difference.

I'm not really familiar with streaming in Kodi, since I've never used it for anything besides watching our movie library. Are there some tweaks I should try? I've looked at all the settings in Kodi, and nothing seems to help.

Thank you for any recommendations. Like I said, this plugin is still much better than using a Windows browser!!

Its not you, its them Rolleyes

Seriously though, Its the MLB Advanced Media (MLBAM) at fault here. This year they have become a CDN and are carrying many more services for other streaming sports like NHL and some ESPN platform feeds. On top of that they are streaming 60 fps for some networks including their own and have done promotions like free mlbtv for TMobile etc to expand their user base all while not enough boost to their infrastructure to handle the bandwidth requirements which are now multiples of what they needed last year. They are probably looking to break even in 3-4 years if not more *if nothing else changes* but they might continue to expand to other sports networks for revenue and bandwidth also becoming cheaper with time in addition to increasing paid subscribers. All in all complex mumbo jumbo.

As a paying subscriber you should always make them aware of your problems to have them look into fixing things sooner for customers. In the meantime all I can say is I watch the SD feeds for a smoother experience rather than better visuals. And even then I do see those freezing once/twice during a full game or even replays.
Believe me, I made MLB aware of my problems when I tried their online service a couple years ago (using a Windows browser). I eventually got my money back, and switched to the DirecTV version. This year I decided to try MLB online again after reading about the Kodi plugin, and it seems to work most of the time.

Since I haven't read any other posts in this forum regarding buffering I was hoping that there might be some settings I could try to tweak. I have never used Kodi for streaming. I am tempted to buy a streamer like Roku, but I'd sure like to use Kodi.
The addon is still the best option by far. There are certain times when even 60 fps will stream just great for 30+ minutes before choking. MLBAM has also improved heaps compared to 2 years ago, it just has added a lot more extra baggage to it along with a lot of subscribers to serve to across multiple sports.
(2016-05-19, 04:00)siuside Wrote: [ -> ]
(2016-05-19, 02:54)Carter698 Wrote: [ -> ]i'm running this plugin in Kodi 16.1 on Windows 7, and have been having a lot of issues with buffering. Most of the time it runs great---much better than in Chrome or Firefox, but during just about every night it will start freezing at some point during the game. When it does this, sometimes it will come back and start showing the game at high speed, making a run around the bases very impressive! Most of the time I just have to stop the game and restart it. Sometimes that works, most of the time it doesn't.

My HTPC is older, and I plan to upgrade, but I've never had any problems watching mkv movies. I know it's not my internet speed, since I am hard-wired to my router and have a very fast connection. I have tried different MLB speed feeds, but that doesn't seem to make a difference.

I'm not really familiar with streaming in Kodi, since I've never used it for anything besides watching our movie library. Are there some tweaks I should try? I've looked at all the settings in Kodi, and nothing seems to help.

Thank you for any recommendations. Like I said, this plugin is still much better than using a Windows browser!!

Its not you, its them Rolleyes

Seriously though, Its the MLB Advanced Media (MLBAM) at fault here. This year they have become a CDN and are carrying many more services for other streaming sports like NHL and some ESPN platform feeds. On top of that they are streaming 60 fps for some networks including their own and have done promotions like free mlbtv for TMobile etc to expand their user base all while not enough boost to their infrastructure to handle the bandwidth requirements which are now multiples of what they needed last year. They are probably looking to break even in 3-4 years if not more *if nothing else changes* but they might continue to expand to other sports networks for revenue and bandwidth also becoming cheaper with time in addition to increasing paid subscribers. All in all complex mumbo jumbo.

As a paying subscriber you should always make them aware of your problems to have them look into fixing things sooner for customers. In the meantime all I can say is I watch the SD feeds for a smoother experience rather than better visuals. And even then I do see those freezing once/twice during a full game or even replays.
The problems Carter698 described are exactly what I'm experiencing on my year old Win 8.1, i7, 16 gb ram desktop. I think it's most likely on MLB's end, or possibly Comcast throttling bandwidth...I can't say it's worse than last year, though, thanks to the Kodi plugin...I might file a claim with paypal..
(2016-05-19, 05:15)architeuthis Wrote: [ -> ]
(2016-05-19, 04:00)siuside Wrote: [ -> ]
(2016-05-19, 02:54)Carter698 Wrote: [ -> ]i'm running this plugin in Kodi 16.1 on Windows 7, and have been having a lot of issues with buffering. Most of the time it runs great---much better than in Chrome or Firefox, but during just about every night it will start freezing at some point during the game. When it does this, sometimes it will come back and start showing the game at high speed, making a run around the bases very impressive! Most of the time I just have to stop the game and restart it. Sometimes that works, most of the time it doesn't.

My HTPC is older, and I plan to upgrade, but I've never had any problems watching mkv movies. I know it's not my internet speed, since I am hard-wired to my router and have a very fast connection. I have tried different MLB speed feeds, but that doesn't seem to make a difference.

I'm not really familiar with streaming in Kodi, since I've never used it for anything besides watching our movie library. Are there some tweaks I should try? I've looked at all the settings in Kodi, and nothing seems to help.

Thank you for any recommendations. Like I said, this plugin is still much better than using a Windows browser!!

Its not you, its them Rolleyes

Seriously though, Its the MLB Advanced Media (MLBAM) at fault here. This year they have become a CDN and are carrying many more services for other streaming sports like NHL and some ESPN platform feeds. On top of that they are streaming 60 fps for some networks including their own and have done promotions like free mlbtv for TMobile etc to expand their user base all while not enough boost to their infrastructure to handle the bandwidth requirements which are now multiples of what they needed last year. They are probably looking to break even in 3-4 years if not more *if nothing else changes* but they might continue to expand to other sports networks for revenue and bandwidth also becoming cheaper with time in addition to increasing paid subscribers. All in all complex mumbo jumbo.

As a paying subscriber you should always make them aware of your problems to have them look into fixing things sooner for customers. In the meantime all I can say is I watch the SD feeds for a smoother experience rather than better visuals. And even then I do see those freezing once/twice during a full game or even replays.
The problems Carter698 described are exactly what I'm experiencing on my year old Win 8.1, i7, 16 gb ram desktop. I think it's most likely on MLB's end, or possibly Comcast throttling bandwidth...I can't say it's worse than last year, though, thanks to the Kodi plugin...I might file a claim with paypal..

I experience the same thing on my 8 core Windows 10 based PC, connected via Gigabit Ethernet to a 200 megabit cable connection. It's definitely the MLB stream itself. Seeing as I am on the free T-Mobile package, I didn't pay anything, so I don't have much to complain about. It seems to happen a few times per game. Happens on AppleTV too, so I definitely don't think it's anything on your end.
(2016-05-14, 00:24)MetalChris Wrote: [ -> ]
(2016-05-13, 19:56)matty8199 Wrote: [ -> ]any idea when the free game of the day might be fixed? also, any possibility of adding bookmarks / ability to skip around to different innings in finished games (or even ongoing games)?

You should be able to skip ahead in the replays using the number keys on your keyboard and then the right arrow key. For example: 3000 and then press the right arrow key will move you 30 minutes ahead or 3000 and the left arrow will skip back 30 minutes.

yeah, i know this...i'm talking about the bookmarks that mlb.tv adds that allows you to jump directly to the start of a half inning.