Kodi Community Forum
Beta Sling - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Beta Sling (/showthread.php?tid=351048)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


RE: Sling - Smallmountains - 2023-11-23

Looks like Sling is adding support for multi-profiles.  The addon will need to add this support in order to continue operation.


RE: Sling - Doctor Eggs - 2023-11-26

I noticed some weirdness but I'm not using the add-on to watch TV. I import Sling into IPTV Simple and use Kodi's PVR to watch Sling. For me, the EPG wasn't working.

When I went to the add-on I was getting errors when I try to open Channels and found that the JSON would sometimes show success in getting it but then return an error when the add-on tried to parse it. If you put try/catches around when it goes to parse the JSON, I got it to work. It'll mean that a small portion of the channels may not load but at least it completes it's process to get the channels.

Not sure about the log-on issue and since I am already logged in I am nervous about logging out. I may try to figure it out on another computer to see if I can figure it out. Although this update below may take care of the issue.

Here are the changes I made to the resources/lib/classes/channel.py:
https://github.com/Doctor-Eggs/plugin.video.sling/blob/master/resources/lib/classes/channel.py

I would just copy that code into the same file for the Sling add-on as I'm not sure all of my code matches what @d21spike has currently


RE: Sling - snoopyjoe - 2023-11-27

(2023-11-26, 16:53)Doctor Eggs Wrote: I noticed some weirdness but I'm not using the add-on to watch TV. I import Sling into IPTV Simple and use Kodi's PVR to watch Sling. For me, the EPG wasn't working.

When I went to the add-on I was getting errors when I try to open Channels and found that the JSON would sometimes show success in getting it but then return an error when the add-on tried to parse it. If you put try/catches around when it goes to parse the JSON, I got it to work. It'll mean that a small portion of the channels may not load but at least it completes it's process to get the channels.

Not sure about the log-on issue and since I am already logged in I am nervous about logging out. I may try to figure it out on another computer to see if I can figure it out. Although this update below may take care of the issue.

Here are the changes I made to the resources/lib/classes/channel.py:
https://github.com/Doctor-Eggs/plugin.video.sling/blob/master/resources/lib/classes/channel.py

I would just copy that code into the same file for the Sling add-on as I'm not sure all of my code matches what @d21spike has currently
Thanks for finding this out @DoctorEggs. I started looking at channels.py after the onDemand(self) block was giving errors, but my Emby server started acting up and I got distracted. I figured since Sling has been adding so many new and temporary channels, that it must be causing JSON issues. The issue might resolve itself if/when Sling removes the channels, but this is a great place holding solution.


RE: Sling - Smallmountains - 2023-11-28

I don't think this will resolve on its own.  The addon will need to be modified to handle the selection of the profile sling requires now.  It won't even go get guide info with out it now.


RE: Sling - Doctor Eggs - 2023-11-28

IDK. I'm getting guide data with the change above in IPTV Simple. I am randomly missing some channels but I'm hoping that that works itself out the next time IPTV Merge runs.


RE: Sling - Smallmountains - 2023-11-28

I'm getting no guide info.  I also use IPTV simple.  Everytime it tries to do anything, I get a Sling error.  Looking at the log, it stops at Username and password.  I guess if you don't log out at all, you might still be working but I removed slingtv and reinstalled it and I can't get anything anymore.  When you go to Sling using a browser, it makes you choose a profile before you can get anything, no guide, nothing.


RE: Sling - snoopyjoe - 2023-11-28

I haven't logged out any of my Kodi devices so the profile issue might not be fixed with the @DoctorEggs channel.py fix. It should fix "Channels" loading and allow IPTV Merge and/or IPTV Simple to load guide data again. I can confirm that all my channels are loading but some of the guide data is still slowly trickling in.


RE: Sling - Doctor Eggs - 2023-11-28

(2023-11-28, 01:43)Smallmountains Wrote: I'm getting no guide info.  I also use IPTV simple.  Everytime it tries to do anything, I get a Sling error.  Looking at the log, it stops at Username and password.  I guess if you don't log out at all, you might still be working but I removed slingtv and reinstalled it and I can't get anything anymore.  When you go to Sling using a browser, it makes you choose a profile before you can get anything, no guide, nothing.
I'm looking into it but it may take some time. I was able to take a Sling settings.xml file that I know works and paste it into the one that didn't work and got it to work successfully. Not sure if you have a backup settings.xml file somewhere but you could try that.


RE: Sling - bds3151 - 2023-12-06

Dr. Eggs, if you don't log out from Sling, or have an entirely new installation, the logon works fine. It will fail every time after you log out from Sling TV.


RE: Sling - Big_Chubbz - 2023-12-18

Is this add-on still being supported?  I followed the setup instructions. I tried to use the IOFault Repo, but got a 404 error.  So I tried downloading the zip and installing locally from my PC.  The install went fine, but after entering my login credentials, I got an error.

