d21spike / plugin.video.sling

Sling TV Add-On for Kodi
GNU General Public License v3.0
18 stars 14 forks source link

NBA League Pass #39

Open crak3rjack opened 2 years ago

crak3rjack commented 2 years ago

@d21spike I logged in and i have a NBA League Pass but I don't see the channels, even if there empty aren't they supposed to been seen or not until there's an active game or im missisng something and thanks.

d21spike commented 2 years ago

Can you... Enable Kodi Debug Logging image

Enable Sling Addon Logging image

And paste a log. Specifically a chunk that looks like this

2021-10-19 18:44:39.187 T:17008   DEBUG <general>: plugin.video.sling-2021.5.6.1- auth::getUserSubscriptions() Response = > {
                                                       "id": 31337332,
                                                       "login": null,
                                                       "name": "***REDACTED***",
                                                       "email": "***REDACTED***",
                                                       "postal_code": "***REDACTED***",
                                                       "locale": "en-US",
                                                       "guid": "",
                                                       "samsung_account_id": null,
                                                       "allow_cancel": false,
                                                       "subscriptionpacks": [
                                                       ],
                                                       "domain_key": 1,
                                                       "epg_host": "cbd46b77.cms.movetv.com",
                                                       "cms_host": "http://cbd46b77.cms.movetv.com",
                                                       "skin": "dishworld",
                                                       "lineup_key": "",
                                                       "free_recording_space": 180000,
                                                       "total_recording_space": 180000,
                                                       "rewind_limit": 10,
                                                       "eula": null,
                                                       "account_status": "active",
                                                       "billing_partner": "SLING",
                                                       "billing_method": "***REDACTED***",
                                                       "parental_controls_configured": false,
                                                       "created_at": "2018-10-04T17:00:36Z",
                                                       "billing_zipcode": "***REDACTED***",
                                                       "feature_list": {
                                                           "airtv_enabled": true,
                                                           "is_freemium": false,
                                                           "freeemium_identifier": null
                                                       },
                                                       "eligible_extra_lineup_key": "",
                                                       "restart_packs_lineup_key": null,
                                                       "switch_packs_lineup_key": "",
                                                       "has_dvr": true,
                                                       "dvr_status": "active",
                                                       "dvr_tier": "free",
                                                       "concurrency_limit": 1
                                                   }

You can search for auth::getUserSubscriptions() to jump to the right section. This will allow me to see what is returned from Sling servers regarding your account. Don't worry identifiable information should be already removed.

d21spike commented 2 years ago

I can at least say NBA does work, just gotta figure out your issue.. image

d21spike commented 2 years ago

Actually I need it unmodified. Like I said, there isn't anything identifiable.

crak3rjack commented 2 years ago

@d21spike Here is another one let me know https://pastebin.com/ju2Gjak5

d21spike commented 2 years ago

Ok so your account definitely returns with NBA League Pass ID 288 GUID 9235fcc867c4440792afb64930c53160

These are the channels you're entitled to. Can you confirm you are missing some?

Name
A&E
ABC News Live
AMC
AMC Thrillers
AXS
All Reality WE tv
All Weddings by WEtv
Atlanta Hawks
BBC America
BET
BNCgo
BUZZR
Barstool Sports
Big World
Bloody Disgusting
Bloomberg Television
Bon Appetit
Boston Celtics
Brooklyn Nets
CBS News
CNN
CONtv
Cartoon Network & Adult Swim
Charlotte Hornets
Cheddar News
Chicago Bulls
Choppertown
Cine Club
Circle
Cleveland Cavaliers
Comedy Central
Comedy Dynamics
Comet
DUST
Dallas Mavericks
Danger TV
Denver Nuggets
Detroit Pistons
Discovery Networks on Demand
Disney Channel
Docurama
Dove Channel
DraftKings Baseball
DraftKings College Football
DraftKings Football
DraftKings Hockey
EPIX Drive-In
ESPN
ESPN On Demand
ESPN2
ESPN3
ESR
ESTV
ET Live
Electric Now
Fail Army
Fawesome
FilmRise
FlixFling Now
Food Network
Free Speech TV
Freeform
Fuse
Glewed TV
Golden State Warriors
Gravitas Movies
Gusto
HGTV
Hi-YAH!
History
Houston Rockets
IFC
IFC Films Picks
Indiana Pacers
Investigation Discovery
Kabillion
Kartoon Channel
Latido Music
Law & Crime Rewind
Lifetime
LiveXLive
Lo Mejor de Liga MX
Local Now
Lone Star Classics
Los Angeles Clippers
Los Angeles Lakers
Maverick Black Cinema
Memphis Grizzlies
Miami Heat
Milwaukee Bucks
Minnesota Timberwolves
MotorTrend
MyTime Movie Network
NBA On Demand
NBA TV
New Orleans Pelicans
New York Knicks
Newsy
Nick Jr.
Novelas de Oro
Novelas de Romance
Novelas en Familia
Oklahoma City Thunder
Orlando Magic
Outside tv +
Pac Films
Pac-12 Insider
Philadelphia 76ers
Phoenix Suns
PlayersTV
Portland Trail Blazers
QVC
Real Madrid TV
Ryan and Friends
SLING Free Preview Info
Sacramento Kings
San Antonio Spurs
Shout! Factory
Slightly Off IFC
So Yummy!
So...Real
SportsGrid
Stadium
Stories By AMC
TBS
TD Ameritrade
TNT
Tastemade
The Bob Ross Channel
The Design Network
The Film Detective
The Only Way Is Essex
The Pet Collective
The Walking Dead Universe
TheArchive
TheGrapevine
Toronto Raptors
Travel Channel
Utah Jazz
VICE
Washington Wizards
beIN SPORTS XTRA
pocket.watch
crak3rjack commented 2 years ago

