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.
(2017-04-06, 03:12)eracknaphobia Wrote: [ -> ]Looks like this buffering may be chalked up to CDN. From what I'm seeing, the Akami feeds play fine but the Level 3 streams buffer like crazy. This would also line up with some people having terrible buffering and others having virtually none. At least this is a good place to start, we will see what sticks. I should have an update out by tomorrow afternoon.

awesome, you rock. i'm leaving for australia tomorrow evening so i might not be able to help test it, but thanks for all you do. is there a way i can check (via kodi log or dns or whatever else) for the rest of tonight's games which streams i have playing to see if my experience fits the pattern you described?
(2017-04-05, 03:04)mooninite Wrote: [ -> ]
(2017-04-03, 06:15)mooninite Wrote: [ -> ]
(2017-04-03, 02:52)eracknaphobia Wrote: [ -> ]https://github.com/eracknaphobia/plugin....Jarvis.zip

I've also added a link to the most current Jarvis version on the first post as well.

I've tried this zip with Kodi 16.1 (version numbers are a little more helpful) and I cannot get a live stream or archived game stream to work but highlights work.

When I try to start a live or archived game Kodi crashes. Nothing helpful prints in the kodi.log.

It seems to be localized to Kodi 16.1 as running Kodi 17 the live games play fine. I'll try to give you more information when I can.

I've localized it a bit further. It is a setting, but I can't figure out what setting. Uninstalling, deleting the addon settings.xml and re-installing the addon didn't help either. I had to create a fresh ~/.kodi folder and reset all of my settings and add-ons. The live games are now playing for Kodi 16. *sigh*

There were a few times when Kodi said "unable to play" and the log showed the following:
Code:
18:45:49 T:140133028553152  NOTICE: DVDPlayer: Opening:
18:45:49 T:140133028553152 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:45:49 T:140132485535488  NOTICE: Creating InputStream
18:45:49 T:140132485535488   ERROR: CDVDPlayer::OpenInputStream - error opening []
18:45:49 T:140132485535488  NOTICE: CDVDPlayer::OnExit()
18:45:49 T:140133028553152   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.mlbtv/?mode=104&name=%5BCOLOR%3DFFF69E20%5DB+2nd%5B%2FCOLOR%5D+Marlins+%5BCOLOR%3DFF00B7EB%5D2%5B%2FCOLOR%5D+at+Nationals+%5BCOLOR%3DFF00B7EB%5D1%5B%2FCOLOR%5D&event_id=14-490127-2017-04-05&gid=2017%2F04%2F05%2Fmiamlb-wasmlb-1&teams_stream=miawas&stream_date=2017-04-05]
18:45:49 T:140133028553152  NOTICE: CDVDPlayer::CloseFile()
18:45:49 T:140133028553152  NOTICE: DVDPlayer: waiting for threads to exit
18:45:49 T:140133028553152  NOTICE: DVDPlayer: finished waiting
18:45:49 T:140133028553152  NOTICE: CDVDPlayer::CloseFile()
18:45:49 T:140133028553152  NOTICE: DVDPlayer: waiting for threads to exit
18:45:49 T:140133028553152  NOTICE: DVDPlayer: finished waiting
When Kodi crashes though, none of the above is printed. The log just ends before any type of playback information is written to the log. I thought it might be a acceleration, deinterlace, or audio setting, but toggling them to different settings made no difference. Only a fresh start did.
RFE: Add SOCKSv4/v5 (unauthenticated) proxy support. It appears the Proxy support you added is for HTTP (authenticated) only. If you accept patches I can provide something if it is beyond what you wish to provide.

However, I'm afraid if MLB AM finds out that this add-on now provides proxy support they will find a way to block it or change off HTTP-HLS to something proprietary.
Update 2017.4.6 Released
- Added CDN option in settings
- Updated stream urls
(2017-04-06, 02:08)matty8199 Wrote: [ -> ]
(2017-04-06, 01:38)SoxFAN Wrote: [ -> ]
(2017-04-05, 22:55)eracknaphobia Wrote: [ -> ]From my experience fire sticks just can't handle the 60fps feeds. I've only owned a first gen fire stick, so maybe they're better now but I don't currently have one to test that theory against.

I have a 2nd Gen Firestick and the feed is good on the MLB TV App and even better in your Kodi Addon on 17.1 I had issues of Kodi Force closing earlier in the spring but in reading some of the posts here it looks like you fixed that. I have zero buffering running on wifi with about 40-45 Mbps. Yes the 2nd Gen has a faster processing speed

