Beta Sling
(2020-02-10, 22:15)d21spike Wrote:
(2020-02-10, 21:53)Doctor Eggs Wrote: @d21spike 

Great Add-on! I really appreciate the hard work you've done.

I'm having an issue playing channels from the Orange Sling package through IPTV Simple. The Blue Sling channels play just fine. I was trying to play South Park on Comedy Central, but nothing happens.
Here's my log with the error: https://pastebin.com/5uzSYsBz

Orange Channels play fine through the add-on.
Here's my log showing the same South Park episode playing successfully through the add-on: https://pastebin.com/cQUJ29es

It looks like they have different URLs that they are trying to play:
ERROR with IPTV:
plugin://plugin.video.sling/?mode=play&url=http://cbd46b77.cdn.cms.movetv.com/cms/api/channels/29938328f60d447299ec48511a09ebab/schedule/now/playback_info.qvt
SUCCESS with the add-on:
plugin://plugin.video.sling/?mode=play&url=http://cbd46b77.cdn.cms.movetv.com/cms/api/channels/3844c0aee4df43849a938774ee504b4a/schedule/now/playback_info.qvt
I am going to go out on a limb here and say you have changed subscription packages recently. With this, the add-on constantly checks for subscription changes but the guide can become stale due to it's nature.

More specifically, the PVR is trying to play the channel 29938328f60d447299ec48511a09ebab aka COMEDY (Comedy Central).
This channel is available to the following subscriptions:
Sling Orange
Sling Orange and Sling Blue

You are indeed subscribed to Sling Orange and Blue but your subscription package only comes back with 7a0ff80be0c14f4da6b6cc510b9be57b aka COMEDY-M (Comedy Central).
Thus, when you try to play the channel above, it sees it's not in your subscription package and refuses to license.

You can try to trigger Channel Update and Guide Update via Sling add-on settings. If that does not work, proceed one step further to clear cache in the PVR database via Kodi settings...
(exert from IPTV Simple github page)
Clear the EPG cache 
Settings->PVR & Live TV->Guide->Clear cache
For it to take effect in the case of EPG relatd config and for channel related config will need to clear the full cache 
Settings->PVR & Live TV->General->Clear cache

A Kodi restart may be necessary for full effect.   
That didn't work for me. I was able to get it figured out by adding ordering to the query in the getChannels function so that the Orange URL is selected (which is the correct one) instead of the blue.

I sent you a pull request on Git with this update. It looks like there are a lot of changes in Git that I don't have locally so I'm pretty sure I made the change in the correct place. getChannels looks like it got moved to the Guide service.

For anyone that is also having this issue, you can go to addons/plugin.video.sling/resources/lib/service/slinger.py go to line 575 and change
"WHERE Channels.Name NOT LIKE '%Sling%' AND Channels.Hidden = 0 ORDER BY Channels.Name asc"
TO
"WHERE Channels.Name NOT LIKE '%Sling%' AND Channels.Hidden = 0 ORDER BY Channels.Name asc, Channels.Last_Update asc"
Reply