Here is the log.

Here's some basic system info.
Quote:2023-12-17 17:58:32.814 T:19400    INFO <general>: -----------------------------------------------------------------------
2023-12-17 17:58:32.814 T:19400    INFO <general>: Starting Kodi (19.4 (19.4.0) Git:20220302-e12e66e019). Platform: Windows NT x86 64-bit
2023-12-17 17:58:32.814 T:19400    INFO <general>: Using Release Kodi x64
2023-12-17 17:58:32.814 T:19400    INFO <general>: Kodi compiled 2022-03-03 by MSVC 191627045 for Windows NT x86 64-bit version 10.0 (0x0A000007)
2023-12-17 17:58:32.814 T:19400    INFO <general>: Running on Windows 11 22H2, kernel: Windows NT x86 64-bit version 10.0.22621.2861
2023-12-17 17:58:32.814 T:19400    INFO <general>: FFmpeg version/source: 4.3.2-Kodi
2023-12-17 17:58:32.814 T:19400    INFO <general>: Host CPU: 12th Gen Intel® Core™ i7-12700K, 20 cores available
2023-12-17 17:58:32.815 T:19400    INFO <general>: System has 64.0 GB of RAM installed
2023-12-17 17:58:32.815 T:19400    INFO <general>: Desktop Resolution: 3840x2160 32Bit at 59Hz
2023-12-17 17:58:32.815 T:19400    INFO <general>: Running with administrator rights
2023-12-17 17:58:32.815 T:19400    INFO <general>: Aero is enabled
2023-12-17 17:58:32.815 T:19400    INFO <general>: Display HDR capable is detected and Windows HDR switch is OFF
2023-12-17 17:58:32.815 T:19400    INFO <general>: special://xbmc/ is mapped to: C:\Program Files\Kodi
Thanks!


RE: Sling - Big_Chubbz - 2023-12-18

Forgive my ineptitude. I couldn't figure out how to edit my post, so I'm replying to myself.

Here is the WHOLE LOG.


RE: Sling - Smallmountains - 2023-12-31

I don't think anyone is actively working on this addon anymore.  If they are, they have not seen the problem because they have not installed the addon afresh nor have they logged out and tried to use it after logging back in.  All the sling apps on my other devices, Smart TV, Smart BD Player all require an additional step of a profile selection before getting into the app.  The web site also requires this.  There is an added "don't ask me again" box added to the login process but the Kodi Sling addon has no such thing, making it useless.  It might be possible to use a browser to do an initial login, check the "don't ask me again" box so they might possibly recognize the device. I use a box running LibreElec that has no browser available for it so that's out.  The addon needs an additional info defining default profile and the ability to select said profile when accessing Sling.  

Bottom line is unless the developers actually see the problem, the addon is dead.

Time to look for another TV provider addon.


RE: Sling - markeymark - 2023-12-31

(2023-12-31, 05:11)Smallmountains Wrote: I don't think anyone is actively working on this addon anymore.  If they are, they have not seen the problem because they have not installed the addon afresh nor have they logged out and tried to use it after logging back in.  All the sling apps on my other devices, Smart TV, Smart BD Player all require an additional step of a profile selection before getting into the app.  The web site also requires this.  There is an added "don't ask me again" box added to the login process but the Kodi Sling addon has no such thing, making it useless.  It might be possible to use a browser to do an initial login, check the "don't ask me again" box so they might possibly recognize the device. I use a box running LibreElec that has no browser available for it so that's out.  The addon needs an additional info defining default profile and the ability to select said profile when accessing Sling.  

Bottom line is unless the developers actually see the problem, the addon is dead.

Time to look for another TV provider addon.
I use my SlingTV account with Stremium add on now..........only issue is no VOD, just live channels, but better than nothing


RE: Sling - eracknaphobia - 2024-01-06

I've made a fix for the login issue. Please test and let me know, then I'll push the changes upstream.

https://github.com/eracknaphobia/plugin.video.sling/releases/tag/v2024.01.05

Issue discussion:
https://github.com/d21spike/plugin.video.sling/issues/56#issuecomment-1878050140


RE: Sling - Smallmountains - 2024-01-06

This seems to have sort of worked.  I no longer get an error when launching the slingtv addon but there's no content.  I get the main menu but I don't get anything under any menu item except My TV.  Then I get a menu, I get a single screen of channels, not even close to all the channels, no content under most of the rest.  Any menu item that shows content, will only show one page, about 19 items, no more.

I (basically started over) nuked the PVT/LiveTV databases, reinstalled the slingtv addon, put in my creds, tell it to use the slinger service etc, use the defaults, tell it to go update the channels.  It shows progress. Then I tell it to grab the guide info, it shows progress and when it's done, No guide info gets added to the EPG.  

What a mess.