Unofficial Kodi HDHomeRun DVR PVR Client

Kodi Community Development

Moderator: TVJunkie198

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Sat May 11, 2019 8:33 pm

Still looking into this, again it's hard without having the exact same problem. However, I did find something unexpected. The SQLite JSON parser I'm using accepts the string "null" as valid (turns out it is), but when used like a table, instead of no rows which I what I expected, it returns one row with a single NULL value.

It may not be relevant, but almost every SQL query in this code relies upon treating JSON data like a table. One of my backlog items is to replace my generic HTTP request database function with a JSON specific one that runs the data through a different parser (rapidJSON) first before returning it, and I want it to automatically retry a failed JSON request at least one time.

Let me know if things improve for you with the subscription fixed!
Opened a support ticket with S.D. after I made payment and the DVR was still not showing up. There is an issue with the unRAID container I'm running it in apparently. So, I guess I'm S.O.L. with the DVR stuff until someone fixes the docker container.... I certainly don't have the technical know-how to fix it. I can't do any further testing on your plug-in if I can't get the DVR to work. :(
Sorry to hear that. I wish I could help but I've quite honestly never used a docker container a single time in my entire life. I suppose that reveals just how ancient I happen to be :mrgreen:

obliojoe
Posts: 14
Joined: Fri Jul 20, 2018 1:57 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby obliojoe » Sun May 12, 2019 9:20 am

I am finding that any changes I make to the channels in my HDHomeRun back end (removing channels or adding/removing them from favorites by clicking the stars) do not propagate to the PVR in Kodi. I've tried using the "Clear Data" option, but after the channel re-scan, the favorites are not updated. Any channels I have removed from the back end still show up in the guide, but their program data is missing. If I uninstall the PVR addon and re-install it, then everything comes across again.

Is there something else I can try short of re-installing? Thanks!

john

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Sun May 12, 2019 9:30 am

Best thing you can do is restart Kodi. I submitted a code change to them for Leia 18.3 that resolves most of the problems.

Restarting Kodi is the only way to get it to fully recognize new channels. Leia specifically has some EPG bugs along those lines as well.

All the changes are in the latest Kodi nighties (Leia branch, master branch is v19), if you want to use their latest.

obliojoe
Posts: 14
Joined: Fri Jul 20, 2018 1:57 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby obliojoe » Sun May 12, 2019 9:32 am

Best thing you can do is restart Kodi.
That did it. I didn't even think to try just restarting, duh. Thanks so much!

usafle
Posts: 43
Joined: Sun Sep 17, 2017 5:51 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby usafle » Mon May 13, 2019 11:26 am

Sorry to hear that. I wish I could help but I've quite honestly never used a docker container a single time in my entire life. I suppose that reveals just how ancient I happen to be :mrgreen:
I've never used a docker either, just trying to teach myself a new OS (unRaid). So the docker author came back from the dead and updated the container for the DVR. Everything is working now as it should. Even your plug-in LoL!

Rickt1962
Posts: 131
Joined: Tue Dec 01, 2015 2:17 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby Rickt1962 » Mon May 13, 2019 12:55 pm

Any recommendation for NUC box with LibreElec 18.2 ?
Zoltan does not work

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Mon May 13, 2019 4:44 pm

Any recommendation for NUC box with LibreElec 18.2 ?
Zoltan does not work
I have a cheap NUC5CPYH running LibreELEC. It only does 1080p, and the black levels required adjustment on the TV (crushed by default), but it works fine.

This box couldn't run Windows 10 well at all but no problems with Libre. The I/O subsystem is really slow, things like Windows Defender and simple Windows Updates were too much for it.

I would think the lower end NUC6 and NUC7 boxes would smoke LibreELEC if this turd can handle it

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Mon May 13, 2019 6:28 pm

Sorry to hear that. I wish I could help but I've quite honestly never used a docker container a single time in my entire life. I suppose that reveals just how ancient I happen to be :mrgreen:
I've never used a docker either, just trying to teach myself a new OS (unRaid). So the docker author came back from the dead and updated the container for the DVR. Everything is working now as it should. Even your plug-in LoL!
I'm very glad to hear that, I had absolutely nothing on this end for ya. Enjoy, let me know if/when you run into other difficulties!!

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Sun May 19, 2019 8:47 pm

Looks like there is a breaking change in the latest DVR (RECORD engine) software:

viewtopic.php?f=125&t=71542

Suggest to those watching this thread not to upgrade your RECORD engine(s) until the PVR can be adapted to accommodate this change. I apologize for any inconvenience. I will try to get out an update in the next couple days to deal with this.

Thanks!!

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Mon May 20, 2019 9:32 pm

Because change is inevitable. v2.1.0 backlog items have been tabled to deal with a more pressing matter....

Version 2.0.3 (2019.05.20)
  • Adapt to HDHomeRun RECORD engine 20190516beta2 breaking changes
  • Use HTTP POST method when setting tuner channel visibility flags
Downloads:
Kodi 16 "Jarvis" : https://github.com/djp952/pvr.hdhomerun ... odi-Jarvis
Kodi 17 "Krypton" : https://github.com/djp952/pvr.hdhomerun ... di-Krypton
Kodi 18 "Leia" : https://github.com/djp952/pvr.hdhomerun ... -Kodi-Leia

Release History:
https://github.com/djp952/pvr.hdhomerun ... se-History

This release only deals with breaking changes made to HDHomeRun RECORD engine, version 20190516beta1 or newer. The engine was changed so that it will only accept HTTP POST queries for certain operations, this release provides the necessary changes to handle that.

Specific PVR operations that will fail after update to RECORD engine 20190516beta2 (or newer) if the PVR add-on is not updated:
  • Deleting a Recording
  • Setting the "Last Played Position" of a Recording
  • "Poking" the RECORD engine to tell it that the backend Recording Rules have been modified
Also of note is that I removed v1.3.13 from the available auto-updates (Leia) as it has now been rendered obsolete and non-functional. If there is anyone still using v1.3.13 and would like an update for that to v1.3.14 to deal with this issue, please let me know. The changes were not prohibitive and can be back-ported to that baseline as necessary. Leia auto-update is now limited to just v2.0.3 and v2.0.2.

Now that I am up to release 20190516beta2 here as well, I will set up a second HDHomeRun RECORD engine. move some Recordings over to it, and ensure that the PVR works as expected when multiple RECORD engines are available. It *should* since it was designed to handle this, but you never know for certain until you try!

Enjoy!


Return to “Kodi Community Development”

Who is online

Users browsing this forum: No registered users and 1 guest