2023-11-23, 17:26
Looks like Sling is adding support for multi-profiles. The addon will need to add this support in order to continue operation.
(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.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.
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.vi...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
(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.
Quote:2023-12-17 17:58:32.814 T:19400 INFO <general>: -----------------------------------------------------------------------Thanks!
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
(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.I use my SlingTV account with Stremium add on now..........only issue is no VOD, just live channels, but better than nothing
Bottom line is unless the developers actually see the problem, the addon is dead.
Time to look for another TV provider addon.