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.
(2019-03-29, 00:07)eracknaphobia Wrote: [ -> ]@matty8199 So I get home to do some testing and everything is working?? Are you still having issues?

good question, i'll have to check.  i've been watching on my roku (which worked from the start) so i haven't tried anything else...hang on i'll check.

edit: yep, still "not-entitled" for everything.
(2019-03-29, 00:07)eracknaphobia Wrote: [ -> ]@matty8199 So I get home to do some testing and everything is working?? Are you still having issues?

EDIT: I only get "not-entitled" with my TMOBILE account. Normal accounts seem to work...
that would make sense, this is my free t-mo account i'm using...i wonder if they changed something only for the t-mobile accounts.  would be strange, but who knows?
(2019-03-28, 19:02)matty8199 Wrote: [ -> ]getting "not-entitled" for all games.  was working fine right up through the end of spring training on tuesday...

I only have a "free" account at the moment.  I was able to watch any and all spring training games.  Today, I am only able to watch the "free game of the day (fortunately it's my White Sox at KC)."  So it seems to be working just fine for me.  BTW, I'm running Kodi 17.6 (OSMC) on a Raspberry Pi 3.
Thanks for the sanity check @Dennis_D I'll keeping looking into the T-mobile issue. The login code should probably be updated anyway.
(2019-03-29, 01:20)eracknaphobia Wrote: [ -> ]Thanks for the sanity check @Dennis_D I'll keeping looking into the T-mobile issue. The login code should probably be updated anyway.

It's working here with no apparently problems. But that's with a subscription purchased for full price, not a TMOBILE subscription.
(2019-03-29, 01:20)eracknaphobia Wrote: [ -> ]Thanks for the sanity check @Dennis_D I'll keeping looking into the T-mobile issue. The login code should probably be updated anyway.

i'll add another data point, in case it helps: free game of the day loads even with a t-mobile account...even though i got not-entitled on all other games, i can watch the royals/white sox game even with my t-mo credentials in the add-on.
I don't think the problem is with the add-on but rather the T-Mobile free subscription. Free games are available to anybody so playing those does not give any useful information.

Even the MLB At Bat app on Android isn't allowing me to watch with a T-Mobile subscription. The MLB app is throwing "An Unknown Error Occurred. Please try again" on the MLB.TV screen and asking me to login with another MLB.com account. My profile on MLB.com lists the subscription as

MLB.TV T-Mobile
You are currently subscribed to MLB.TV Yearly.
Your subscription will expire March 1, 2020.

So, it is a different subscription. Most likely they have not enabled these T-Mobile subscriptions for the streaming service.

I remember having a similar problem many years ago for T-Mobile subscriptions. It took a couple of days before the access to the streaming was available. Contacting T-Mobile support en masse may speed up that process.
(2019-03-29, 03:29)Common Man Wrote: [ -> ]I don't think the problem is with the add-on but rather the T-Mobile free subscription. Free games are available to anybody so playing those does not give any useful information.

Even the MLB At Bat app on Android isn't allowing me to watch with a T-Mobile subscription. The MLB app is throwing "An Unknown Error Occurred. Please try again" on the MLB.TV screen and asking me to login with another MLB.com account. My profile on MLB.com lists the subscription as

MLB.TV T-Mobile
You are currently subscribed to MLB.TV Yearly.
Your subscription will expire March 1, 2020.

So, it is a different subscription. Most likely they have not enabled these T-Mobile subscriptions for the streaming service.

I remember having a similar problem many years ago for T-Mobile subscriptions. It took a couple of days before the access to the streaming was available. Contacting T-Mobile support en masse may speed up that process.

this is definitely not the issue - i've been watching games all day on my roku via the t-mobile subscription.  they may have a different account type and a different authentication, but to say it's not enabled for streaming is 100% not accurate.
(2019-03-29, 03:30)matty8199 Wrote: [ -> ]
(2019-03-29, 03:29)Common Man Wrote: [ -> ]I don't think the problem is with the add-on but rather the T-Mobile free subscription. Free games are available to anybody so playing those does not give any useful information.

Even the MLB At Bat app on Android isn't allowing me to watch with a T-Mobile subscription. The MLB app is throwing "An Unknown Error Occurred. Please try again" on the MLB.TV screen and asking me to login with another MLB.com account. My profile on MLB.com lists the subscription as

MLB.TV T-Mobile
You are currently subscribed to MLB.TV Yearly.
Your subscription will expire March 1, 2020.

So, it is a different subscription. Most likely they have not enabled these T-Mobile subscriptions for the streaming service.

I remember having a similar problem many years ago for T-Mobile subscriptions. It took a couple of days before the access to the streaming was available. Contacting T-Mobile support en masse may speed up that process.

this is definitely not the issue - i've been watching games all day on my roku via the t-mobile subscription.  they may have a different account type and a different authentication, but to say it's not enabled for streaming is 100% not accurate. 

Interesting. Roku is able to authenticate but their own MLB At Bat app cannot for these T-Mobile free subscriptions just like the add-on.

BUT, I just noticed the streaming from a desktop web browser works on MLB.tv for T-Mobile subscription.

So, I take back my statement that streaming is not enabled for these subscriptions.

But the authentication is clearly broken for more than just the add-on
If it helps, I looked at the network traffic for the desktop web browser access to a stream.

There is a call to
https://mlbentitlementservices.mlb.com/e...ipalId=<id redacted>&includeFeatures=true

Request method is OPTIONS

