2020-04-10, 21:57
(2020-04-09, 17:26)d21spike Wrote: I did see your pull request and I have in the past experimented with delays. I'm not ignoring it but I'd like to see some community feedback on this. Currently I have the PVR toggle removed due to issues with multiple PVR clients. I'll also mention, you are toggling the PVR off and then on 1 second later. Previously when I had the add-on do this after the guide data was downloaded, if the user was using the Guide and/or playing something from the guide this sometimes resulted in Kodi crashes and this was abandoned.I may go ahead and close that PR because just like you mentioned if the user is watching live TV and the PVR turns off, the best case is that the live video stops. Worse case is Kodi crashes and reboots. I also notice that the continues to toggle the PVR every 30-60min no matter where put I the toggle. Even placing it in service.py before calling Slinger() made no difference.
In the end I opted to make a simple addon that I can map to my remote that toggles the PVR. I may beef it up a little and make it a service that monitors the updateguide() function before toggling. If I do, I'll post to my Git repo.