@d21spike im only missing NBA League Pass... everything else is there!

d21spike commented 2 years ago

NBA League Pass is simply the name if the subscription not an actual channel. The subscription gets you access to the following channels. If you would like to see for yourself ... just search for channel_name NBA League Pass JSON

NBA TV
Atlanta Hawks
Boston Celtics
Brooklyn Nets
Charlotte Hornets
Chicago Bulls
Cleveland Cavaliers
Dallas Mavericks
Denver Nuggets
Detroit Pistons
Golden State Warriors
Houston Rockets
Indiana Pacers
Los Angeles Clippers
Los Angeles Lakers
Memphis Grizzlies
Miami Heat
Milwaukee Bucks
Minnesota Timberwolves
New Orleans Pelicans
New York Knicks
Oklahoma City Thunder
Orlando Magic
Philadelphia 76ers
Phoenix Suns
Portland Trail Blazers
Sacramento Kings
San Antonio Spurs
Toronto Raptors
Utah Jazz
Washington Wizards
crak3rjack commented 2 years ago

@d21spike ok i understand... is there a fix and thanks.

d21spike commented 2 years ago

A fix for what? As far as I see it you are receiving all the channels Sling is providing you. Or are you saying you are missing the channels provided by the League Pass as I listed above?

The Channels menu will only display anything that either has something currently on "live" or "on demand". So if the channel isn't currently playing a game and doesn't have any On Demand content then it will not be shown. The list is updated every time the menu is opened. For example Washington Wizzards below. You can see there is no programming and On Demand is false.

{
    "Name": "Washington Wizards",
    "Call_Sign": "NBAWAS",
    "ID": 1565,
    "GUID": "23598ed0ec7945afa0cf0bc3f24987f1",
    "On_Now": {
        "Channel_GUID": "23598ed0ec7945afa0cf0bc3f24987f1",
        "Start": 1634688000,
        "Stop": 1634691600,
        "Name": "OFF-AIR",
        "Description": "Check back later for exciting Sports Programming",
        "Thumbnail": "icon.png",
        "Poster": "http://p-img.movetv.com/cms/images/24969824018d753395868b2ce8f0613dcf65ae4e.png",
        "Genre": "",
        "Rating": "US MPAA UR"
    },
    "Thumbnail": "http://p-img.movetv.com/cms/images/a36f30bb124e028fc0a855ae3a8aed53f256081b.png",
    "Poster": "http://p-img.movetv.com/cms/images/5e3ec0d7238ae7225ccf25d757fc5f418c684be2.png",
    "Language": "English",
    "Genre": "Sports",
    "Offered": true,
    "Qvt_Url": "http://cbd46b77.cdn.cms.movetv.com/cms/api/channels/23598ed0ec7945afa0cf0bc3f24987f1/schedule/now/playback_info.qvt",
    "On_Demand": false
}

At the same time you can goto My TV -> NBA Season Tip-Off and see the schedule or play whatever is currently on. image

In this case Brooklyn Nets at Milwaukee Bucks is actually on TNT

{
    "Name": "TNT",
    "Call_Sign": "TNTHD",
    "ID": 499,
    "GUID": "23a92a8fb160489b97fd746536551d50",
    "On_Now": {
        "Channel_GUID": "23a92a8fb160489b97fd746536551d50",
        "Start": 1634686200,
        "Stop": 1634695200,
        "Name": "Brooklyn Nets at Milwaukee Bucks",
        "Description": "Brooklyn Nets at Milwaukee Bucks. From Fiserv Forum. The Bucks raise their first championship banner in 50 years before this rematch of last season's conference semifinals, won in seven games by Milwaukee despite Kevin Durant's 48 points in Game 7.",
        "Thumbnail": "icon.png",
        "Poster": "http://p-img.movetv.com/cms/images/82c2d411219b09f50227d62bc21b7ea4fd29f3f4.png",
        "Genre": "basketball, pro, regular season",
        "Rating": "US MPAA UR"
    },
    "Thumbnail": "http://p-img.movetv.com/cms/images/d2f6eed1905d45153e6e325ca0f52c1fa13fd41b.png",
    "Poster": "http://p-img.movetv.com/cms/images/75ac6e397e369a83034c804b4ef59ecd8bf6cad3.png",
    "Language": "English",
    "Genre": "Entertainment, Sports, Movies",
    "Offered": true,
    "Qvt_Url": "http://cbd46b77.cdn.cms.movetv.com/cms/api/channels/23a92a8fb160489b97fd746536551d50/schedule/now/playback_info.qvt",
    "On_Demand": true
}
crak3rjack commented 2 years ago

@d21spike ok that was my question appreciate it for answering and clarifying... thanks!

d21spike commented 2 years ago

No problem, glad to help. Closing the issue unless there was something else?