The response has no payload but has one cookie
HTTP/2.0 200 OK
date: <redacted>
content-length: 0
set-cookie: __cfduid=<redacted>; expires=<redacted>; path=/; domain=.mlbentitlementservices.mlb.com; HttpOnly
vary: Origin
vary: Access-Control-Request-Method
vary: Access-Control-Request-Headers
access-control-allow-origin: https://www.mlb.com
access-control-allow-methods: GET
access-control-allow-headers: authorization
access-control-allow-credentials: true
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache


This is followed by a GET to the same URL which returns a json object

{"contents":[{"id":"redacted","principalId":"redacted","principalType":"user","alternatePrincipalId":"redacted","entitlementCode":"MLBVIDEOAR",
"source":"TMOBILE_REDEMPTION","sourceId":"redacted","startsOn":"2019-03-26T17:29:23.127+0000",
"expiresOn":"2020-02-28T11:19:00.000+0000","hasClones":false,"entitlementDefinition":
      {"code":"MLBVIDEOAR","displayName":"MLBVIDEOAR","description":"MLB Video and GameDay Audio for auto-renew customers",
"featureCodes":["mobile.atBatPurchased","mobile.highlights","mobile.platformAccess.blackberry","mobile.tvAccess","mobile.classicGames",
"mobile.notifications","mobile.gameday","mobile.stats","mobile.sponsor_tv_override","mobile.tvAccessAndroid","mobile.atBatAccess",
"mobile.platformAccess.windowsphone8","mobile.fgod","mp4.mlbtvOwned","mobile.postseasontv","mobile.androidEnabled",
"mobile.sponsor_app_override","mobile.platformAccess.android","mp4.premiumMessage","cp.mlbtvOwned","mobile.sponsor_fgod_override",
"samsungsse.mlbtvOwned","mobile.audioAccess","mobile.livelookin","mobile.platformAccess.ios"]
},
"isActive":true,"isClone":false}
],"hasMore":false,"contentsCount":1}

Just posting this in case this indicates something has changed in the authentication hand-shake procedure to get the stream.
(2019-03-29, 03:55)Common Man Wrote: [ -> ]If it helps, I looked at the network traffic for the desktop web browser access to a stream.

There is a call to
https://mlbentitlementservices.mlb.com/e...ipalId=<id redacted>&includeFeatures=true

Request method is OPTIONS

The response has no payload but has one cookie
HTTP/2.0 200 OK
date: <redacted>
content-length: 0
set-cookie: __cfduid=<redacted>; expires=<redacted>; path=/; domain=.mlbentitlementservices.mlb.com; HttpOnly
vary: Origin
vary: Access-Control-Request-Method
vary: Access-Control-Request-Headers
access-control-allow-origin: https://www.mlb.com
access-control-allow-methods: GET
access-control-allow-headers: authorization
access-control-allow-credentials: true
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache


This is followed by a GET to the same URL which returns a json object

{"contents":[{"id":"redacted","principalId":"redacted","principalType":"user","alternatePrincipalId":"redacted","entitlementCode":"MLBVIDEOAR",
"source":"TMOBILE_REDEMPTION","sourceId":"redacted","startsOn":"2019-03-26T17:29:23.127+0000",
"expiresOn":"2020-02-28T11:19:00.000+0000","hasClones":false,"entitlementDefinition":
      {"code":"MLBVIDEOAR","displayName":"MLBVIDEOAR","description":"MLB Video and GameDay Audio for auto-renew customers",
"featureCodes":["mobile.atBatPurchased","mobile.highlights","mobile.platformAccess.blackberry","mobile.tvAccess","mobile.classicGames",
"mobile.notifications","mobile.gameday","mobile.stats","mobile.sponsor_tv_override","mobile.tvAccessAndroid","mobile.atBatAccess",
"mobile.platformAccess.windowsphone8","mobile.fgod","mp4.mlbtvOwned","mobile.postseasontv","mobile.androidEnabled",
"mobile.sponsor_app_override","mobile.platformAccess.android","mp4.premiumMessage","cp.mlbtvOwned","mobile.sponsor_fgod_override",
"samsungsse.mlbtvOwned","mobile.audioAccess","mobile.livelookin","mobile.platformAccess.ios"]
},
"isActive":true,"isClone":false}
],"hasMore":false,"contentsCount":1}

Just posting this in case this indicates something has changed in the authentication hand-shake procedure to get the stream.

I know this doesn't help, but I too am getting the entitlement error using the Kodi plugin with a T-Mobile Free Subscription. I am able to login on my PC through the browser, and on my old Apple TV.
@eracknaphobia looks like they were able to figure it out on mlbstreamer...

https://github.com/tonycpsu/streamglob/b...ers/bam.py
Update 2019.3.31 is now available from my repo. This should fix the login issues with t-mobile accounts.

NOTE: You may have to restart kodi after installing as I've added new settings.
Thanks for a great addon!  I just upgraded to 2019.3.31.  I also restarted. But now it looks like I am running into a problem.  I am able to see the games listed and can play the highlights and condensed game, but when I attempt to play a live stream or a previously recorded game I get an error and I am told to check the log.  This is what I get in the kodi.log file:

https://paste.kodi.tv/agereruzul.kodi

Any help is greatly appreciated.
(2019-04-02, 17:50)gmythx Wrote: [ -> ]Thanks for a great addon!  I just upgraded to 2019.3.31.  I also restarted. But now it looks like I am running into a problem.  I am able to see the games listed and can play the highlights and condensed game, but when I attempt to play a live stream or a previously recorded game I get an error and I am told to check the log.  This is what I get in the kodi.log file:

https://paste.kodi.tv/agereruzul.kodi

Any help is greatly appreciated.

Try running Log Out from the addon settings.