Messages In This Thread
Sling - by d21spike - 2020-01-17, 19:30
RE: Sling - by d21spike - 2020-01-18, 15:48
RE: Sling - by mxlance - 2020-01-18, 16:52
RE: Sling - by d21spike - 2020-01-19, 04:41
Sling - by MoreBloodWine - 2020-01-18, 17:07
RE: Sling - by eracknaphobia - 2020-01-18, 21:27
Sling - by MoreBloodWine - 2020-01-18, 21:30
RE: Sling - by usphil - 2020-01-18, 22:26
RE: Sling - by eracknaphobia - 2020-01-19, 01:33
Sling - by MoreBloodWine - 2020-01-19, 04:44
RE: Sling - by bzellinger - 2020-01-19, 14:29
RE: Sling - by d21spike - 2020-01-19, 15:19
RE: Sling - by d21spike - 2020-01-20, 20:04
RE: Sling - by bds3151 - 2020-01-20, 07:53
RE: Sling - by eracknaphobia - 2020-01-20, 15:35
RE: Sling - by bds3151 - 2020-01-20, 17:22
RE: Sling - by clones - 2020-01-29, 01:33
RE: Sling - by d21spike - 2020-01-29, 02:13
RE: Sling - by MoreBloodWine - 2020-01-20, 20:06
RE: Sling - by d21spike - 2020-01-20, 20:17
Sling - by MoreBloodWine - 2020-01-20, 20:27
RE: Sling - by mxlance - 2020-01-20, 23:12
RE: Sling - by eracknaphobia - 2020-01-20, 23:15
RE: Sling - by mxlance - 2020-01-20, 23:27
RE: Sling - by Penbrock - 2020-01-21, 05:49
RE: Sling - by Penbrock - 2020-01-22, 01:26
RE: Sling - by MoreBloodWine - 2020-01-21, 06:34
RE: Sling - by d21spike - 2020-01-21, 17:50
RE: Sling - by mxlance - 2020-01-21, 14:53
RE: Sling - by mxlance - 2020-01-21, 20:56
Sling - by MoreBloodWine - 2020-01-21, 23:26
RE: Sling - by hackthis02 - 2020-01-23, 07:11
RE: Sling - by d21spike - 2020-01-23, 13:13
RE: Sling - by hackthis02 - 2020-01-23, 16:28
RE: Sling - by d21spike - 2020-01-24, 22:53
RE: Sling - by bds3151 - 2020-01-24, 23:38
RE: Sling - by bds3151 - 2020-01-27, 04:26
RE: Sling - by bds3151 - 2020-01-27, 20:33
RE: Sling Buffering - by bds3151 - 2020-01-24, 22:09
RE: Sling Buffering - by bds3151 - 2020-01-24, 23:15
RE: Sling Buffering - by d21spike - 2020-01-28, 16:33
RE: Sling Buffering - by clones - 2020-01-28, 17:01
RE: Sling Buffering - by d21spike - 2020-01-28, 17:35
RE: Sling Buffering - by clones - 2020-01-29, 02:56
RE: Sling Buffering - by d21spike - 2020-01-29, 04:05
RE: Sling Buffering - by clones - 2020-01-29, 15:03
RE: Sling Buffering - by d21spike - 2020-01-29, 15:16
RE: Sling Buffering - by clones - 2020-01-29, 15:59
RE: Sling Buffering - by d21spike - 2020-01-29, 20:11
RE: Sling Buffering - by bds3151 - 2020-01-29, 20:55
RE: Sling Buffering - by bds3151 - 2020-01-29, 21:27
RE: Sling Buffering - by d21spike - 2020-02-03, 17:44
RE: Sling Buffering - by hackthis02 - 2020-02-03, 18:44
RE: Sling Buffering - by d21spike - 2020-02-03, 19:51
RE: Sling Buffering - by bds3151 - 2020-02-05, 17:51
RE: Sling Buffering - by d21spike - 2020-02-05, 22:47
RE: Sling Buffering - by clones - 2020-01-29, 21:33
RE: Sling Buffering - by clones - 2020-01-31, 14:57
RE: Sling Buffering - by bds3151 - 2020-01-28, 20:05
RE: Sling Buffering - by d21spike - 2020-01-28, 20:32
RE: Sling Buffering - by bds3151 - 2020-01-29, 18:18
RE: Sling - by mxlance - 2020-01-25, 18:09
RE: Sling - by clones - 2020-01-26, 02:45
RE: Sling - by clones - 2020-01-26, 20:37
RE: Sling - by clones - 2020-01-26, 22:58
RE: Sling - by mxlance - 2020-01-28, 14:32
RE: Sling - by clones - 2020-01-28, 17:21
RE: Sling - by mxlance - 2020-01-28, 17:47
RE: Sling - by DarrenHill - 2020-01-29, 21:24
RE: Sling - by hackthis02 - 2020-01-30, 05:37
RE: Sling - by hackthis02 - 2020-01-30, 19:14
RE: Sling - by Shaboobala - 2020-01-31, 00:31
RE: Sling - by mxlance - 2020-01-31, 17:55
RE: Sling - by Penbrock - 2020-02-01, 15:30
RE: Sling - by mxlance - 2020-02-01, 15:45
RE: Sling - by d21spike - 2020-02-01, 16:05
RE: Sling - by clones - 2020-02-02, 01:10
RE: Sling - by mxlance - 2020-02-01, 20:11
RE: Sling - by mxlance - 2020-02-02, 03:45
RE: Sling - by clones - 2020-02-02, 06:24
RE: Sling - by emveepee - 2020-02-02, 07:02
RE: Sling - by clones - 2020-02-02, 08:01
RE: Sling - by clones - 2020-02-02, 19:38
RE: Sling - by clones - 2020-02-03, 23:04
RE: Sling - by d21spike - 2020-02-04, 14:45
RE: Sling - by lhassell - 2020-02-14, 23:56
RE: Sling - by emveepee - 2020-02-02, 17:58
RE: Sling - by clones - 2020-02-02, 20:08
RE: Sling - by hackthis02 - 2020-02-03, 06:14
RE: Sling - by mxlance - 2020-02-03, 06:23
RE: Sling - by mxlance - 2020-02-03, 19:01
RE: Sling - by hackthis02 - 2020-02-03, 19:07
RE: Sling - by mxlance - 2020-02-03, 19:19
RE: Sling - by mxlance - 2020-02-03, 20:03
RE: Sling - by d21spike - 2020-02-03, 20:08
RE: Sling - by mxlance - 2020-02-03, 20:39
RE: Sling - by hackthis02 - 2020-02-04, 02:08
RE: Sling - by Smallmountains - 2020-02-04, 04:49
RE: Sling - by lhassell - 2020-02-04, 07:35
RE: Sling - by clones - 2020-02-06, 17:49
RE: Sling - by d21spike - 2020-02-06, 21:00
RE: Sling - by bds3151 - 2020-02-07, 21:14
RE: Sling - by d21spike - 2020-02-08, 04:38
RE: Sling - by bds3151 - 2020-02-08, 05:04
RE: Sling - by d21spike - 2020-02-08, 05:20
RE: Sling - by bds3151 - 2020-02-08, 06:00
RE: Sling - by d21spike - 2020-02-08, 06:05
RE: Sling - by bds3151 - 2020-02-08, 06:18
RE: Sling - by d21spike - 2020-02-08, 06:33
RE: Sling - by bds3151 - 2020-02-08, 06:53
RE: Sling - by bds3151 - 2020-02-08, 07:06
RE: Sling - by snoopyjoe - 2020-02-08, 08:53
Sling - by DarrenHill - 2020-02-08, 10:10
RE: Sling - by bds3151 - 2020-02-08, 15:08
RE: Sling - by DarrenHill - 2020-02-08, 16:40
RE: Sling - by bds3151 - 2020-02-09, 05:10
RE: Sling - by markeymark - 2020-02-09, 22:05
RE: Sling - by clones - 2020-02-10, 02:56
RE: Sling - by d21spike - 2020-02-10, 14:57
RE: Sling - by markeymark - 2020-02-11, 18:20
RE: Sling - by Doctor Eggs - 2020-02-10, 21:53
RE: Sling - by d21spike - 2020-02-10, 22:15
RE: Sling - by Doctor Eggs - 2020-02-11, 04:50
RE: Sling - by d21spike - 2020-02-11, 17:28
RE: Sling - by Doctor Eggs - 2020-02-11, 18:31
RE: Sling - by d21spike - 2020-02-11, 19:30
RE: Sling - by Doctor Eggs - 2020-02-11, 20:46
RE: Sling - by d21spike - 2020-02-11, 21:47
RE: Sling - by Doctor Eggs - 2020-02-11, 22:54
RE: Sling - by Doctor Eggs - 2020-02-12, 04:59
RE: Sling - by snoopyjoe - 2020-02-12, 07:52
RE: Sling - by d21spike - 2020-02-21, 15:22
RE: Sling - by RM4ever - 2020-02-21, 17:52
RE: Sling - by d21spike - 2020-02-21, 18:04
RE: Sling - by clones - 2020-02-13, 15:42
RE: Sling - by clones - 2020-02-14, 22:56
RE: Sling - by z419 - 2020-02-18, 19:10
RE: Sling - by hackthis02 - 2020-04-09, 21:06
RE: Sling - by RM4ever - 2020-02-21, 05:34
RE: Sling - by d21spike - 2020-02-21, 21:02
RE: Sling - by RM4ever - 2020-02-22, 22:11
RE: Sling - by d21spike - 2020-02-24, 17:40
RE: Sling - by Nitzkit - 2020-02-24, 00:44
RE: Sling - by Nitzkit - 2020-02-24, 02:16
Re:Sling - by Smallmountains - 2020-02-25, 03:08
RE: Sling - by d21spike - 2020-02-25, 15:04
RE: Sling - by clones - 2020-02-25, 17:57
RE: Sling - by d21spike - 2020-02-26, 04:07
RE: Sling - by mxlance - 2020-02-25, 18:32
RE: Sling - by d21spike - 2020-02-26, 04:02
RE: Sling - by Doctor Eggs - 2020-02-26, 01:22
RE: Sling - by d21spike - 2020-02-26, 01:33
RE: Sling - by Doctor Eggs - 2020-02-26, 06:10
RE: Sling - by d21spike - 2020-02-26, 14:25
RE: Sling - by snoopyjoe - 2020-02-27, 01:39
RE: Sling - by snoopyjoe - 2020-03-02, 05:12
RE: Sling - by d21spike - 2020-03-09, 13:25
RE: Sling - by d21spike - 2020-03-12, 20:01
RE: Sling - by Penbrock - 2020-03-14, 18:31
RE: Sling - by Penbrock - 2020-03-07, 13:40
RE: Sling - by Doctor Eggs - 2020-03-12, 20:52
RE: Sling - by d21spike - 2020-03-12, 21:11
RE: Sling - by d21spike - 2020-03-12, 21:28
RE: Sling - by snoopyjoe - 2020-03-12, 21:16
RE: Sling - by snoopyjoe - 2020-03-12, 21:48
RE: Sling - by Doctor Eggs - 2020-03-13, 15:11
RE: Sling - by usphil - 2020-03-13, 18:02
RE: Sling - by d21spike - 2020-03-16, 19:27
RE: Sling - by Doctor Eggs - 2020-03-17, 13:17
RE: Sling - by d21spike - 2020-03-17, 13:33
RE: Sling - by usphil - 2020-03-18, 00:34
RE: Sling - by usphil - 2020-03-15, 20:08
RE: Sling - by hackthis02 - 2020-03-19, 20:38
RE: Sling - by d21spike - 2020-03-19, 20:54
RE: Sling - by hackthis02 - 2020-03-19, 23:07
RE: Sling - by d21spike - 2020-03-20, 13:28
RE: Sling - by hackthis02 - 2020-03-25, 08:59
RE: Sling - by d21spike - 2020-03-25, 15:21
RE: Sling - by clones - 2020-03-26, 01:28
RE: Sling - by mikefreeman - 2020-03-27, 21:25
RE: Sling - by clones - 2020-03-28, 17:59
RE: Sling - by d21spike - 2020-04-09, 17:26
RE: Sling - by snoopyjoe - 2020-04-10, 21:57
RE: Sling - by d21spike - 2020-03-26, 14:11
RE: Sling - by snoopyjoe - 2020-04-05, 00:38
RE: Sling - by Penbrock - 2020-04-05, 01:48
RE: Sling - by cimbor - 2020-04-06, 05:20
RE: Sling - by cimbor - 2020-04-12, 05:22
Sling - by MoreBloodWine - 2020-04-12, 06:33
RE: Sling - by Doctor Eggs - 2020-04-13, 15:01
RE: Sling - by rifken - 2020-05-05, 02:03
RE: Sling - by markeymark - 2020-05-05, 14:43
RE: Sling - by rifken - 2020-05-05, 18:57
RE: Sling - by markeymark - 2020-05-05, 20:57
RE: Sling - by lasers - 2020-07-14, 00:06
RE: Sling - by markeymark - 2020-05-05, 14:44
RE: Sling - by snoopyjoe - 2020-05-05, 19:40
RE: Sling - by lasers - 2020-07-13, 23:22
RE: Sling - by rifken - 2020-05-06, 00:36
RE: Sling - by rifken - 2020-05-06, 00:37
RE: Sling - by mikefreeman - 2020-05-09, 08:03
RE: Sling - by JSAKelley - 2020-06-23, 03:35
RE: Sling - by Doctor Eggs - 2020-06-23, 03:41
RE: Sling - by clones - 2020-07-01, 00:31
RE: Sling - by Alizarin - 2020-06-27, 23:24
RE: Sling - by mxlance - 2020-07-01, 15:29
Sling- Auto Start Channel? - by lasakro - 2020-07-01, 22:58
RE: Sling - by feerlessleadr - 2020-07-11, 15:03
RE: Sling - by lasers - 2020-07-12, 20:23
RE: Sling - by lasers - 2020-07-12, 23:08
RE: Sling - by feerlessleadr - 2020-07-12, 23:55
RE: Sling - by lasers - 2020-07-13, 23:34
RE: Sling - by snoopyjoe - 2020-07-15, 19:28
RE: Sling - by lasers - 2020-07-16, 21:33
RE: Sling - by lasers - 2020-07-16, 21:35
RE: Sling - by feerlessleadr - 2020-07-16, 23:30
RE: Sling - by lasers - 2020-07-17, 14:40
RE: Sling - by feerlessleadr - 2020-07-17, 20:20
RE: Sling - by markeymark - 2020-07-14, 11:26
RE: Sling - by hackthis02 - 2020-07-14, 18:33
RE: Sling - by siegel177 - 2020-08-09, 18:54
RE: Sling - by DarrenHill - 2020-07-16, 22:40
RE: Sling - by lasers - 2020-07-27, 15:23
RE: Sling - by lhassell - 2020-07-31, 19:15
RE: Sling - by lhassell - 2020-07-31, 19:23
RE: Sling - by lhassell - 2020-08-07, 18:58
RE: Sling - by lhassell - 2020-08-11, 01:07
RE: Sling - by Doctor Eggs - 2020-08-11, 13:43
RE: Sling - by lhassell - 2020-08-12, 03:20
RE: Sling - by lasers - 2020-08-12, 15:38
RE: Sling - by bzellinger - 2020-08-31, 02:35
RE: Sling - by bzellinger - 2020-09-09, 16:00
RE: Sling - by Doctor Eggs - 2020-08-17, 16:02
RE: Sling - by usphil - 2020-08-20, 07:34
RE: Sling - by Alizarin - 2020-08-23, 00:24
RE: Sling - by Alizarin - 2020-09-07, 01:03
RE: Sling - by hackthis02 - 2020-08-20, 06:38
RE: Sling - by Alizarin - 2020-08-23, 01:16
RE: Sling - by usphil - 2020-09-10, 06:42
RE: Sling - by Doctor Eggs - 2020-09-10, 21:25
RE: Sling - by snoopyjoe - 2020-09-11, 21:59
RE: Sling - by Alizarin - 2020-09-14, 02:46
RE: Sling - by randallspicher - 2020-09-14, 22:53


Logout Mark Read Team Forum Stats Members Help
Sling0
This forum uses Lukasz Tkacz MyBB addons.