2023-11-26, 16:53
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.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
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