eracknaphobia / plugin.video.slingtv

GNU General Public License v3.0
2 stars 1 forks source link

Sling Freestream channels are not populated #9

Closed drewvs closed 2 weeks ago

drewvs commented 3 weeks ago

Freestream channels are not populated within the playlist.m3u8 playlist using either a premium account with freestream enabled or creating a free account with the app. While premium is working properly, a playlist.m3u8 is empty after doing the channel import:

#EXTM3U
## Sling TV

Debug output

2024-11-10 10:43:13.382 T:458757    info <general>: [service.iptv.manager] [resources.lib.functions] Routing to function: open_settings
2024-11-10 10:43:16.028 T:458758    info <general>: [service.iptv.manager] [resources.lib.functions] Routing to function: refresh
2024-11-10 10:43:16.067 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Updating IPTV data for plugin.video.slingtv...
2024-11-10 10:43:16.067 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Requesting channels from plugin://plugin.video.slingtv/iptv/channels...
2024-11-10 10:43:16.067 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Bound on port 40987...
2024-11-10 10:43:16.070 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Executing RunPlugin(plugin://plugin.video.slingtv/iptv/channels?port=40987)...
2024-11-10 10:43:16.070 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Waiting for a connection from plugin.video.slingtv on port 40987...
2024-11-10 10:43:16.447 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Connected to 127.0.0.1:46296! Waiting for result...
2024-11-10 10:43:16.628 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Closing socket on port 40987
2024-11-10 10:43:16.638 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] {'version': 1, 'streams': []}
2024-11-10 10:43:16.638 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Requesting epg from plugin://plugin.video.slingtv/iptv/epg...
2024-11-10 10:43:16.638 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Bound on port 57379...
2024-11-10 10:43:16.638 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Executing RunPlugin(plugin://plugin.video.slingtv/iptv/epg?port=57379)...
2024-11-10 10:43:16.638 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Waiting for a connection from plugin.video.slingtv on port 57379...
2024-11-10 10:43:16.979 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Connected to 127.0.0.1:42876! Waiting for result...
2024-11-10 10:43:17.028 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] Closing socket on port 57379
2024-11-10 10:43:17.028 T:458758    info <general>: [service.iptv.manager] [resources.lib.modules.addon] {'version': 1, 'epg': {}}
2024-11-10 10:43:17.028 T:458758 warning <general>: [service.iptv.manager] [resources.lib.modules.addon] Skipping EPG from plugin://plugin.video.slingtv/iptv/epg since it is incomplete
2024-11-10 10:43:17.040 T:458683    info <general>: PVR Manager: Stopping
2024-11-10 10:43:17.664 T:458698    info <general>: EPG Container: Persisting unsaved events...
2024-11-10 10:43:17.664 T:458698    info <general>: EPG Container: Persisting events done
2024-11-10 10:43:17.664 T:458691    info <general>: PVR Manager: Stopped
2024-11-10 10:43:18.728 T:458683    info <general>: ADDON: Dll Destroyed - IPTV Simple Client
2024-11-10 10:43:18.728 T:458694    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - Create - Creating the PVR IPTV Simple add-on
2024-11-10 10:43:18.729 T:458694    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - Init - Loaded '3' providers mappings
2024-11-10 10:43:18.729 T:458694    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList Playlist Loaded - 0 (ms)
2024-11-10 10:43:18.729 T:458694   error <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Unable to load channels or media from file '/home/drew/.kodi/userdata/addon_data/service.iptv.manager/playlist.m3u8'
2024-11-10 10:43:18.729 T:458694    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 channels.
2024-11-10 10:43:18.729 T:458694    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 channel groups.
2024-11-10 10:43:18.729 T:458694    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 providers.
2024-11-10 10:43:18.729 T:458694    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 0 media items.
2024-11-10 10:43:18.730 T:458694   error <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadChannelEpgs - EPG channels not found.
2024-11-10 10:43:18.730 T:458694    info <general>: AddOnLog: pvr.iptvsimple: Create Starting separate client update thread...
2024-11-10 10:43:18.730 T:458694    info <general>: PVR Manager: Starting
2024-11-10 10:43:18.731 T:458765    info <general>: PVR Manager: Started

I'm looking into why it's empty and I believe the metadata is getting parsed improperly.

eracknaphobia commented 2 weeks ago

From what I can tell it looks like the channels_url now returns an empty subscriptionpacks array. Most likely an upstream change.

xags commented 2 weeks ago

Interesting, the d21spike/your old addon appears to be still grabbing this correctly and can't figure this out either..

drewvs commented 2 weeks ago

@eracknaphobia Tested and this appears to have fixed the issue, thanks!

drewvs commented 2 weeks ago

Spoke too soon. Works for an account that is only free stream but not for one that has a blue/orange subscription with free stream.

eracknaphobia commented 2 weeks ago

ok, I'll look into it.

@drewvs You do have the Include Free Channels enabled in settings correct?

drewvs commented 2 weeks ago

@eracknaphobia I do. I also cleared, refreshed, enabled, refreshed.

drewvs commented 2 weeks ago

Works great now! Thanks!