running the 5k feeds? i obviously have something strange going on then considering i can't even get them to play solidly for more than a few minutes without buffering on my macbook pro...it seems every half inning or so the buffer runs out for some reason. sometimes more often, sometimes less often, but i can't get more than an inning or so without a buffering issue. it seems to happen especially often during commercial breaks, but that might be coincidental...

Yes running the 5k Feeds
So what exactly does the CDN option do?
It lets you manually set which network to stream from.
https://en.wikipedia.org/wiki/Content_delivery_network
(2017-04-06, 22:59)eracknaphobia Wrote: [ -> ]It lets you manually set which network to stream from.
https://en.wikipedia.org/wiki/Content_delivery_network

Great, thanks for that.


I think Ive narrowed down my buffering issues. Its my DNS/VPN. I have tried 2 different DNS services (adfreetime, unlocator) and a couple of VPN services and each time I have them on it buffers. I also tried to use the built in proxy server inside the app but the game wont even load when I do that. But when i turn them off it streams without issue. Im using a Nvidia Shield , Android TV.
(2017-04-06, 23:06)newtonfb Wrote: [ -> ]
(2017-04-06, 22:59)eracknaphobia Wrote: [ -> ]It lets you manually set which network to stream from.
https://en.wikipedia.org/wiki/Content_delivery_network

Great, thanks for that.


I think Ive narrowed down my buffering issues. Its my DNS/VPN. I have tried 2 different DNS services (adfreetime, unlocator) and a couple of VPN services and each time I have them on it buffers. I also tried to use the built in proxy server inside the app but the game wont even load when I do that. But when i turn them off it streams without issue. Im using a Nvidia Shield , Android TV.

Many DNS/VPN services are simply not designed for the high bandwidth requirements of streaming HD content. Additionally, when using one, you're essentially re-routing net traffic, and generally adding distance between yourself and the origin of the content. I understand the need for using such services (I use one from time to time myself), but along with the positive aspects, there are negative aspects to consider as well.
(2017-04-06, 23:06)newtonfb Wrote: [ -> ]
(2017-04-06, 22:59)eracknaphobia Wrote: [ -> ]It lets you manually set which network to stream from.
https://en.wikipedia.org/wiki/Content_delivery_network

Great, thanks for that.


I think Ive narrowed down my buffering issues. Its my DNS/VPN. I have tried 2 different DNS services (adfreetime, unlocator) and a couple of VPN services and each time I have them on it buffers. I also tried to use the built in proxy server inside the app but the game wont even load when I do that. But when i turn them off it streams without issue. Im using a Nvidia Shield , Android TV.

i've noticed that too...i think i may have come up with a solution, but it's pretty involved. so far it seems to work, but i only have about 7 innings worth of data to confirm that this afternoon. i'll be away for a week, but i'll do some more testing when i get home next weekend and if it looks solid i'll share it here...

edit: yeah, nevermind. it's still buffering way too much...was perfect this afternoon watching padres/dodgers, but nats/marlins right now is unwatchable. this is using the updated plugin and locking CDN to akamai.
actually, i think i see the issue from looking at my dns logs...it's only looking for ipv6. previous version as far as i could see were checking ipv4 too...is this new? my dns server isn't set up for ipv6, so it's returning no-data...
nevermind, again. i set my dns to auto forward to what google dns returns me for mlblive-akc.mlb.com, and it's still buffering. does anyone know the southern california IPs for akamai? for some reason it's giving me servers in the middle of kansas...

the padres/dodgers game was absolutely flawless for 7 innings this afternoon...so far for the 7pm eastern games i can't get more than a half inning in without it buffering again. i want to say it's a mlb issue, but when i switched to my roku it worked fine...so i'm out of ideas. i guess i'm going to have to watch more often on roku, but i really wanted to keep using kodi to be able to overlay the radio feeds if i choose to. i'm still hopeful we'll be able to figure this out...
Anyone else having the commercial breaks go back to the "games today" screen and then needing to restart the game?
Not happening all the time but periodically, I'll keep an eye out and post a log if it keeps happening.
(2017-04-07, 01:35)sask3m Wrote: [ -> ]Anyone else having the commercial breaks go back to the "games today" screen and then needing to restart the game?
Not happening all the time but periodically, I'll keep an eye out and post a log if it keeps happening.

not me, but i almost always have buffering when it goes to commercial breaks. i have periodic buffering during the games as well, but literally almost every single time it goes to commercial i end up with a bout of buffering...
Buffering isn't to bad for me but this resetting back to the games today screen is getting old. Im using an android nexus player.