So gang, I've been working on the next release (will be v1.4.0 due to a database change) and wanted to let you know where things are and hopefully get some feedback as well. I think I will request this thread be locked out and start a new one at that time as well, 70+ pages is unmanageable for new users to navigate.
First off, thanks to your help it looks like we may get our resolution for audio-only streams in Kodi 18.2. Team Kodi has accepted a PR I put in and a wonderful gentleman that goes by @emveepee has also been working on this with Kodi in conjunction with the NextPVR addon and some problems he's also discovered in this regard. Fingers crossed.
The main "new" thing for v1.4 will be discovery enhancements. Primarily I've been reworking how to deal with the device authorization strings as well as reducing the number of times the PVR will go out asking for information that's almost always the same (every hour instead of every 5 minutes, for example). Thanks to some help from SD (and signcarver!) I have a way to know if any given device is authorized for DVR services now, which will allow me to block out operations that will never work, mainly working with the Recording Rules. My idea there is to not mess with things too much, but if you try to do something that can't work you'll get a popup along the lines of "HDHomeRun DVR Subscription Required". I could get really crazy with this but I don't think it's necessary. Just letting you know that either A) you don't have a subscription or B) there is something wrong with your subscription should be enough? The discovered device IDs and their DVR authorization will be logged now as well.
Stuff I'm on the fence about but kicking around are:
- Clear all device authorization codes at startup. To help users with transient network issues I don't clear/reset the device information if no devices were found. The problem here is that if it's been more than 24 hours, the stored device authorization code(s) won't work anymore, so accessing the backend will just fail. My idea is that by clearing the codes at startup I can prevent backend queries from occurring until the devices are properly refreshed, but you can still use your Live and Recorded TV based on the cached data. For 99% of everyone there would be no difference at all, it's the 1% of you that I worry about. I think if I do this I need to send device discovery into a tighter loop, like retry every minute or something until it works.
- Remove some lesser used or unused options. I'm looking at the DVR stream tuning parameters specifically here. Does anyone actually change those? If so why? In practice they make little to no difference unless you make them too small and break stuff
There's more of course, but then again there always is. I can't think of anything else I might do in this cycle that could negatively affect anyone, but if more comes up I'll run it by you.
Skyecairns: I'm going to add a temporary feature to grab and log all the "Filter" strings I get from the EPG and keep an eye out for more that aren't accommodated yet
